#include <crtp_base_matrix.hpp>
Public Member Functions | |
void | checked_change_dim (SizeType r, SizeType c) |
Check whether matrix sizes are compatible or if matrix is 0 by 0 change it to r by c. | |
template<typename Source> | |
boost::disable_if< typename boost::is_same< Matrix, Source > , Matrix & >::type | operator= (const Source &src) |
Templated assignment implemented by functor to allow for partial specialization. | |
template<typename Factor> | |
Matrix & | operator*= (const Factor &alpha) |
Scale matrix (in place) with scalar value or other matrix. | |
template<typename Factor> | |
Matrix & | operator/= (const Factor &alpha) |
Divide matrix (in place) by scalar value. |
mtl::matrix::crtp_matrix_assign< Matrix, ValueType, SizeType > Struct Template Reference -- MTL 4 -- Peter Gottschling and Andrew Lumsdaine
-- Generated on 19 May 2009 by Doxygen 1.5.5 -- Copyright 2007 by the Trustees of Indiana University.