Documentation API of the 'cern.colt.matrix.DoubleFactory2D' Java class

Class DoubleFactory2D

  • All Implemented Interfaces:
    Serializable, Cloneable

    public class DoubleFactory2Dextends PersistentObject
    Factory for convenient construction of 2-d matrices holding double cells. Also provides convenient methods to compose (concatenate) and decompose (split) matrices from/to constituent blocks.


    Construction Use idioms like DoubleFactory2D.dense.make(4,4) to construct dense matrices, DoubleFactory2D.sparse.make(4,4) to construct sparse matrices.
    Construction with initial values Use other make methods to construct matrices with given initial values.
    Appending rows and columns Use methods appendColumns, appendRows and repeat to append rows and columns.
    General block matrices Use methods compose and decompose to work with general block matrices.
    Diagonal matrices Use methods diagonal(vector), diagonal(matrix) and identity to work with diagonal matrices.
    Diagonal block matrices Use method composeDiagonal to work with diagonal block matrices.
    Random Use methods random and sample to construct random matrices.


    If the factory is used frequently it might be useful to streamline the notation. For example by aliasing:

    DoubleFactory2D F = DoubleFactory2D.dense;F.make(4,4);F.descending(10,20);F.random(4,4);...
    See Also:
    Serialized Form

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.