SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.matrix.doubles.matrixtype.dense
Interface Densifiable

All Known Subinterfaces:
SparseMatrix
All Known Implementing Classes:
BidiagonalMatrix, BorderedHessian, CholeskyWang2006, CongruentMatrix, CorrelationMatrix, CovarianceMatrix, CSRSparseMatrix, DenseMatrix, DiagonalMatrix, DOKSparseMatrix, GoldfeldQuandtTrotter, Hessian, HilbertMatrix, Inverse, Jacobian, KroneckerProduct, LILSparseMatrix, LowerTriangularMatrix, MAT, MatthewsDavies, PositiveDefiniteMatrixByPositiveDiagonal, PositiveSemiDefiniteMatrixNonNegativeDiagonal, Pow, PseudoInverse, SimilarMatrix, SymmetricKronecker, SymmetricMatrix, TridiagonalMatrix, UpperTriangularMatrix

public interface Densifiable

This interface specifies whether a matrix implementation can be efficiently converted to the standard dense matrix representation. A particular matrix implementation may optimize the conversion by taking advantage of having access to the class' private members. Thus, toDense() is in general more efficient than explicit copy construction.

See Also:
DenseMatrix

Method Summary
 DenseMatrix toDense()
          Densify a matrix, i.e., convert a matrix implementation to the standard dense matrix, DenseMatrix.
 

Method Detail

toDense

DenseMatrix toDense()
Densify a matrix, i.e., convert a matrix implementation to the standard dense matrix, DenseMatrix.

Returns:
a matrix representation in DenseMatrix

SuanShu, a Java numerical and statistical library

Copyright © 2012 Numerical Method Inc. Ltd. All Rights Reserved.