AbstractLinAlgPack::MatrixBase Class Reference

Base class for all polymorphic matrices. More...

#include <AbstractLinAlgPack_MatrixBase.hpp>

Inheritance diagram for AbstractLinAlgPack::MatrixBase:
Inheritance graph

List of all members.


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

Public Member Functions

virtual ~MatrixBase ()
 Virtual destructor.

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.
virtual const VectorSpacespace_rows () const =0
 Vector space for vectors that are compatible with the rows of the matrix.


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

Detailed Description

Base class for all polymorphic matrices.

Definition at line 40 of file AbstractLinAlgPack_MatrixBase.hpp.

Constructor & Destructor Documentation

virtual AbstractLinAlgPack::MatrixBase::~MatrixBase (  )  [inline, virtual]

Virtual destructor.

Definition at line 48 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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends
Generated on Wed Apr 13 10:09:20 2011 for AbstractLinAlgPack: C++ Interfaces For Vectors, Matrices And Related Linear Algebra Objects by  doxygen 1.6.3