8 #ifndef GSLPP_MATRIX_COMPLEX_H
9 #define GSLPP_MATRIX_COMPLEX_H
11 #ifndef __GSL_MATRIX_COMPLEX_DOUBLE_H__
12 #include <gsl/gsl_matrix_complex_double.h>
14 #ifndef GSLPP_COMPLEX_H
17 #ifndef GSLPP_VECTOR_BASE_H
20 #ifndef GSLPP_VECTOR_DOUBLE_H
23 #ifndef GSLPP_VECTOR_COMPLEX_H
26 #ifndef GSLPP_MATRIX_BASE_H
29 #ifndef GSLPP_MATRIX_DOUBLE_H
56 matrix(
const size_t& size_i,
const size_t& size_j,
const complex& z);
64 matrix(
const size_t& size_i,
const size_t& size_j,
const double& a);
65 matrix(
const size_t& size_i,
const double& a);
71 matrix(
const gsl_matrix_complex& m);
72 matrix(
const gsl_matrix_complex* m);
76 const complex operator()(
const size_t& i,
const size_t& j)
const;
82 void assign(
const size_t& i,
const size_t& j,
const complex& z);
83 void assign(
const size_t& i,
const size_t& j,
const double& a);
84 void assign(
const size_t& i,
const size_t& j,
const matrix<complex>& z);
85 void assign(
const size_t& i,
const size_t& j,
const matrix<double>& a);
86 void assignre(
const size_t& i,
const size_t& j,
const double& a);
87 void assignim(
const size_t& i,
const size_t& j,
const double& a);
89 size_t size_i()
const;
90 size_t size_j()
const;
116 gsl_matrix_complex* as_gsl_type_ptr()
const;
117 gsl_matrix_complex& as_gsl_type();
118 const gsl_matrix_complex& as_gsl_type()
const;
178 friend std::ostream& operator<<(std::ostream& output, const matrix<complex>& v);
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.
gsl_matrix_complex * _matrix
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.