Package org.ejml.ops
Class ConvertMatrixType
java.lang.Object
org.ejml.ops.ConvertMatrixType
public class ConvertMatrixType
extends java.lang.Object
Contains a function to convert from one matrix type into another
-
Constructor Summary
Constructors Constructor Description ConvertMatrixType() -
Method Summary
Modifier and Type Method Description static Matrixconvert(Matrix matrix, MatrixType desired)Converts a matrix of one data type into another data type.
-
Constructor Details
-
ConvertMatrixType
public ConvertMatrixType()
-
-
Method Details
-
convert
Converts a matrix of one data type into another data type. If no conversion is known then an exception is thrown.- Returns:
- The converted matrix
-