8 #ifndef GSLPP_MATRIX_DOUBLE_H
9 #define GSLPP_MATRIX_DOUBLE_H
11 #ifndef __GSL_MATRIX_DOUBLE_H__
12 #include <gsl/gsl_matrix_double.h>
14 #ifndef GSLPP_COMPLEX_H
15 #ifndef __GSL_MATRIX_DOUBLE_H__
16 #include <gsl/gsl_matrix_double.h>
20 #ifndef GSLPP_VECTOR_BASE_H
23 #ifndef GSLPP_VECTOR_DOUBLE_H
26 #ifndef GSLPP_VECTOR_COMPLEX_H
29 #ifndef GSLPP_MATRIX_BASE_H
32 #ifndef GSLPP_MATRIX_COMPLEX_H
54 matrix(
const size_t& size_i,
const size_t& size_j,
const double& a);
55 matrix(
const size_t& size_i,
const double& a);
58 matrix(
const gsl_matrix& m);
59 matrix(
const gsl_matrix* m);
64 double operator()(
const size_t& i,
const size_t& j)
const;
66 double& operator()(
const size_t& i,
const size_t& j);
70 void assign(
const size_t& i,
const size_t& j,
const double& a);
71 void assign(
const size_t& i,
const size_t& j,
const matrix<double>& a);
73 size_t size_i()
const;
74 size_t size_j()
const;
86 gsl_matrix* as_gsl_type_ptr()
const;
87 gsl_matrix& as_gsl_type();
88 const gsl_matrix& as_gsl_type()
const;
135 friend std::ostream& operator<<(std::ostream& output, const matrix<double>& m);
complex operator*(const double &x1, const complex &z2)
A class for the form factor in .
A class for constructing and defining operations on real matrices.
A base class for defining operations on matrices, both real and complex.
A class for constructing and defining operations on complex vectors.
A class for constructing and defining operations on complex matrices.
complex operator/(const double &x1, const complex &z2)
A class for constructing and defining operations on real vectors.
complex operator+(const double &x1, const complex &z2)
A class for defining operations on and functions of complex numbers.
complex operator-(const double &x1, const complex &z2)
Complex number, vector and matrix manipulation using GSL.