Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

Phx::Matrix< Rows, Cols, value_type > Class Template Reference

A dimension-templatized class for matrices of values. More...

#include <PhxMatrix.h>

Inheritance diagram for Phx::Matrix< Rows, Cols, value_type >:

Phx::BasicIndexMatrix< Rows, Cols, value_type > Phx::BasicMatrix< Rows, Cols, value_type > List of all members.

Public Member Functions

 Matrix (const value_type *data)

Detailed Description

template<uint16_t Rows, uint16_t Cols, typename value_type = double>
class Phx::Matrix< Rows, Cols, value_type >

A dimension-templatized class for matrices of values.

This template class generically supports any constant-sized matrix of values. The Rows and Cols template parameters define the size of the matrix at compile-time. Hence, the size of the matrix cannot be chosen at runtime. However, the dimensions are appropriately type-checked at compile-time where possible.

By default, the matrix contains values of type double. The value_type template parameter may be selected to allow matrices of integers or floats.

Note:
At present, type cohersion between matrices with different value_type parameters is not implemented. It is recommended that matrices with value type double be used for all numerical computation.
Note that the special cases of row and column vectors are subsumed by this class.


The documentation for this class was generated from the following file:
Generated on Mon Jul 10 19:45:30 2006 for Phoenix OSFS by  doxygen 1.4.2