Cadabra
Computer algebra system for field theory problems
Public Types | Public Member Functions | Private Attributes | List of all members
linear::Solver< T > Struct Template Reference

#include <Linear.hh>

Public Types

using matrix_type = boost::numeric::ublas::matrix< T >
 
using vector_type = boost::numeric::ublas::vector< T >
 

Public Member Functions

bool factorize (const matrix_type &A_)
 
vector_type solve (const vector_type &y)
 

Private Attributes

matrix_type A
 
boost::numeric::ublas::vector< size_t > P
 
vector_type x
 
size_t N
 

Member Typedef Documentation

◆ matrix_type

template<typename T >
using linear::Solver< T >::matrix_type = boost::numeric::ublas::matrix<T>

◆ vector_type

template<typename T >
using linear::Solver< T >::vector_type = boost::numeric::ublas::vector<T>

Member Function Documentation

◆ factorize()

template<typename T >
bool linear::Solver< T >::factorize ( const matrix_type A_)

◆ solve()

template<typename T >
Solver< T >::vector_type linear::Solver< T >::solve ( const vector_type y)

Member Data Documentation

◆ A

template<typename T >
matrix_type linear::Solver< T >::A
private

◆ N

template<typename T >
size_t linear::Solver< T >::N
private

◆ P

template<typename T >
boost::numeric::ublas::vector<size_t> linear::Solver< T >::P
private

◆ x

template<typename T >
vector_type linear::Solver< T >::x
private

The documentation for this struct was generated from the following file: