Class OpenMapRealMatrix

java.lang.Object
org.hipparchus.linear.AbstractRealMatrix
org.hipparchus.linear.OpenMapRealMatrix
All Implemented Interfaces:
Serializable, AnyMatrix, RealLinearOperator, RealMatrix, SparseRealMatrix, Blendable<RealMatrix>

public class OpenMapRealMatrix extends AbstractRealMatrix implements SparseRealMatrix, Serializable
Sparse matrix implementation based on an open addressed map.

Caveat: This implementation assumes 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.

See Also: