#include <iostream>
#include <cmath>
#include <cstring>
#include <type_traits>
#include "functionCompiler.hh"
#include "exceptions.hh"
#include "typedefs.hh"
#include "vectorsMatricesForward.hh"
#include "debug.hh"
Go to the source code of this file.
Namespaces | |
namespace | concepts |
Macros | |
#define | MappingAppll_D 0 |
#define | MappingAppl_D 0 |
#define | MappingConstructorHack 1 |
Typedefs | |
typedef Mapping< Real, 2 > | concepts::MapReal2d |
typedef Mapping< Real, 3 > | concepts::MapReal3d |
typedef Mapping< Cmplx, 2 > | concepts::MapCmplx2d |
typedef Mapping< Cmplx, 3 > | concepts::MapCmplx3d |
Functions | |
template<typename F , typename G > | |
void | concepts::memorycpy (F *dest, const G *src, size_t n) |
Copies n entries from src to dest (faster than std::memcpy ) | |
template<class F , uint dim> | |
std::ostream & | concepts::operator<< (std::ostream &os, const Point< F, dim > &p) |
template<class F , uint dim> | |
bool | concepts::operator== (const Point< F, dim > &x, const Point< F, dim > &y) |
template<class F , uint dim> | |
Point< typename Combtype< F, Real >::type, dim > | concepts::operator* (const Real x, const Point< F, dim > &y) |
template<class F , uint dim> | |
Point< typename Combtype< F, Cmplx >::type, dim > | concepts::operator* (const Cmplx x, const Point< F, dim > &y) |
template<uint dim> | |
Cmplx | concepts::operator* (const Point< Cmplx, dim > &a, const Point< Real, dim > &b) |
template<uint dim> | |
Cmplx | concepts::operator* (const Point< Real, dim > &a, const Point< Cmplx, dim > &b) |
template<class F , uint DimY, uint DimX> | |
std::ostream & | concepts::operator<< (std::ostream &os, const Mapping< F, DimY, DimX > &m) |
template<class F , uint dim> | |
const concepts::Point< F, dim > | std::conj (const concepts::Point< F, dim > &v) |
template<class F , uint dim> | |
const concepts::Real | std::norm (const concepts::Point< F, dim > &v) |
concepts::Real | std::arg (const concepts::Point< concepts::Real, 2 > &p) |
Vectors and matrices for 2D and 3D
Definition in file vectorsMatrices.hh.
#define MappingAppl_D 0 |
Definition at line 23 of file vectorsMatrices.hh.
#define MappingAppll_D 0 |
Definition at line 22 of file vectorsMatrices.hh.
#define MappingConstructorHack 1 |
Definition at line 25 of file vectorsMatrices.hh.
concepts::Real std::arg | ( | const concepts::Point< concepts::Real, 2 > & | p | ) |
Returns the phase angle of a real 2D vector.
It is an extension of that definition for complex numbers from <complex>.
|
inline |
Returns the conjugate complex of a vector.
It is an extension of that definition for complex numbers from <complex>.
Definition at line 709 of file vectorsMatrices.hh.
|
inline |
Returns the norm of a vector.
It is an extension of that definition for complex numbers from <complex>.
Definition at line 722 of file vectorsMatrices.hh.