All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.opengamma.strata.math.impl.linearalgebra.CholeskyDecompositionResult Maven / Gradle / Ivy

There is a newer version: 2.12.46
Show newest version
/*
 * 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