xvector4.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "xvector3.h"
4 
5 namespace nmx::gsl::vec {
6 
10 template<class T>
11 class IVStl : public IGslContainer<T, gsl_vector, 3>
12 {
13  // benutze Elementfunktionen der Basisklasse
15 
16 public:
17  inline double *begin() { return gsl()->data; }
18  inline double *end() { return gsl()->data + gsl()->size; }
19 
20  inline const double *begin() const { return gsl()->data; }
21  inline const double *end() const { //
22  return gsl()->data + gsl()->size;
23  }
24 };
25 
26 } // namespace nmx::gsl::vec
double * end()
Definition: xvector4.h:18
const double * end() const
Definition: xvector4.h:21
double * begin()
Definition: xvector4.h:17
const double * begin() const
Definition: xvector4.h:20
const gsl_vector * gsl() const
ermöglicht direkten Zugriff auf gsl-Funktionen
Definition: xvector0.h:18
The IVStl class Schnittstelle zur Standard Template Library.
Definition: xvector4.h:11
The IGslContainer struct Basisklasse für gsl-Vektoren und Matrizen.
Definition: xvector0.h:13