Class LinearSolverFactory_MT_DDRM

java.lang.Object
org.ejml.dense.row.factory.LinearSolverFactory_MT_DDRM

public class LinearSolverFactory_MT_DDRM
extends java.lang.Object
A factory for generating solvers for systems of the form A*x=b, where A and B are known and x is unknown.
  • Constructor Summary

    Constructors 
    Constructor Description
    LinearSolverFactory_MT_DDRM()  
  • Method Summary

    Modifier and Type Method Description
    static org.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.DMatrixRMaj> chol​(int numRows)
    Creates a linear solver using Cholesky decomposition
    static org.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.DMatrixRMaj> leastSquares​(int numRows, int numCols)
    Creates a good general purpose solver for over determined systems and returns the optimal least-squares solution.
    static org.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.DMatrixRMaj> qr​(int numRows, int numCols)
    Creates a linear solver using QR decomposition
    static org.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.DMatrixRMaj> symmPosDef​(int matrixWidth)
    Creates a solver for symmetric positive definite matrices.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • chol

      public static org.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.DMatrixRMaj> chol​(int numRows)
      Creates a linear solver using Cholesky decomposition
    • qr

      public static org.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.DMatrixRMaj> qr​(int numRows, int numCols)
      Creates a linear solver using QR decomposition
    • leastSquares

      public static org.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.DMatrixRMaj> leastSquares​(int numRows, int numCols)
      Creates a good general purpose solver for over determined systems and returns the optimal least-squares solution. The A matrix will have dimensions (m,n) where m ≥ n.
      Parameters:
      numRows - The number of rows that the decomposition is optimized for.
      numCols - The number of columns that the decomposition is optimized for.
      Returns:
      A new least-squares solver for over determined systems.
    • symmPosDef

      public static org.ejml.interfaces.linsol.LinearSolverDense<org.ejml.data.DMatrixRMaj> symmPosDef​(int matrixWidth)
      Creates a solver for symmetric positive definite matrices.
      Returns:
      A new solver for symmetric positive definite matrices.