cpe Namespace Reference

Namespace for CPE classes. More...

Classes

class  exception_cpe
 General exception class. More...
 
class  matrix2
 Matrix 2x2. More...
 
class  exception_matrix2
 Special exception class for v3. More...
 
class  matrix3
 Matrix 3x3. More...
 
class  exception_matrix3
 Special exception class for v3. More...
 
class  matrix4
 Matrix 4x4. More...
 
class  exception_matrix4
 Special exception class for v3. More...
 
class  quaternion
 Quaternion class. More...
 
class  exception_quaternion
 Special exception class for v4. More...
 
class  v2
 Vectors/Points 2D. More...
 
class  exception_v2
 Special exception class for v2. More...
 
class  v3
 Vectors/Points 3D. More...
 
class  exception_v3
 Special exception class for v3. More...
 
class  v4
 Vectors/Points 4D. More...
 
class  exception_v4
 Special exception class for v4. More...
 

Functions

matrix2 operator+ (const double &s, const matrix2 &m)
 
  • operator

 
matrix2 operator- (const double &s, const matrix2 &m)
 
  • operator

 
matrix2 operator* (const double &s, const matrix2 &m)
 multiply by a scalar operator
 
std::ostream & operator<< (std::ostream &stream, const matrix2 &m)
 output the vector in ostream
 
matrix3 operator+ (const double &s, const matrix3 &m)
 
  • operator

 
matrix3 operator- (const double &s, const matrix3 &m)
 
  • operator

 
matrix3 operator* (const double &s, const matrix3 &m)
 multiply by a scalar operator
 
std::ostream & operator<< (std::ostream &stream, const matrix3 &m)
 output the vector in ostream
 
matrix4 operator+ (const double &s, const matrix4 &m)
 
  • operator

 
matrix4 operator- (const double &s, const matrix4 &m)
 
  • operator

 
matrix4 operator* (const double &s, const matrix4 &m)
 multiply by a scalar operator
 
std::ostream & operator<< (std::ostream &stream, const matrix4 &m)
 output the vector in ostream
 
quaternion operator* (const double &s, const quaternion &q)
 multiplication with scalar
 
v2 operator+ (const double &s, const v2 &p)
 
  • operator

 
v2 operator- (const double &s, const v2 &p)
 
  • operator

 
v2 operator* (const double &s, const v2 &p)
 multiply by a scalar operator
 
std::ostream & operator<< (std::ostream &stream, const v2 &p)
 output the vector in ostream as (x,y,z)
 
v3 operator+ (const double &s, const v3 &p)
 
  • operator

 
v3 operator- (const double &s, const v3 &p)
 
  • operator

 
v3 operator* (const double &s, const v3 &p)
 multiply by a scalar operator
 
std::ostream & operator<< (std::ostream &stream, const v3 &p)
 output the vector in ostream as (x,y,z)
 
v4 operator+ (const double &s, const v4 &p)
 
  • operator

 
v4 operator- (const double &s, const v4 &p)
 
  • operator

 
v4 operator* (const double &s, const v4 &p)
 multiply by a scalar operator
 
std::ostream & operator<< (std::ostream &stream, const v4 &p)
 output the vector in ostream as (x,y,z)
 

Detailed Description

Namespace for CPE classes.

Function Documentation

matrix2 cpe::operator* ( const double &  s,
const matrix2 &  m 
)

multiply by a scalar operator

matrix3 cpe::operator* ( const double &  s,
const matrix3 &  m 
)

multiply by a scalar operator

v2 cpe::operator* ( const double &  s,
const v2 &  p 
)

multiply by a scalar operator

References cpe::v2::x(), and cpe::v2::y().

+ Here is the call graph for this function:

v3 cpe::operator* ( const double &  s,
const v3 &  p 
)

multiply by a scalar operator

References cpe::v3::x(), cpe::v3::y(), and cpe::v3::z().

+ Here is the call graph for this function:

v4 cpe::operator* ( const double &  s,
const v4 &  p 
)

multiply by a scalar operator

References cpe::v4::w(), cpe::v4::x(), cpe::v4::y(), and cpe::v4::z().

+ Here is the call graph for this function:

quaternion cpe::operator* ( const double &  s,
const quaternion &  q 
)

multiplication with scalar

matrix4 cpe::operator* ( const double &  s,
const matrix4 &  m 
)

multiply by a scalar operator

References cpe::matrix4::pointer().

+ Here is the call graph for this function:

matrix2 cpe::operator+ ( const double &  s,
const matrix2 &  m 
)

  • operator

matrix3 cpe::operator+ ( const double &  s,
const matrix3 &  m 
)

  • operator

v2 cpe::operator+ ( const double &  s,
const v2 &  p 
)

  • operator

References cpe::v2::x(), and cpe::v2::y().

+ Here is the call graph for this function:

v3 cpe::operator+ ( const double &  s,
const v3 &  p 
)

  • operator

References cpe::v3::x(), cpe::v3::y(), and cpe::v3::z().

+ Here is the call graph for this function:

matrix4 cpe::operator+ ( const double &  s,
const matrix4 &  m 
)

  • operator

References cpe::matrix4::pointer().

+ Here is the call graph for this function:

v4 cpe::operator+ ( const double &  s,
const v4 &  p 
)

  • operator

References cpe::v4::w(), cpe::v4::x(), cpe::v4::y(), and cpe::v4::z().

+ Here is the call graph for this function:

matrix2 cpe::operator- ( const double &  s,
const matrix2 &  m 
)

  • operator

References cpe::matrix2::pointer().

+ Here is the call graph for this function:

matrix3 cpe::operator- ( const double &  s,
const matrix3 &  m 
)

  • operator

References cpe::matrix3::pointer().

+ Here is the call graph for this function:

v2 cpe::operator- ( const double &  s,
const v2 &  p 
)

  • operator

References cpe::v2::x(), and cpe::v2::y().

+ Here is the call graph for this function:

v3 cpe::operator- ( const double &  s,
const v3 &  p 
)

  • operator

References cpe::v3::x(), cpe::v3::y(), and cpe::v3::z().

+ Here is the call graph for this function:

matrix4 cpe::operator- ( const double &  s,
const matrix4 &  m 
)

  • operator

References cpe::matrix4::pointer().

+ Here is the call graph for this function:

v4 cpe::operator- ( const double &  s,
const v4 &  p 
)

  • operator

References cpe::v4::w(), cpe::v4::x(), cpe::v4::y(), and cpe::v4::z().

+ Here is the call graph for this function:

std::ostream & cpe::operator<< ( std::ostream &  stream,
const v2 &  p 
)

output the vector in ostream as (x,y,z)

References cpe::v2::to_string().

+ Here is the call graph for this function:

std::ostream & cpe::operator<< ( std::ostream &  stream,
const matrix2 &  _m 
)

output the vector in ostream

References cpe::matrix2::pointer().

+ Here is the call graph for this function:

std::ostream & cpe::operator<< ( std::ostream &  stream,
const matrix3 &  _m 
)

output the vector in ostream

References cpe::matrix3::pointer().

+ Here is the call graph for this function:

std::ostream & cpe::operator<< ( std::ostream &  stream,
const v3 &  p 
)

output the vector in ostream as (x,y,z)

References cpe::v3::to_string().

+ Here is the call graph for this function:

std::ostream & cpe::operator<< ( std::ostream &  stream,
const v4 &  p 
)

output the vector in ostream as (x,y,z)

References cpe::v4::to_string().

+ Here is the call graph for this function:

std::ostream & cpe::operator<< ( std::ostream &  stream,
const matrix4 &  _m 
)

output the vector in ostream

References cpe::matrix4::pointer().

+ Here is the call graph for this function: