ivutils
Loading...
Searching...
No Matches
Basis_N< N > Class Template Reference

Basis in N-dimensional space. More...

#include <basis_3.h>

Collaboration diagram for Basis_N< N >:

Public Member Functions

vector_t operator() (const vector_t &x) const
 Transforms a vector from the orthogonal basis to this basis (contravariant form y=B*x).
 
vector_t cov (const vector_t &x) const
 transforms a vector from the orthogonal basis to this basis (covariant form y=transpose(B)*x )

 
vector_t inv (const vector_t &x) const
 transforms a vector from this basis into the orthogonal basis (contravariant, x=B^(-1)*y )

 
Basis_N inv () const
 returns inverse basis
 
template<class T1 >
Basis_N operator* (const T1 &coeff) const
 Multiplies by coefficient.
 

Detailed Description

template<int N>
class Basis_N< N >

Basis in N-dimensional space.

Member Function Documentation

◆ operator()()

template<int N>
vector_t Basis_N< N >::operator() ( const vector_t x) const
inline

Transforms a vector from the orthogonal basis to this basis (contravariant form y=B*x).



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