AbstractLinAlgPack: C++ Interfaces For Vectors, Matrices And Related Linear Algebra Objects  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Classes | Public Member Functions | List of all members
AbstractLinAlgPack::MatrixBase Class Referenceabstract

Base class for all polymorphic matrices. More...

#include <AbstractLinAlgPack_MatrixBase.hpp>

Inheritance diagram for AbstractLinAlgPack::MatrixBase:
Inheritance graph
[legend]

Classes

class  IncompatibleMatrices
 Thrown if matrices are incompatible. More...
 

Public Member Functions

virtual ~MatrixBase ()
 Virtual destructor. More...
 

Vector spaces for the columns and rows of the matrix

virtual const VectorSpacespace_cols () const =0
 Vector space for vectors that are compatible with the columns of the matrix. More...
 
virtual const VectorSpacespace_rows () const =0
 Vector space for vectors that are compatible with the rows of the matrix. More...
 

Dimensionality

virtual size_type rows () const
 Return the number of rows in the matrix. More...
 
virtual size_type cols () const
 Return the number of columns in the matrix. More...
 
virtual size_type nz () const
 Return the number of nonzero elements in the matrix. More...
 

Detailed Description

Base class for all polymorphic matrices.

Definition at line 53 of file AbstractLinAlgPack_MatrixBase.hpp.

Constructor & Destructor Documentation

virtual AbstractLinAlgPack::MatrixBase::~MatrixBase ( )
inlinevirtual

Virtual destructor.

Definition at line 61 of file AbstractLinAlgPack_MatrixBase.hpp.

Member Function Documentation

virtual const VectorSpace& AbstractLinAlgPack::MatrixBase::space_cols ( ) const
pure virtual
virtual const VectorSpace& AbstractLinAlgPack::MatrixBase::space_rows ( ) const
pure virtual
size_type AbstractLinAlgPack::MatrixBase::rows ( ) const
virtual
size_type AbstractLinAlgPack::MatrixBase::cols ( ) const
virtual
size_type AbstractLinAlgPack::MatrixBase::nz ( ) const
virtual

The documentation for this class was generated from the following files: