SyTen
dense_solve.cpp File Reference

Implementation for inc/dense/dense_solve.h. More...

#include <tuple>
#include "inc/dense/dense_solve.h"
#include "inc/util/blas-wrapper.h"
#include "inc/dense/dense_transpose.h"
+ Include dependency graph for dense_solve.cpp:

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

Implementation for inc/dense/dense_solve.h.