CAPD DynSys Library  5.2.0
MatrixSlice< matrix > Class Template Reference

This class represents a matrix without own container and data it is used for operations on submatrices. More...

#include <capd/vectalg/MatrixSlice.h>

Public Types

typedef matrix::ScalarType ScalarType
 
typedef matrix::size_type size_type
 

Public Member Functions

 MatrixSlice (matrix &m, int A_mFirstRow, int A_nLastRow, int A_nFirstCol, int A_nLastCol)
 
ScalarTypeat (size_type i, size_type j)
 
const ScalarTypeat (size_type i, size_type j) const
 
size_type numberOfRows () const
 
size_type numberOfColumns () const
 
size_type rowStride () const
 
size_type columnStride () const
 
MatrixIterator< MatrixSlice< matrix > > beginMatrix ()
 
MatrixIterator< MatrixSlice< matrix > > endMatrix ()
 
MatrixIterator< MatrixSlice< matrix > > beginOfRow (size_type i)
 
MatrixIterator< MatrixSlice< matrix > > beginOfColumn (size_type j)
 
MatrixIterator< MatrixSlice< matrix > > endOfRow (size_type i)
 
MatrixIterator< MatrixSlice< matrix > > endOfColumn (size_type j)
 
const_MatrixIterator< MatrixSlice< matrix > > beginMatrix () const
 
const_MatrixIterator< MatrixSlice< matrix > > endMatrix () const
 
const_MatrixIterator< MatrixSlice< matrix > > beginOfRow (size_type i) const
 
const_MatrixIterator< MatrixSlice< matrix > > beginOfColumn (size_type j) const
 
const_MatrixIterator< MatrixSlice< matrix > > endOfRow (size_type i) const
 
const_MatrixIterator< MatrixSlice< matrix > > endOfColumn (size_type j) const
 

Detailed Description

template<typename matrix>
class MatrixSlice< matrix >

This class represents a matrix without own container and data it is used for operations on submatrices.

Member Typedef Documentation

◆ ScalarType

template<typename matrix >
typedef matrix::ScalarType MatrixSlice< matrix >::ScalarType

◆ size_type

template<typename matrix >
typedef matrix::size_type MatrixSlice< matrix >::size_type

Member Function Documentation

◆ beginMatrix()

template<typename matrix >
const_MatrixIterator< MatrixSlice<matrix> > MatrixSlice< matrix >::beginMatrix ( ) const

◆ endMatrix()

template<typename matrix >
const_MatrixIterator< MatrixSlice<matrix> > MatrixSlice< matrix >::endMatrix ( ) const