misc.h File Reference

#include <cml/mathlib/checking.h>

Include dependency graph for misc.h:

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

Go to the source code of this file.

Namespaces

namespace  cml

Functions

template<size_t N>
vector< double, fixed< N > > cml::axis (size_t i)
 Return an N-d cardinal axis by index.
vector< double, fixed< 2 > > cml::axis_2D (size_t i)
 Return a 2D cardinal axis by index.
vector< double, fixed< 3 > > cml::axis_3D (size_t i)
 Return a 3D cardinal axis by index.
template<size_t N>
matrix< double, fixed< N, N >
, row_basis, row_major > 
cml::identity ()
 Return an NxN identity matrix.
matrix< double, fixed
< 2, 2 >, row_basis, row_major > 
cml::identity_2x2 ()
 Return the 2x2 identity matrix.
matrix< double, fixed
< 3, 3 >, row_basis, row_major > 
cml::identity_3x3 ()
 Return the 3x3 identity matrix.
matrix< double, fixed
< 4, 4 >, row_basis, row_major > 
cml::identity_4x4 ()
 Return the 4x4 identity matrix.
template<size_t N, size_t M>
matrix< double, fixed< N, M >
, row_basis, row_major > 
cml::identity_transform ()
 Return an NxM identity transform.
matrix< double, fixed
< 2, 3 >, col_basis, col_major > 
cml::identity_transform_2x3 ()
 Return a 2x3 identity transform.
matrix< double, fixed
< 3, 2 >, row_basis, row_major > 
cml::identity_transform_3x2 ()
 Return a 3x2 identity transform.
matrix< double, fixed
< 3, 4 >, col_basis, col_major > 
cml::identity_transform_3x4 ()
 Return a 3x4 identity transform.
matrix< double, fixed
< 4, 3 >, row_basis, row_major > 
cml::identity_transform_4x3 ()
 Return a 4x3 identity transform.
vector< double, fixed< 2 > > cml::x_axis_2D ()
 Return a the 2D x cardinal axis.
vector< double, fixed< 3 > > cml::x_axis_3D ()
 Return a the 3D x cardinal axis.
vector< double, fixed< 2 > > cml::y_axis_2D ()
 Return a the 2D y cardinal axis.
vector< double, fixed< 3 > > cml::y_axis_3D ()
 Return a the 3D y cardinal axis.
vector< double, fixed< 3 > > cml::z_axis_3D ()
 Return a the 3D z cardinal axis.
template<size_t N>
vector< double, fixed< N > > cml::zero ()
 Return an N-d zero vector.
vector< double, fixed< 2 > > cml::zero_2D ()
 Return the 2D zero vector.
matrix< double, fixed
< 2, 2 >, row_basis, row_major > 
cml::zero_2x2 ()
 Return the 2x2 zero matrix.
vector< double, fixed< 3 > > cml::zero_3D ()
 Return the 3D zero vector.
matrix< double, fixed
< 3, 3 >, row_basis, row_major > 
cml::zero_3x3 ()
 Return the 3x3 zero matrix.
vector< double, fixed< 4 > > cml::zero_4D ()
 Return the 4D zero vector.
matrix< double, fixed
< 4, 4 >, row_basis, row_major > 
cml::zero_4x4 ()
 Return the 4x4 zero matrix.


Detailed Description

Definition in file misc.h.


Generated on Sat Jul 18 19:35:36 2009 for CML 1.0 by  doxygen 1.5.9