Documentation API of the 'cern.colt.matrix.tdcomplex.DComplexFactory2D' Java class
DComplexFactory2D
cern.colt.matrix.tdcomplex

Class DComplexFactory2D

  • All Implemented Interfaces:
    Serializable, Cloneable


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

     

    Construction Use idioms like ComplexFactory2D.dense.make(4,4) to construct dense matrices, ComplexFactory2D.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:

      ComplexFactory2D F = ComplexFactory2D.dense;  F.make(4,4);  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.