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 Matrix convert​(Matrix matrix, MatrixType desired)
    Converts a matrix of one data type into another data type.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • convert

      public static Matrix convert​(Matrix matrix, MatrixType desired)
      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