Public Member Functions | List of all members
nmx::gsl::MatrixView Class Reference

The MView class Sicht auf eine gsl-Matrix. More...

#include <xmatrix.h>

Inheritance diagram for nmx::gsl::MatrixView:
nmx::gsl::mat::IMBase< MatrixView > nmx::gsl::mat::IMCalc< MatrixView > nmx::gsl::IGslContainer< MatrixView, gsl_matrix, 1 > nmx::gsl::IGslContainer< MatrixView, gsl_matrix, 2 >

Public Member Functions

 MatrixView (gsl_matrix_view v)
 MView Konstruktor. More...
 
 MatrixView (size_t nr, size_t nc, double f[])
 MView Konstruktor Sicht auf C-Feld. More...
 
const gsl_matrix * gsl () const
 gsl ermöglicht direkten Zugriff auf gsl Funktionen More...
 
gsl_matrix * gsl ()
 gsl ermöglicht direkten Zugriff auf gsl Funktionen More...
 
- Public Member Functions inherited from nmx::gsl::mat::IMBase< MatrixView >
size_t rows () const
 rows More...
 
size_t columns () const
 columns More...
 
bool empty () const
 empty More...
 
double operator() (size_t idx, size_t jdx) const
 operator () lesender Zugriff More...
 
double & operator() (size_t i, size_t j)
 operator () schreibender Zugriff More...
 
void save (std::ostream &os, Format fmt=Output::array()) const
 save Speichert reihenweise eine Matrix More...
 
MatrixViewtransform (FN fn)
 transform eine Funktion wird auf alle Elemente der Matrix angewandt More...
 
- Public Member Functions inherited from nmx::gsl::IGslContainer< MatrixView, gsl_matrix, 1 >
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...
 
- Public Member Functions inherited from nmx::gsl::mat::IMCalc< MatrixView >
MatrixViewoperator+= (const MatrixView &v)
 operator +=,-=,*=,/+ More...
 
MatrixViewoperator+= (double x)
 operator +=,-=,*= More...
 
MatrixViewoperator-= (const MatrixView &v)
 
MatrixViewoperator-= (double x)
 
MatrixViewoperator*= (const MatrixView &v)
 
MatrixViewoperator*= (double x)
 
MatrixViewoperator/= (const MatrixView &v)
 
- Public Member Functions inherited from nmx::gsl::IGslContainer< MatrixView, 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...
 

Additional Inherited Members

- Protected Member Functions inherited from nmx::gsl::mat::IMCalc< MatrixView >
MatrixViewapply_fn (const X &v, FN fn)
 apply_fn Hilfsfunktion More...
 

Detailed Description

The MView class Sicht auf eine gsl-Matrix.

Definition at line 17 of file xmatrix.h.

Constructor & Destructor Documentation

◆ MatrixView() [1/2]

nmx::gsl::MatrixView::MatrixView ( gsl_matrix_view  v)
inline

MView Konstruktor.

Parameters
vView

Definition at line 27 of file xmatrix.h.

◆ MatrixView() [2/2]

nmx::gsl::MatrixView::MatrixView ( size_t  nr,
size_t  nc,
double  f[] 
)
inline

MView Konstruktor Sicht auf C-Feld.

Parameters
nrAnzahl der Reihen
ncAnzahl der Spalten
fC-Feld

Definition at line 35 of file xmatrix.h.

Member Function Documentation

◆ gsl() [1/2]

const gsl_matrix* nmx::gsl::MatrixView::gsl ( ) const
inline

gsl ermöglicht direkten Zugriff auf gsl Funktionen

Returns
Zeiger auf gsl-Struktur

Definition at line 43 of file xmatrix.h.

◆ gsl() [2/2]

gsl_matrix* nmx::gsl::MatrixView::gsl ( )
inline

gsl ermöglicht direkten Zugriff auf gsl Funktionen

Returns
Zeiger auf gsl-Struktur

Definition at line 49 of file xmatrix.h.


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