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

Class ObjectFactory2D

  • All Implemented Interfaces:
    Serializable, Cloneable


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

     

    Construction Use idioms like ObjectFactory2D.dense.make(4,4) to construct dense matrices, ObjectFactory2D.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 block matrices Use method composeDiagonal to work with diagonal block matrices.

     

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

    ObjectFactory2D F = ObjectFactory2D.dense;F.make(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.