vectorsMatrices.hh File Reference

#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.

Classes

struct  concepts::Coordinate< CoordDim >
 
struct  concepts::CoordinateParam< CoordDim >
 
struct  concepts::Datatype< Mapping< F, DimY, DimX > >
 
struct  concepts::Datatype< Point< F, dim > >
 
struct  concepts::GeneralMapping< F, dim >
 Introduction of a mapping type which is Real or Cmplx for dimension 1 and Mapping<Real,dim> or Mapping<Cmplx,dim> for higher dimensions. More...
 
struct  concepts::GeneralMapping< F, 1 >
 
struct  concepts::GeneralPoint< F, CoordDim >
 Introduction of a point type which is Real or Cmplx for dimension 1 and Point<Real,dim> or Point<Cmplx,dim> for higher dimensions. More...
 
class  concepts::Mapping< F, DimY, DimX >
 Basic class for a 2D or 3D map. More...
 
struct  concepts::number< Mapping< F, dim > >
 
struct  concepts::number< Point< F, dim > >
 
class  concepts::Point< F, dim >
 Basic class for a Point or a vector. More...
 
struct  concepts::Realtype< Mapping< F, DimY, DimX > >
 
struct  concepts::Realtype< Point< F, dim > >
 
class  concepts::UnitNd< dim >
 A vector of dimension dim and length 1. More...
 

Namespaces

 concepts
 Basic namespace for Concepts-2.
 
 std
 

Macros

#define MappingAppl_D   0
 
#define MappingAppll_D   0
 
#define MappingConstructorHack   1
 

Typedefs

typedef Mapping< Cmplx, 2 > concepts::MapCmplx2d
 
typedef Mapping< Cmplx, 3 > concepts::MapCmplx3d
 
typedef Mapping< Real, 2 > concepts::MapReal2d
 
typedef Mapping< Real, 3 > concepts::MapReal3d
 

Functions

concepts::Real std::arg (const concepts::Point< concepts::Real, 2 > &p)
 Returns the phase angle of a real 2D vector. More...
 
template<class F , uint dim>
const concepts::Point< F, dim > std::conj (const concepts::Point< F, dim > &v)
 Returns the conjugate complex of a vector. More...
 
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) More...
 
template<class F , uint dim>
const concepts::Real std::norm (const concepts::Point< F, dim > &v)
 Returns the norm of a vector. More...
 
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 dim>
Point< typename Combtype< F, Real >::type, dim > concepts::operator* (const Real x, const Point< F, dim > &y)
 
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>
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)
 

Detailed Description

Vectors and matrices for 2D and 3D

Definition in file vectorsMatrices.hh.

Macro Definition Documentation

◆ MappingAppl_D

#define MappingAppl_D   0

Definition at line 24 of file vectorsMatrices.hh.

◆ MappingAppll_D

#define MappingAppll_D   0

Definition at line 23 of file vectorsMatrices.hh.

◆ MappingConstructorHack

#define MappingConstructorHack   1

Definition at line 26 of file vectorsMatrices.hh.

Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich