Class SparseRealVector

  • Direct Known Subclasses:
    OpenMapRealVector

    public abstract class SparseRealVector
    extends RealVector
    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.

    • Constructor Detail

      • SparseRealVector

        public SparseRealVector()
        Empty constructor.

        This constructor is not strictly necessary, but it prevents spurious javadoc warnings with JDK 18 and later.

        Since:
        3.0