Logo MTL4

mtl::matrix::crtp_matrix_assign< Matrix, ValueType, SizeType > Struct Template Reference

Base class to provide matrix assignment operators generically. More...

#include <crtp_base_matrix.hpp>

List of all members.

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 >
Matrixoperator*= (const Factor &alpha)
 Scale matrix (in place) with scalar value or other matrix.
template<typename Factor >
Matrixoperator/= (const Factor &alpha)
 Divide matrix (in place) by scalar value.


Detailed Description

template<typename Matrix, typename ValueType, typename SizeType>
struct mtl::matrix::crtp_matrix_assign< Matrix, ValueType, SizeType >

Base class to provide matrix assignment operators generically.
The documentation for this struct was generated from the following file:


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.