#include <matrixadapter.h>
Inheritance diagram for mat::MatrixInterfaceAdapter< M, T, ScaleT, RegionT >:
This class is intended to duplicate the semantics of MatrixAdapter<>, so see the documentation for that class for more information.
Definition at line 227 of file matrixadapter.h.
Public Types | |
typedef MatrixInterface< T >::size_type | size_type |
typedef MatrixInterface< T >::value_type | value_type |
typedef ScaleT | ScaleType |
typedef RegionT | Region |
Public Methods | |
MatrixInterfaceAdapter (const M &x, const ScaleType &vscale=ScaleType(), const Region ®ion=Region(), const double &size_multiplier=1.0) | |
Constructor for a reference to an external matrix with its own lifetime that is larger than that of this object. | |
MatrixInterfaceAdapter (M *x, const ScaleType &vscale=ScaleType(), const Region ®ion=Region(), const double &size_multiplier=1.0) | |
Constructor for a newly-allocated matrix which will be owned by this object and deleted when this object is destroyed. | |
value_type | operator() (const size_type row, const size_type col) const |
size_type | nrows () const |
Number of rows in the virtual matrix. | |
size_type | ncols () const |
Number of columns in the virtual matrix. | |
Protected Attributes | |
MatrixAdapter< M, value_type > | ma |