com.opengamma.strata.math.impl.linearalgebra.CholeskyDecompositionResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of strata-math Show documentation
Show all versions of strata-math Show documentation
Mathematic support for Strata
/*
* Copyright (C) 2011 - present by OpenGamma Inc. and the OpenGamma group of companies
*
* Please see distribution for license.
*/
package com.opengamma.strata.math.impl.linearalgebra;
import com.opengamma.strata.collect.array.DoubleMatrix;
import com.opengamma.strata.math.linearalgebra.DecompositionResult;
/**
* Contains the results of Cholesky matrix decomposition.
*/
// CSOFF: AbbreviationAsWordInName
public interface CholeskyDecompositionResult extends DecompositionResult {
/**
* Returns the $\mathbf{L}$ matrix of the decomposition.
*
* $\mathbf{L}$ is a lower-triangular matrix.
* @return the $\mathbf{L}$ matrix
*/
public abstract DoubleMatrix getL();
/**
* Returns the transpose of the matrix $\mathbf{L}$ of the decomposition.
*
* $\mathbf{L}^T$ is a upper-triangular matrix.
* @return the $\mathbf{L}^T$ matrix
*/
public abstract DoubleMatrix getLT();
/**
* Return the determinant of the matrix.
* @return determinant of the matrix
*/
public abstract double getDeterminant();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy