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) |
| |
matrix2 | operator- (const double &s, const matrix2 &m) |
| |
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) |
| |
matrix3 | operator- (const double &s, const matrix3 &m) |
| |
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) |
| |
matrix4 | operator- (const double &s, const matrix4 &m) |
| |
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) |
| |
v2 | operator- (const double &s, const v2 &p) |
| |
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) |
| |
v3 | operator- (const double &s, const v3 &p) |
| |
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) |
| |
v4 | operator- (const double &s, const v4 &p) |
| |
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) | |
Namespace for CPE classes.
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().
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().
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().
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().
matrix2 cpe::operator+ | ( | const double & | s, |
const matrix2 & | m | ||
) |
matrix3 cpe::operator+ | ( | const double & | s, |
const matrix3 & | m | ||
) |
v2 cpe::operator+ | ( | const double & | s, |
const v2 & | p | ||
) |
v3 cpe::operator+ | ( | const double & | s, |
const v3 & | p | ||
) |
References cpe::v3::x(), cpe::v3::y(), and cpe::v3::z().
matrix4 cpe::operator+ | ( | const double & | s, |
const matrix4 & | m | ||
) |
v4 cpe::operator+ | ( | const double & | s, |
const v4 & | p | ||
) |
References cpe::v4::w(), cpe::v4::x(), cpe::v4::y(), and cpe::v4::z().
matrix2 cpe::operator- | ( | const double & | s, |
const matrix2 & | m | ||
) |
matrix3 cpe::operator- | ( | const double & | s, |
const matrix3 & | m | ||
) |
v2 cpe::operator- | ( | const double & | s, |
const v2 & | p | ||
) |
v3 cpe::operator- | ( | const double & | s, |
const v3 & | p | ||
) |
References cpe::v3::x(), cpe::v3::y(), and cpe::v3::z().
matrix4 cpe::operator- | ( | const double & | s, |
const matrix4 & | m | ||
) |
v4 cpe::operator- | ( | const double & | s, |
const v4 & | p | ||
) |
References cpe::v4::w(), cpe::v4::x(), cpe::v4::y(), and cpe::v4::z().
std::ostream & cpe::operator<< | ( | std::ostream & | stream, |
const v2 & | p | ||
) |
output the vector in ostream as (x,y,z)
References cpe::v2::to_string().
std::ostream & cpe::operator<< | ( | std::ostream & | stream, |
const matrix2 & | _m | ||
) |
output the vector in ostream
References cpe::matrix2::pointer().
std::ostream & cpe::operator<< | ( | std::ostream & | stream, |
const matrix3 & | _m | ||
) |
output the vector in ostream
References cpe::matrix3::pointer().
std::ostream & cpe::operator<< | ( | std::ostream & | stream, |
const v3 & | p | ||
) |
output the vector in ostream as (x,y,z)
References cpe::v3::to_string().
std::ostream & cpe::operator<< | ( | std::ostream & | stream, |
const v4 & | p | ||
) |
output the vector in ostream as (x,y,z)
References cpe::v4::to_string().
std::ostream & cpe::operator<< | ( | std::ostream & | stream, |
const matrix4 & | _m | ||
) |
output the vector in ostream
References cpe::matrix4::pointer().