8 #ifndef GSLPP_VECTOR_COMPLEX_H
9 #define GSLPP_VECTOR_COMPLEX_H
11 #ifndef __GSL_VECTOR_COMPLEX_DOUBLE_H__
12 #include <gsl/gsl_vector_complex_double.h>
14 #ifndef GSLPP_COMPLEX_H
17 #ifndef GSLPP_VECTOR_BASE_H
40 vector(
const size_t& size,
const double& a);
44 vector(
const gsl_vector_complex& v);
45 vector(
const gsl_vector_complex* v);
49 const complex operator()(
const size_t& i)
const;
56 void assign(
const size_t& i,
const complex& z);
57 void assign(
const size_t& i,
const double& a);
69 gsl_vector_complex* as_gsl_type_ptr()
const;
70 gsl_vector_complex& as_gsl_type();
71 const gsl_vector_complex& as_gsl_type()
const;
120 friend std::ostream& operator<<(std::ostream& output, const vector<complex>& v);
complex operator*(const double &x1, const complex &z2)
gsl_vector_complex * _vector
A class for constructing and defining operations on complex vectors.
complex operator/(const double &x1, const complex &z2)
A class for constructing and defining operations on real vectors.
A base class for defining operations on vectors, both real and complex.
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.