CVR-Lib last update 20 Sep 2009

cvrComplex.h File Reference

CVR-Lib version of the complex numbers. More...

#include "cvrMath.h"
#include "cvrIoHandler.h"
#include <complex>
#include <iostream>
#include "cvrComplex_inline.h"
#include "cvrComplex_template.h"

Include dependency graph for cvrComplex.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cvr::complex< T >
 Class to represent and manipulate complex numbers. More...

Namespaces

namespace  cvr
namespace  std

Operators for complex numbers

typedef complex< float > cvr::fcomplex
typedef complex< double > cvr::dcomplex
template<typename T >
complex< T > cvr::operator+ (const complex< T > &a, const complex< T > &b)
template<typename T >
complex< T > cvr::operator+ (const complex< T > &a, const T &b)
template<typename T >
complex< T > cvr::operator+ (const T &a, const complex< T > &b)
template<typename T >
complex< T > cvr::operator- (const complex< T > &a, const complex< T > &b)
template<typename T >
complex< T > cvr::operator- (const complex< T > &a, const T &b)
template<typename T >
complex< T > cvr::operator- (const T &a, const complex< T > &b)
template<typename T >
complex< T > cvr::operator* (const complex< T > &a, const complex< T > &b)
template<typename T >
complex< T > cvr::operator* (const complex< T > &a, const T &b)
template<typename T >
complex< T > cvr::operator* (const T &a, const complex< T > &b)
template<typename T >
complex< T > cvr::operator/ (const complex< T > &a, const complex< T > &b)
template<typename T >
complex< T > cvr::operator/ (const complex< T > &a, const T &b)
template<typename T >
complex< T > cvr::operator/ (const T &a, const complex< T > &b)
template<typename T >
complex< T > cvr::operator+ (const complex< T > &a)
template<typename T >
complex< T > cvr::operator- (const complex< T > &a)
template<typename T >
bool cvr::operator== (const complex< T > &a, const complex< T > &b)
template<typename T >
bool cvr::operator== (const complex< T > &a, const T &b)
template<typename T >
bool cvr::operator== (const T &a, const complex< T > &b)
template<typename T >
bool cvr::operator!= (const complex< T > &a, const complex< T > &b)
template<typename T >
bool cvr::operator!= (const complex< T > &a, const T &b)
template<typename T >
bool cvr::operator!= (const T &a, const complex< T > &b)
template<typename T >
bool cvr::operator< (const complex< T > &a, const complex< T > &b)
template<typename T >
bool cvr::operator< (const complex< T > &a, const T &b)
template<typename T >
bool cvr::operator< (const T &a, const complex< T > &b)
template<typename T >
bool cvr::operator> (const complex< T > &a, const complex< T > &b)
template<typename T >
bool cvr::operator> (const complex< T > &a, const T &b)
template<typename T >
bool cvr::operator> (const T &a, const complex< T > &b)
template<typename T >
cvr::real (const complex< T > &cn)
template<typename T >
cvr::imag (const complex< T > &cn)
template<typename T >
cvr::sqrAbs (const complex< T > &x)
template<typename T >
cvr::abs (const complex< T > &cn)
template<typename T >
cvr::arg (const complex< T > &cn)
template<typename T >
cvr::norm (const complex< T > &cn)
template<typename T >
complex< T > cvr::polar (const T &radius, const T &angle)
template<typename T >
complex< T > cvr::conj (const complex< T > &cn)
template<typename T >
complex< T > cvr::cos (const complex< T > &cn)
template<typename T >
complex< T > cvr::cosh (const complex< T > &cn)
template<typename T >
complex< T > cvr::acos (const complex< T > &cn)
template<typename T >
complex< T > cvr::exp (const complex< T > &cn)
template<typename T >
complex< T > cvr::log (const complex< T > &cn)
template<typename T >
complex< T > cvr::log10 (const complex< T > &cn)
template<typename T >
complex< T > cvr::sin (const complex< T > &cn)
template<typename T >
complex< T > cvr::sinh (const complex< T > &cn)
template<typename T >
complex< T > cvr::asin (const complex< T > &cn)
template<typename T >
complex< T > cvr::sqrt (const complex< T > &cn)
template<typename T >
complex< T > cvr::cbrt (const complex< T > &cn)
template<typename T >
complex< T > cvr::cubeRoot (const complex< T > &cn)
template<typename T >
complex< T > cvr::tan (const complex< T > &cn)
template<typename T >
complex< T > cvr::tanh (const complex< T > &cn)
template<typename T >
complex< T > cvr::atan (const complex< T > &cn)
template<typename T >
complex< T > cvr::pow (const complex< T > &a, const T &b)
template<typename T >
complex< T > cvr::pow (const complex< T > &a, const complex< T > &b)
template<typename T >
complex< T > cvr::pow (const T &a, const complex< T > &b)
template<typename T >
bool cvr::read (ioHandler &handler, complex< T > &p, const bool complete=true)
template<typename T >
bool cvr::write (ioHandler &handler, const complex< T > &p, const bool complete=true)


Detailed Description

CVR-Lib version of the complex numbers.

There are a few features besides the std::complex, but both types are compatible.

Author:
Pablo Alvarado
Date:
06.04.2003
Id
cvrComplex.h,v 1.3 2007/11/03 23:55:10 alvarado Exp

Generated on Sun Sep 20 22:08:04 2009 for CVR-Lib by Doxygen 1.5.8