My Project
Public Member Functions | Public Attributes | List of all members
Mat Class Referenceabstract

matrix base class, specifies the interface to be implemented More...

#include <Mat.h>

Inheritance diagram for Mat:
Inheritance graph
[legend]

Public Member Functions

 Mat (size_t nu)
 
virtual double & operator() (size_t i, size_t j)=0
 
virtual double operator() (size_t i, size_t j) const =0
 
virtual double dot (const std::vector< double > &x, size_t r) const =0
 
virtual size_t memsize ()=0
 matrix size in bytes More...
 

Public Attributes

const size_t nu
 number of rows (unknowns) More...
 

Detailed Description

matrix base class, specifies the interface to be implemented

Constructor & Destructor Documentation

◆ Mat()

Mat::Mat ( size_t  nu)
inline

Member Function Documentation

◆ dot()

virtual double Mat::dot ( const std::vector< double > &  x,
size_t  r 
) const
pure virtual

Implemented in SparseMat, and DenseMat.

◆ memsize()

virtual size_t Mat::memsize ( )
pure virtual

matrix size in bytes

Implemented in SparseMat, and DenseMat.

◆ operator()() [1/2]

virtual double& Mat::operator() ( size_t  i,
size_t  j 
)
pure virtual

Implemented in SparseMat, and DenseMat.

◆ operator()() [2/2]

virtual double Mat::operator() ( size_t  i,
size_t  j 
) const
pure virtual

Implemented in SparseMat, and DenseMat.

Member Data Documentation

◆ nu

const size_t Mat::nu

number of rows (unknowns)


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