Nanga Parbat 1.1.0
A TMD fitting framework
linearsystems.h
Go to the documentation of this file.
1//
2// Author: Valerio Bertone: valerio.bertone@cern.ch
3//
4
5#pragma once
6
7#include <apfel/matrix.h>
8
9namespace NangaParbat
10{
16 apfel::matrix<double> CholeskyDecomposition(apfel::matrix<double> const V);
17
24 std::vector<double> SolveLowerSystem(apfel::matrix<double> L, std::vector<double> y);
25
32 std::vector<double> SolveUpperSystem(apfel::matrix<double> U, std::vector<double> y);
33
40 std::vector<double> SolveSymmetricSystem(apfel::matrix<double> A, std::vector<double> rho);
41}
Definition: bstar.h:12
std::vector< double > SolveUpperSystem(apfel::matrix< double > U, std::vector< double > y)
Solve upper-diagonal system of equations by backward substitution.
std::vector< double > SolveLowerSystem(apfel::matrix< double > L, std::vector< double > y)
Solve lower-diagonal system of equations by forward substitution.
std::vector< double > SolveSymmetricSystem(apfel::matrix< double > A, std::vector< double > rho)
Solve symmetric system of equations.
apfel::matrix< double > CholeskyDecomposition(apfel::matrix< double > const V)
Cholesky decomposition of the covariance matrix.