MTL 4: mtl::matrix::crtp_matrix_assign< Matrix, ValueType, SizeType > Struct Template Reference
#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_c < boost::is_same< Matrix, Source >::value||boost::is_same < typename ashape::ashape < Source >::type, ashape::scal > ::value, 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 24 Aug 2009 by Doxygen 1.5.9 -- Copyright 2008-09 by TU Dresden and the Trustees of Indiana University.