ccgsl 2.7.2
C++wrappersforGnuScientificLibrary
complex_float.hpp File Reference
#include <cmath>
#include <cstring>
#include <complex>
#include <gsl/gsl_complex.h>
#include <gsl/gsl_complex_math.h>
Include dependency graph for complex_float.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  gsl::complex_float
 This class handles complex_float numbers. More...
 
class  gsl::complex_float_ref
 This class can be used like a reference for complex_float objects so that we can iterate over a vector (for example) of them. More...
 
class  gsl::complex_float_ptr
 This class can be used like a pointer for complex_float objects so that we can iterate over a vector (for example) of them. More...
 

Namespaces

namespace  gsl
 The gsl package creates an interface to the GNU Scientific Library for C++.
 
namespace  gsl::cpx_float
 The gsl::cpx_float namespace allows the gsl::complex_float static funtions to be called from a namespace and so allows the usual C++ convenience of using code like the following.
 

Typedefs

typedef gsl_complex_packed_float gsl::complex_packed_float
 Typedef. More...
 
typedef gsl_const_complex_packed_float gsl::complex_const_packed_float
 Typedef. More...
 
typedef gsl_complex_packed_float_ptr gsl::complex_packed_float_ptr
 Typedef. More...
 
typedef gsl_const_complex_packed_float_ptr gsl::complex_const_packed_float_ptr
 Typedef. More...
 
typedef gsl_complex_packed_array_float gsl::complex_packed_array_float
 Typedef. More...
 
typedef gsl_const_complex_packed_array_float gsl::complex_const_packed_array_float
 Typedef. More...
 

Functions

template<typename Ch , typename Tr >
std::basic_ostream< Ch, Tr > & gsl::operator<< (std::basic_ostream< Ch, Tr > &stream, complex_float const &z)
 Define the << operator so that we can use expressions like. More...
 
template<typename Ch , typename Tr >
std::basic_ostream< Ch, Tr > & gsl::operator<< (std::basic_ostream< Ch, Tr > &stream, complex_float_ref const &z)
 Define the << operator so that we can use expressions like. More...
 
complex_float gsl::cpx_float::rect (float x, float y)
 C++ version of gsl_complex_float_rect(). More...
 
complex_float gsl::cpx_float::polar (float r, float theta)
 C++ version of gsl_complex_float_rect(). More...