public static class AbstractVectorTest.MutVect extends AbstractVector
| Constructor and Description |
|---|
AbstractVectorTest.MutVect() |
| Modifier and Type | Method and Description |
|---|---|
int |
numDimensions()
Returns the number of dimensions of this vector.
|
void |
setValue(int i,
double v)
Throws an unsupported operation exception.
|
double |
value(int i)
The value of this vector for the specified dimension.
|
add, cosine, dotProduct, equals, hashCode, increment, length, nonZeroDimensionspublic int numDimensions()
AbstractVectorAbstractVector.value(int).numDimensions in interface VectornumDimensions in class AbstractVectorpublic double value(int i)
AbstractVectorAbstractVector.numDimensions().value in interface Vectorvalue in class AbstractVectori - Dimension whose value is returned.public void setValue(int i,
double v)
AbstractVectorsetValue in interface VectorsetValue in class AbstractVectori - Ignored.v - Ignored.Copyright © 2016 Alias-i, Inc.. All rights reserved.