Documentation of 'mikera.matrixx.solve.impl.CholeskySolver' Java class
CholeskySolver
mikera.matrixx.solve.impl

Class CholeskySolver



  • public class CholeskySolver
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor and Description
      CholeskySolver() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      AMatrix invert()
      Sets the matrix 'inv' equal to the inverse of the matrix that was decomposed.
      double quality() 
      boolean setA(AMatrix _A) 
      void setToInverseL(double[] a)
      Sets the matrix to the inverse using a lower triangular matrix.
      AMatrix solve(AMatrix B)
      Using the decomposition, finds the value of 'X' in the linear equation below:
      A*x = b
      where A has dimension of n by n, x and b are n by m dimension.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CholeskySolver

        public CholeskySolver()
    • Method Detail

      • setA

        public boolean setA(AMatrix _A)
      • quality

        public double quality()
      • solve

        public AMatrix solve(AMatrix B)

        Using the decomposition, finds the value of 'X' in the linear equation below:
        A*x = b
        where A has dimension of n by n, x and b are n by m dimension.

        *Note* that 'b' and 'x' can be the same matrix instance.

        Parameters:
        B - A matrix that is n by m. Not modified.
        X - An n by m matrix where the solution is written to. Modified.
      • invert

        public AMatrix invert()
        Sets the matrix 'inv' equal to the inverse of the matrix that was decomposed.
        Parameters:
        inv - Where the value of the inverse will be stored. Modified.
      • setToInverseL

        public void setToInverseL(double[] a)
        Sets the matrix to the inverse using a lower triangular matrix.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.