SCIRun
5.0
|
#include <MatrixTypeConversions.h>
Static Public Member Functions | |
template<class ToType > | |
static boost::shared_ptr< ToType > | to (const MatrixHandle &matrix, typename boost::enable_if< boost::is_base_of< MatrixBase< typename ToType::value_type >, ToType > >::type *=0) |
static DenseMatrixHandle | as_dense (const MatrixHandle &mh) |
static SparseRowMatrixHandle | as_sparse (const MatrixHandle &mh) |
static DenseColumnMatrixHandle | as_column (const MatrixHandle &mh) |
No conversion is done. NULL is returned if the matrix is not of the appropriate type.
|
static |
|
static |
|
static |
|
inlinestatic |