Public Member Functions | Protected Member Functions | Friends | List of all members
nmx::gsl::mat::IMCalc< T > Class Template Reference

The IMCalc class kombinierte Rechenoperationen und Zuweisungen. More...

#include <xmatrix1.h>

Inheritance diagram for nmx::gsl::mat::IMCalc< T >:
nmx::gsl::IGslContainer< T, gsl_matrix, 2 >

Public Member Functions

T & operator+= (const T &v)
 operator +=,-=,*=,/+ More...
 
T & operator-= (const T &v)
 
T & operator*= (const T &v)
 
T & operator/= (const T &v)
 
T & operator+= (double x)
 operator +=,-=,*= More...
 
T & operator-= (double x)
 
T & operator*= (double x)
 
- Public Member Functions inherited from nmx::gsl::IGslContainer< T, gsl_matrix, 2 >
const gsl_matrix * gsl () const
 ermöglicht direkten Zugriff auf gsl-Funktionen More...
 
gsl_matrix * gsl ()
 gsl_vec ermöglicht direkten Zugriff auf gsl-Funktionen More...
 

Protected Member Functions

template<class X , class FN >
T & apply_fn (const X &v, FN fn)
 apply_fn Hilfsfunktion More...
 

Friends

operator+ (const T &m1, const T &m2)
 operator + addiere zwei Matrizen More...
 
operator- (const T &m1, const T &m2)
 operator - subtrahiere zwei Matrizen More...
 

Detailed Description

template<class T>
class nmx::gsl::mat::IMCalc< T >

The IMCalc class kombinierte Rechenoperationen und Zuweisungen.

Definition at line 12 of file xmatrix1.h.

Member Function Documentation

◆ apply_fn()

template<class T>
template<class X , class FN >
T& nmx::gsl::mat::IMCalc< T >::apply_fn ( const X &  v,
FN  fn 
)
inlineprotected

apply_fn Hilfsfunktion

Parameters
vInstanz einer Matrix oder View oder Zahl
fngsl-Funktion kombiniert das aufrufende Objekt mit einer Instanz v vom Typ X
Returns
Referenz auf das aufrufende Objekt

Definition at line 26 of file xmatrix1.h.

◆ operator*=() [1/2]

template<class T>
T& nmx::gsl::mat::IMCalc< T >::operator*= ( const T &  v)
inline

Definition at line 51 of file xmatrix1.h.

◆ operator*=() [2/2]

template<class T>
T& nmx::gsl::mat::IMCalc< T >::operator*= ( double  x)
inline

Definition at line 69 of file xmatrix1.h.

◆ operator+=() [1/2]

template<class T>
T& nmx::gsl::mat::IMCalc< T >::operator+= ( const T &  v)
inline

operator +=,-=,*=,/+

Parameters
vView oder Vektor
Returns
Referenz auf das aufrufende Objekt

Definition at line 45 of file xmatrix1.h.

◆ operator+=() [2/2]

template<class T>
T& nmx::gsl::mat::IMCalc< T >::operator+= ( double  x)
inline

operator +=,-=,*=

Parameters
xreelle Zahl
Returns
Referenz auf das aufrufende Objekt

Definition at line 63 of file xmatrix1.h.

◆ operator-=() [1/2]

template<class T>
T& nmx::gsl::mat::IMCalc< T >::operator-= ( const T &  v)
inline

Definition at line 48 of file xmatrix1.h.

◆ operator-=() [2/2]

template<class T>
T& nmx::gsl::mat::IMCalc< T >::operator-= ( double  x)
inline

Definition at line 66 of file xmatrix1.h.

◆ operator/=()

template<class T>
T& nmx::gsl::mat::IMCalc< T >::operator/= ( const T &  v)
inline

Definition at line 54 of file xmatrix1.h.

Friends And Related Function Documentation

◆ operator+

template<class T>
T operator+ ( const T &  m1,
const T &  m2 
)
friend

operator + addiere zwei Matrizen

Parameters
m1Matrix
m2Matrix
Returns
m1+m2

Definition at line 79 of file xmatrix1.h.

◆ operator-

template<class T>
T operator- ( const T &  m1,
const T &  m2 
)
friend

operator - subtrahiere zwei Matrizen

Parameters
m1Matrix
m2Matrix
Returns
m1-m2

Definition at line 91 of file xmatrix1.h.


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