Class CholeskyDecompositionCommonsResult

    • Constructor Detail

      • CholeskyDecompositionCommonsResult

        public CholeskyDecompositionCommonsResult​(org.apache.commons.math3.linear.CholeskyDecomposition ch)
        Constructor.
        Parameters:
        ch - The result of the Cholesky decomposition.
    • Method Detail

      • solve

        public DoubleArray solve​(DoubleArray b)
        Solves $\mathbf{A}x = b$ where $\mathbf{A}$ is a (decomposed) matrix and $b$ is a vector.
        Specified by:
        solve in interface DecompositionResult
        Parameters:
        b - the vector to calculate with
        Returns:
        the vector x
      • solve

        public double[] solve​(double[] b)
        Solves $\mathbf{A}x = b$ where $\mathbf{A}$ is a (decomposed) matrix and $b$ is a vector.
        Specified by:
        solve in interface DecompositionResult
        Parameters:
        b - the vector to calculate with
        Returns:
        the vector x
      • solve

        public DoubleMatrix solve​(DoubleMatrix b)
        Solves $\mathbf{A}x = \mathbf{B}$ where $\mathbf{A}$ is a (decomposed) matrix and $\mathbf{B}$ is a matrix.
        Specified by:
        solve in interface DecompositionResult
        Parameters:
        b - the matrix to calculate with
        Returns:
        the matrix x