类 SparseRealVectorTest
java.lang.Object
org.hipparchus.linear.RealVectorAbstractTest
org.hipparchus.linear.SparseRealVectorTest
OpenMapRealVector
类的测试用例。
-
嵌套类概要
从类继承的嵌套类/接口 org.hipparchus.linear.RealVectorAbstractTest
RealVectorAbstractTest.BinaryOperation, RealVectorAbstractTest.RealVectorTestImpl
-
构造器概要
-
方法概要
修饰符和类型方法说明create
(double[] data) 创建一个新的RealVector
实例,具有指定的条目。protected UnivariateFunction[]
void
void
void
void
void
从类继承的方法 org.hipparchus.linear.RealVectorAbstractTest
createAlien, 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, testEbeMultiplyDimensionMismatch, 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
-
构造器详细资料
-
SparseRealVectorTest
public SparseRealVectorTest()
-
-
方法详细资料
-
create
从类复制的说明:RealVectorAbstractTest
创建一个新的RealVector
实例,具有指定的条目。返回的向量必须是当前测试的类型。应注意,一些测试假定不会在返回的对象中保留对指定的double[]
的引用:如果需要,应进行此数组的防御性复制。- 指定者:
-
create
在类中RealVectorAbstractTest
- 参数:
-
data
- 要创建的向量的条目 - 返回:
-
要测试的类型的新
RealVector
-
testConstructors
public void testConstructors() -
testConcurrentModification
public void testConcurrentModification() -
testEbeMultiplyMixedTypes
public void testEbeMultiplyMixedTypes() -
testEbeMultiplySameType
public void testEbeMultiplySameType() -
testEbeDivideSameType
public void testEbeDivideSameType() -
createFunctions
-