public static class AbstractVectorTest.Vector1 extends AbstractVector
| Constructor and Description |
|---|
AbstractVectorTest.Vector1() |
| Modifier and Type | Method and Description |
|---|---|
int |
numDimensions()
Returns the number of dimensions of this vector.
|
double |
value(int d)
The value of this vector for the specified dimension.
|
add, cosine, dotProduct, equals, hashCode, increment, length, nonZeroDimensions, setValuepublic int numDimensions()
AbstractVectorAbstractVector.value(int).numDimensions in interface VectornumDimensions in class AbstractVectorpublic double value(int d)
AbstractVectorAbstractVector.numDimensions().value in interface Vectorvalue in class AbstractVectord - Dimension whose value is returned.Copyright © 2016 Alias-i, Inc.. All rights reserved.