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>

Inheritance diagram for mtl::matrix::crtp_matrix_assign< Matrix, ValueType, SizeType >:

Inheritance graph
[legend]

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< 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>
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 19 May 2009 by Doxygen 1.5.5 -- Copyright 2007 by the Trustees of Indiana University.