1 #ifndef FP_GSL_MATRIX_H 2 #define FP_GSL_MATRIX_H 3 #include <gsl/gsl_matrix.h> 4 #include <blitz/array.h> 5 #include <boost/utility.hpp> 51 void reset(gsl_matrix* M,
bool Owned =
true);
52 void reset(blitz::Array<double, 2>& M);
111 GslVector(gsl_vector* M,
bool Owned =
true) :gsl_vector_(0)
126 :gsl_vector_(0) {
reset(M);}
128 void reset(gsl_vector* M,
bool Owned =
true);
129 void reset(blitz::Array<double, 1>& M);
135 const gsl_vector*
gsl()
const {
return gsl_vector_; }
141 gsl_vector*
gsl() {
return gsl_vector_; }
blitz::Array< double, 2 > & blitz_array()
Return blitz::Array look at data.
GslMatrix()
Default constructor.
GslVector(gsl_vector *M, bool Owned=true)
Use data owned by gsl_vector.
const blitz::Array< double, 2 > & blitz_array() const
Return blitz::Array look at data.
GslMatrix(blitz::Array< double, 2 > &M)
Use data owned by blitz::Array.
blitz::Array< double, 1 > blitz_array_
This provides thin wrapper around the GNU Scientific Library gsl_matrix.
GslMatrix(gsl_matrix *M, bool Owned=true)
Use data owned by gsl_matrix.
const blitz::Array< double, 1 > & blitz_array() const
Return blitz::Array look at data.
blitz::Array< double, 2 > blitz_array_
gsl_vector * gsl()
Return gsl_vector look at data.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
const gsl_matrix * gsl() const
Return gsl_matrix look at data.
GslVector()
Default constructor.
void reset(gsl_matrix *M, bool Owned=true)
Reset class to point to new matrix.
blitz::Array< double, 1 > & blitz_array()
Return blitz::Array look at data.
gsl_matrix * gsl()
Return gsl_matrix look at data.
const gsl_vector * gsl() const
Return gsl_vector look at data.
This provides thin wrapper around the GNU Scientific Library gsl_vector.
GslVector(blitz::Array< double, 1 > &M)
Use data owned by blitz::Array.