Class LinearSolverFactory_MT_DDRM

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

public class LinearSolverFactory_MT_DDRM extends 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 Details

    • LinearSolverFactory_MT_DDRM

      public LinearSolverFactory_MT_DDRM()
  • Method Details

    • chol

      public static LinearSolverDense<DMatrixRMaj> chol(int numRows)
      Creates a linear solver using Cholesky decomposition
    • qr

      public static LinearSolverDense<DMatrixRMaj> qr(int numRows, int numCols)
      Creates a linear solver using QR decomposition
    • leastSquares

      public static LinearSolverDense<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 LinearSolverDense<DMatrixRMaj> symmPosDef(int matrixWidth)
      Creates a solver for symmetric positive definite matrices.
      Returns:
      A new solver for symmetric positive definite matrices.