Interface SimpleOperations<T extends org.ejml.data.Matrix>

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
SimpleSparseOperations<S,​D>
All Known Implementing Classes:
SimpleOperations_CDRM, SimpleOperations_DDRM, SimpleOperations_DSCC, SimpleOperations_FDRM, SimpleOperations_FSCC, SimpleOperations_ZDRM

public interface SimpleOperations<T extends org.ejml.data.Matrix>
extends java.io.Serializable
High level interface for operations inside of SimpleMatrix for one matrix type.
  • Method Summary

    Modifier and Type Method Description
    void changeSign​(T a)  
    double conditionP2​(T A)  
    double determinant​(T A)  
    T diag​(T A)  
    void divide​(T A, double val, T output)  
    double dot​(T A, T v)  
    void elementDiv​(T A, T B, T output)  
    void elementExp​(T A, T output)  
    void elementLog​(T A, T output)  
    double elementMaxAbs​(T A)  
    double elementMinAbs​(T A)  
    void elementMult​(T A, T B, T output)  
    void elementPower​(T A, double b, T output)  
    void elementPower​(T A, T B, T output)  
    double elementSum​(T A)  
    void extract​(T src, int srcY0, int srcY1, int srcX0, int srcX1, T dst, int dstY0, int dstX0)  
    void fill​(T A, double value)  
    double get​(T A, int row, int column)  
    void get​(T A, int row, int column, org.ejml.data.Complex_F64 value)  
    boolean hasUncountable​(T M)  
    boolean invert​(T A, T output)  
    boolean isIdentical​(T A, T B, double tol)  
    void kron​(T A, T B, T output)  
    void minus​(T A, double b, T output)  
    void minus​(T A, T B, T output)  
    void mult​(T A, T B, T output)  
    void multTransA​(T A, T B, T output)  
    double normF​(T A)  
    void plus​(double alpha, T A, double beta, T b, T output)  
    void plus​(T A, double b, T output)  
    void plus​(T A, double beta, T b, T output)  
    void plus​(T A, T B, T output)  
    void print​(java.io.PrintStream out, org.ejml.data.Matrix mat, java.lang.String format)  
    void pseudoInverse​(T A, T output)  
    void scale​(T A, double val, T output)  
    void set​(T A, int row, int column, double value)  
    void set​(T A, int row, int column, double real, double imaginary)  
    void setColumn​(T A, int column, int startRow, double... values)  
    void setIdentity​(T A)  
    void setRow​(T A, int row, int startColumn, double... values)  
    boolean solve​(T A, T X, T B)  
    double trace​(T A)  
    void transpose​(T input, T output)  
    void zero​(T A)  
  • Method Details

    • set

      void set​(T A, int row, int column, double value)
    • set

      void set​(T A, int row, int column, double real, double imaginary)
    • get

      double get​(T A, int row, int column)
    • get

      void get​(T A, int row, int column, org.ejml.data.Complex_F64 value)
    • fill

      void fill​(T A, double value)
    • transpose

      void transpose​(T input, T output)
    • mult

      void mult​(T A, T B, T output)
    • multTransA

      void multTransA​(T A, T B, T output)
    • kron

      void kron​(T A, T B, T output)
    • plus

      void plus​(T A, T B, T output)
    • minus

      void minus​(T A, T B, T output)
    • minus

      void minus​(T A, double b, T output)
    • plus

      void plus​(T A, double b, T output)
    • plus

      void plus​(T A, double beta, T b, T output)
    • plus

      void plus​(double alpha, T A, double beta, T b, T output)
    • dot

      double dot​(T A, T v)
    • scale

      void scale​(T A, double val, T output)
    • divide

      void divide​(T A, double val, T output)
    • invert

      boolean invert​(T A, T output)
    • setIdentity

      void setIdentity​(T A)
    • pseudoInverse

      void pseudoInverse​(T A, T output)
    • solve

      boolean solve​(T A, T X, T B)
    • zero

      void zero​(T A)
    • normF

      double normF​(T A)
    • conditionP2

      double conditionP2​(T A)
    • determinant

      double determinant​(T A)
    • trace

      double trace​(T A)
    • setRow

      void setRow​(T A, int row, int startColumn, double... values)
    • setColumn

      void setColumn​(T A, int column, int startRow, double... values)
    • extract

      void extract​(T src, int srcY0, int srcY1, int srcX0, int srcX1, T dst, int dstY0, int dstX0)
    • diag

      T diag​(T A)
    • hasUncountable

      boolean hasUncountable​(T M)
    • changeSign

      void changeSign​(T a)
    • elementMaxAbs

      double elementMaxAbs​(T A)
    • elementMinAbs

      double elementMinAbs​(T A)
    • elementSum

      double elementSum​(T A)
    • elementMult

      void elementMult​(T A, T B, T output)
    • elementDiv

      void elementDiv​(T A, T B, T output)
    • elementPower

      void elementPower​(T A, T B, T output)
    • elementPower

      void elementPower​(T A, double b, T output)
    • elementExp

      void elementExp​(T A, T output)
    • elementLog

      void elementLog​(T A, T output)
    • isIdentical

      boolean isIdentical​(T A, T B, double tol)
    • print

      void print​(java.io.PrintStream out, org.ejml.data.Matrix mat, java.lang.String format)