类 ArrayRealVectorTest
java.lang.Object
org.hipparchus.linear.RealVectorAbstractTest
org.hipparchus.linear.ArrayRealVectorTest
ArrayRealVector
类的测试用例。
-
嵌套类概要
从类继承的嵌套类/接口 org.hipparchus.linear.RealVectorAbstractTest
RealVectorAbstractTest.BinaryOperation, RealVectorAbstractTest.RealVectorTestImpl
-
构造器概要
-
方法概要
从类继承的方法 org.hipparchus.linear.RealVectorAbstractTest
createAlien, createFunctions, doTestEbeBinaryOperation, getPreferredEntryValue, testAddDimensionMismatch, testAddMixedTypes, testAddSameType, testAddToEntry, testAddToEntryInvalidIndex1, testAddToEntryInvalidIndex2, testAppendScalar, testAppendVector, testCombineDimensionMismatchMixedTypes, testCombineDimensionMismatchSameType, testCombineMixedTypes, testCombineSameType, testCombineToSelfDimensionMismatchMixedTypes, testCombineToSelfDimensionMismatchSameType, testCombineToSelfMixedTypes, testCombineToSelfSameType, testCopy, testCosineDimensionMismatch, testCosineLeftNullVector, testCosineMixedTypes, testCosineRightNullVector, testCosineSameType, testDotProductDimensionMismatchMixedTypes, testDotProductDimensionMismatchSameType, testDotProductMixedTypes, testDotProductSameType, testEbeDivideDimensionMismatch, testEbeDivideMixedTypes, testEbeDivideSameType, testEbeMultiplyDimensionMismatch, testEbeMultiplyMixedTypes, testEbeMultiplySameType, testEquals, testGetDimension, testGetDistanceDimensionMismatch, testGetDistanceMixedTypes, testGetDistanceSameType, testGetEntry, testGetEntryInvalidIndex1, testGetEntryInvalidIndex2, testGetL1DistanceDimensionMismatch, testGetL1DistanceMixedTypes, testGetL1DistanceSameType, testGetL1Norm, testGetLInfDistanceDimensionMismatch, testGetLInfDistanceMixedTypes, testGetLInfDistanceSameType, testGetLInfNorm, testGetNorm, testGetSubVector, testGetSubVectorInvalidIndex1, testGetSubVectorInvalidIndex2, testGetSubVectorInvalidIndex3, testGetSubVectorInvalidIndex4, testIsInfinite, testIsNaN, testIterator, testMap, testMapAdd, testMapAddToSelf, testMapDivide, testMapDivideToSelf, testMapMultiply, testMapMultiplyToSelf, testMapSubtract, testMapSubtractToSelf, testMapToSelf, testMinMax, testOuterProductMixedTypes, testOuterProductSameType, testProjectionDimensionMismatch, testProjectionMixedTypes, testProjectionNullVector, testProjectionSameType, testSerial, testSet, testSetEntry, testSetEntryInvalidIndex1, testSetEntryInvalidIndex2, testSetSubVectorInvalidIndex1, testSetSubVectorInvalidIndex2, testSetSubVectorInvalidIndex3, testSetSubVectorMixedType, testSetSubVectorSameType, testSubtractDimensionMismatch, testSubtractMixedTypes, testSubtractSameType, testToArray, testUnitize, testUnitizeNullVector, testUnitVector, testUnitVectorNullVector, testWalkInDefaultOrderChangingVisitor1, testWalkInDefaultOrderChangingVisitor2, testWalkInDefaultOrderChangingVisitor3, testWalkInDefaultOrderPreservingVisitor1, testWalkInDefaultOrderPreservingVisitor2, testWalkInDefaultOrderPreservingVisitor3, testWalkInOptimizedOrderChangingVisitor1, testWalkInOptimizedOrderChangingVisitor2, testWalkInOptimizedOrderChangingVisitor3, testWalkInOptimizedOrderPreservingVisitor1, testWalkInOptimizedOrderPreservingVisitor2, testWalkInOptimizedOrderPreservingVisitor3
-
构造器详细资料
-
ArrayRealVectorTest
public ArrayRealVectorTest()
-
-
方法详细资料
-
create
从类复制的说明:RealVectorAbstractTest
创建一个新的RealVector
实例,具有指定的条目。返回的向量必须是当前测试的类型。应注意,一些测试假定不会在返回的对象中保留对指定的double[]
的引用:如果需要,应进行此数组的防御性复制。- 指定者:
-
create
在类中RealVectorAbstractTest
- 参数:
-
data
- 要创建的向量的条目 - 返回:
-
要测试的类型的新
RealVector
-
testConstructors
public void testConstructors() -
testGetDataRef
public void testGetDataRef() -
testPredicates
public void testPredicates() -
testZeroVectors
public void testZeroVectors()
-