chemmisol 0.1
Loading...
Searching...
No Matches
Namespaces | Typedefs | Functions
linear.h File Reference
#include <array>
#include <vector>
#include <initializer_list>
#include <iostream>
#include <cmath>
#include <complex>
#include "../logging.h"
Include dependency graph for linear.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  chemmisol
 

Typedefs

template<typename T , std::size_t N>
using chemmisol::X = std::array< T, N >
 
template<typename T , std::size_t N, std::size_t P = N>
using chemmisol::M = std::array< std::array< T, P >, N >
 
template<typename T >
using chemmisol::VecX = std::vector< T >
 
template<typename T >
using chemmisol::VecM = std::vector< std::vector< T > >
 

Functions

template<typename T , std::size_t N, std::size_t P>
X< T, N > chemmisol::operator* (const M< T, N, P > &m, const X< T, P > &x)
 
template<typename T , std::size_t N>
X< T, N > chemmisol::operator- (const X< T, N > &x)
 
template<typename T , std::size_t N>
X< T, N > chemmisol::operator+ (const X< T, N > &x1, const X< T, N > &x2)
 
template<typename T , std::size_t N>
X< T, N > chemmisol::operator* (const T &a, const X< T, N > &x)
 
template<typename T , std::size_t N, std::size_t P>
M< T, N, P > chemmisol::operator* (const T &a, const M< T, N, P > &m)
 
template<typename T , std::size_t N>
double chemmisol::norm (const X< T, N > &x)
 
template<typename T , std::size_t N>
double chemmisol::norm (const X< std::complex< T >, N > &x)
 
template<typename T , std::size_t N>
X< T, N > chemmisol::abs (const X< T, N > &x)
 
template<typename _M >
M< typename _M::value_type::value_type, std::tuple_size< _M >::value, std::tuple_size< typename _M::value_type >::value+1 > chemmisol::augment (const _M &m, const X< typename _M::value_type::value_type, std::tuple_size< _M >::value > &x)
 
template<typename T , std::size_t N>
std::ostream & chemmisol::operator<< (std::ostream &o, const X< T, N > &x)
 
template<typename T >
VecX< T > chemmisol::operator* (const VecM< T > &m, const VecX< T > &x)
 
template<typename T >
VecX< T > chemmisol::operator- (const VecX< T > &x)
 
template<typename T >
VecX< T > chemmisol::operator+ (const VecX< T > &x1, const VecX< T > &x2)
 
template<typename T >
double chemmisol::norm (const VecX< T > &x)
 
template<typename T >
VecX< T > chemmisol::abs (const VecX< T > &x)
 
template<typename T >
VecM< T > chemmisol::augment (const VecM< T > &m, const VecX< T > &x)
 
template<typename T >
std::ostream & chemmisol::operator<< (std::ostream &o, const VecX< T > &x)
 
template<typename T >
double chemmisol::norm (const T &x)
 
template<typename T >
chemmisol::abs (const T &x)
 

Detailed Description

File containing linear algebra features.