Documentation of 'org.apache.commons.math3.linear.SparseFieldVector' Java class
SparseFieldVector
org.apache.commons.math3.linear

Class SparseFieldVector<T extends FieldElement<T>>

  • Type Parameters:
    T - the type of the field elements
    All Implemented Interfaces:
    java.io.Serializable, FieldVector<T>


    public class SparseFieldVector<T extends FieldElement<T>>
    extends java.lang.Object
    implements FieldVector<T>, java.io.Serializable
    This class implements the FieldVector interface with a OpenIntToFieldHashMap backing store.

    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.

    Since:
    2.0
    See Also:
    Serialized Form

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.