Class ReadOnlySparseVector.SparseRandomAccessVector
- java.lang.Object
-
- com.qfs.vector.impl.AVector
-
- com.qfs.vector.impl.AReadOnlyVector
-
- com.qfs.vector.impl.ADelegateReadOnlyVector
-
- com.activeviam.risk.core.vector.impl.ReadOnlySparseVector
-
- com.activeviam.risk.core.vector.impl.ReadOnlySparseVector.SparseRandomAccessVector
-
- All Implemented Interfaces:
com.qfs.chunk.IArray
,com.qfs.chunk.IArrayReader
,com.qfs.chunk.IArrayWriter
,com.qfs.chunk.IWritableArray
,com.qfs.monitoring.memory.IMemoryMonitored
,com.qfs.vector.IDelegateVector
,com.qfs.vector.IRandomAccessVector
,com.qfs.vector.IReleasableVector
,com.qfs.vector.IVector
,Serializable
- Enclosing class:
- ReadOnlySparseVector
protected static class ReadOnlySparseVector.SparseRandomAccessVector extends ReadOnlySparseVector implements com.qfs.vector.IRandomAccessVector
Random access version of aReadOnlySparseVector
.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.activeviam.risk.core.vector.impl.ReadOnlySparseVector
ReadOnlySparseVector.ReadOnlySparseVectorBinding, ReadOnlySparseVector.SparseRandomAccessVector
-
-
Constructor Summary
Constructors Constructor Description SparseRandomAccessVector(com.qfs.vector.IRandomAccessVector underlying)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.qfs.vector.IRandomAccessVector
subVector(int start, int length)
-
Methods inherited from class com.activeviam.risk.core.vector.impl.ReadOnlySparseVector
average, bottomK, bottomKIndices, copyTo, generateSparseVectorInternalRepresentation, generateSparseVectorInternalRepresentation, getBindingId, getComponentType, getDoubleArray, nearestRank, quantileDouble, quantileIndex, read, readDouble, size, sort, topK, topKIndices, toRandomAccessVector, variance
-
Methods inherited from class com.qfs.vector.impl.ADelegateReadOnlyVector
acquireReference, cloneOnHeap, collect, getMemoryStatistic, getUnderlying, hashCode, releaseReference
-
Methods inherited from class com.qfs.vector.impl.AReadOnlyVector
addDouble, addFloat, addInt, addLong, copyFrom, divide, divide, minus, minusNegativeValues, minusPositiveValues, plus, plusNegativeValues, plusPositiveValues, scale, scale, scale, scale, translate, translate, translate, translate, write, writeBoolean, writeDouble, writeFloat, writeInt, writeLong
-
Methods inherited from class com.qfs.vector.impl.AVector
applyAsDouble, applyAsFloat, applyAsInt, applyAsLong, checkIndex, checkIndex, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyTo, copyTo, copyTo, copyTo, equals, isNull, quantileFloat, quantileInt, quantileLong, readBoolean, readFloat, readInt, readLong, sumDouble, sumFloat, sumInt, sumLong, toArray, toDoubleArray, toFloatArray, toIntArray, toLongArray, toString, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.qfs.chunk.IArrayReader
isNull, read, readBoolean, readDouble, readFloat, readInt, readLong
-
Methods inherited from interface com.qfs.chunk.IArrayWriter
addDouble, addFloat, addInt, addLong, writeBoolean, writeDouble, writeFloat, writeInt, writeLong
-
Methods inherited from interface com.qfs.vector.IReleasableVector
acquireReference, collect, releaseReference
-
Methods inherited from interface com.qfs.vector.IVector
applyAsDouble, applyAsFloat, applyAsInt, applyAsLong, average, bottomK, bottomKIndices, cloneOnHeap, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyFrom, copyTo, copyTo, copyTo, copyTo, copyTo, divide, divide, equals, getBindingId, getComponentType, hashCode, minus, minusNegativeValues, minusPositiveValues, plus, plusNegativeValues, plusPositiveValues, quantileDouble, quantileFloat, quantileIndex, quantileInt, quantileLong, scale, scale, scale, scale, size, sort, sumDouble, sumFloat, sumInt, sumLong, toArray, toDoubleArray, toFloatArray, toIntArray, toLongArray, topK, topKIndices, toRandomAccessVector, translate, translate, translate, translate, variance, write
-
-
-
-
Method Detail
-
subVector
public com.qfs.vector.IRandomAccessVector subVector(int start, int length)
- Specified by:
subVector
in interfacecom.qfs.vector.IRandomAccessVector
- Specified by:
subVector
in interfacecom.qfs.vector.IVector
- Overrides:
subVector
in classReadOnlySparseVector
-
-