Documentation API of the 'org.jscience.mathematics.vector.DenseMatrix' Java class
DenseMatrix
org.jscience.mathematics.vector

Class DenseMatrix<F extends Field<F>>

  • All Implemented Interfaces:
    javolution.lang.Immutable, javolution.lang.Realtime, javolution.lang.ValueType, GroupAdditive<Matrix<F>>, Ring<Matrix<F>>, Structure<Matrix<F>>, VectorSpace<Matrix<F>,F>


    public final class DenseMatrix<F extends Field<F>>extends Matrix<F>

    This class represents a matrix made of dense vectors (as rows). To create a dense matrix made of column vectors the transpose() method can be used. For example:

            DenseVector<Rational> column0 = DenseVector.valueOf(...);        DenseVector<Rational> column1 = DenseVector.valueOf(...);        DenseMatrix<Rational> M = DenseMatrix.valueOf(column0, column1).transpose();     

    As for any concrete structure, this class is declared final (otherwise most operations would have to be overridden to return the appropriate type). Specialized dense matrix should sub-class Matrix directly. For example:

            // Extension through composition.        final class TriangularMatrix <F extends Field<F>> extends Matrix<F> {             private DenseMatrix<F> _value; // Possible implementation.             ...             public TriangularMatrix opposite() { // Returns the right type.                 return TriangularMatrix.valueOf(_value.opposite());             }             ...        }

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.