add cast<newtype>() function to casts the scalars to another type.

This commit is contained in:
Benoit Jacob
2007-10-19 14:46:08 +00:00
parent d6f26dc8eb
commit 49c78643da
6 changed files with 77 additions and 3 deletions

View File

@@ -43,6 +43,7 @@ using Eigen::Matrix;
//forward declarations
template<typename _Scalar, int _Rows, int _Cols> class Matrix;
template<typename MatrixType> class MatrixRef;
template<typename NewScalar, typename MatrixType> class Cast;
template<typename MatrixType> class Row;
template<typename MatrixType> class Column;
template<typename MatrixType> class Minor;