SyTen
dense_solve.h File Reference

Solves the dense system A·X = B using a QR decomposition with column pivoting (no row sorting!). More...

#include "inc/dense/dense.h"
+ Include dependency graph for dense_solve.h:
+ This graph shows which files directly or indirectly include this file:

Namespaces

namespace  syten
 Syten namespace.
 

Functions

std::tuple< DenseTensor< 2, double >, Index > syten::DenseSolve::solve (DenseTensor< 2, double > const &a, DenseTensor< 2, double > const &b)
 Solves the system real \( A X = B \) and returns \( X \) in row-major mode and the rank of the matrix \( A \). More...
 
std::tuple< DenseTensor< 2, std::complex< double > >, Index > syten::DenseSolve::solve (DenseTensor< 2, std::complex< double > > const &a, DenseTensor< 2, std::complex< double > > const &b)
 Solves the system complex \( A X = B \) and returns \( X \) in row-major mode and the rank of the matrix \( A \). More...
 
std::tuple< DenseTensor< 2, double >, Index > syten::DenseSolve::solve_cm (DenseTensor< 2, double > &&a, DenseTensor< 2, double > &&b)
 Solves the system real \( A X = B \) in column-major mode and returns a tuple of \( X \) in column-major mode and the calculated rank of the matrix. More...
 
std::tuple< DenseTensor< 2, double >, Index > syten::DenseSolve::solve_cm (DenseTensor< 2, double > const &a, DenseTensor< 2, double > const &b)
 Solves the system real \( A X = B \) in column-major mode and returns \( X \) in column-major mode and the calculated rank of the matrix \( A \). More...
 
std::tuple< DenseTensor< 2, std::complex< double > >, Index > syten::DenseSolve::solve_cm (DenseTensor< 2, std::complex< double > > &&a, DenseTensor< 2, std::complex< double > > &&b)
 Solves the system complex \( A X = B \) in column-major mode and returns a tuple of \( X \) in column-major mode and the calculated rank of the matrix. More...
 
std::tuple< DenseTensor< 2, std::complex< double > >, Index > syten::DenseSolve::solve_cm (DenseTensor< 2, std::complex< double > > const &a, DenseTensor< 2, std::complex< double > > const &b)
 Solves the system complex \( A X = B \) in column-major mode and returns \( X \) in column-major mode and the calculated rank of the matrix \( A \). More...
 

Detailed Description

Solves the dense system A·X = B using a QR decomposition with column pivoting (no row sorting!).