QuantLib
: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
Loading...
Searching...
No Matches
ql
math
matrixutilities
choleskydecomposition.hpp
Go to the documentation of this file.
1
/* -*- mode: c++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2
3
/*
4
Copyright (C) 2003, 2004 Ferdinando Ametrano
5
Copyright (C) 2024 Klaus Spanderen
6
7
This file is part of QuantLib, a free-software/open-source library
8
for financial quantitative analysts and developers - http://quantlib.org/
9
10
QuantLib is free software: you can redistribute it and/or modify it
11
under the terms of the QuantLib license. You should have received a
12
copy of the license along with this program; if not, please email
13
<quantlib-dev@lists.sf.net>. The license is also available online at
14
<http://quantlib.org/license.shtml>.
15
16
This program is distributed in the hope that it will be useful, but WITHOUT
17
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
18
FOR A PARTICULAR PURPOSE. See the license for more details.
19
*/
20
21
/*! \file choleskydecomposition.hpp
22
\brief Cholesky decomposition
23
*/
24
25
#ifndef quantlib_cholesky_decomposition_hpp
26
#define quantlib_cholesky_decomposition_hpp
27
28
#include <
ql/math/matrix.hpp
>
29
30
namespace
QuantLib
{
31
32
/*! \relates Matrix */
33
Matrix
CholeskyDecomposition
(
const
Matrix& m,
bool
flexible =
false
);
34
Array
CholeskySolveFor
(
const
Matrix& L,
const
Array&
b
);
35
}
36
37
38
#endif
b
std::function< Real(Real)> b
Definition:
extendedornsteinuhlenbeckprocess.cpp:30
matrix.hpp
matrix used in linear algebra.
QuantLib
Definition:
any.hpp:37
QuantLib::CholeskySolveFor
Array CholeskySolveFor(const Matrix &L, const Array &b)
Definition:
choleskydecomposition.cpp:66
QuantLib::CholeskyDecomposition
Matrix CholeskyDecomposition(const Matrix &S, bool flexible)
Definition:
choleskydecomposition.cpp:27
Generated by
Doxygen
1.9.5