Top Description Constructors Methods
org.apache.commons.math3.linear

public abstract Class SparseRealVector

extends RealVector
Class Inheritance
Known Direct Subclasses
org.apache.commons.math3.linear.OpenMapRealVector

Marker class for RealVectors that require sparse backing storage

Caveat

Implementation are allowed to assume that, for any x, the equality x * 0d == 0d holds. But it is is not true for NaN. Moreover, zero entries will lose their sign. Some operations (that involve NaN and/or infinities) may thus give incorrect results, like multiplications, divisions or functions mapping.

Since
2.0

Constructor Summary

AccessConstructor and Description
public

Method Summary

Inherited from org.apache.commons.math3.linear.RealVector:
addaddToEntryappendappendcheckIndexcheckIndicescheckVectorDimensionscheckVectorDimensionscombinecombineToSelfcopycosinedotProductebeDivideebeMultiplyequalsgetDimensiongetDistancegetEntrygetL1DistancegetL1NormgetLInfDistancegetLInfNormgetMaxIndexgetMaxValuegetMinIndexgetMinValuegetNormgetSubVectorhashCodeisInfiniteisNaNiteratormapmapAddmapAddToSelfmapDividemapDivideToSelfmapMultiplymapMultiplyToSelfmapSubtractmapSubtractToSelfmapToSelfouterProductprojectionsetsetEntrysetSubVectorsparseIteratorsubtracttoArrayunitizeunitVectorunmodifiableRealVectorwalkInDefaultOrderwalkInDefaultOrderwalkInDefaultOrderwalkInDefaultOrderwalkInOptimizedOrderwalkInOptimizedOrderwalkInOptimizedOrderwalkInOptimizedOrder

Constructor Detail

SparseRealVectorback to summary
public SparseRealVector()