SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
matrix_cast Class Reference

#include <MatrixTypeConverter.h>

Static Public Member Functions

template<class ToType >
static ToType * to (const MatrixHandle &matrix, typename boost::enable_if< boost::is_base_of< MatrixBase, ToType > >::type *=0)
 
static DenseMatrixas_dense (const MatrixHandle &mh)
 
static SparseRowMatrixas_sparse (const MatrixHandle &mh)
 
static ColumnMatrixas_column (const MatrixHandle &mh)
 
static DenseColMajMatrixas_dense_col_maj (const MatrixHandle &mh)
 

Member Function Documentation

DenseColumnMatrixHandle as_column ( const MatrixHandle mh)
inlinestatic
DenseMatrixHandle as_dense ( const MatrixHandle mh)
inlinestatic
static DenseColMajMatrix* as_dense_col_maj ( const MatrixHandle mh)
inlinestatic
SparseRowMatrixHandle as_sparse ( const MatrixHandle mh)
inlinestatic
static ToType* to ( const MatrixHandle matrix,
typename boost::enable_if< boost::is_base_of< MatrixBase, ToType > >::type *  = 0 
)
inlinestatic

The documentation for this class was generated from the following files: