linbox
NullMatrix Class Reference

This is a representation of the 0 by 0 empty matrix which does not occupy memory. More...

#include <null-matrix.h>

+ Inheritance diagram for NullMatrix:

Data Structures

struct  rebind
 

Public Member Functions

 NullMatrix ()
 
 NullMatrix (const NullMatrix &n)
 
virtual ~NullMatrix ()
 
template<class OutVector, class InVector>
OutVector & apply (OutVector &y, const InVector &x) const
 
template<class OutVector, class InVector>
OutVector & applyTranspose (OutVector &y, const InVector &x) const
 
virtual size_t rowdim () const
 
virtual size_t coldim () const
 

Detailed Description

This is a representation of the 0 by 0 empty matrix which does not occupy memory.

It has it's uses!

Constructor & Destructor Documentation

◆ NullMatrix() [1/2]

NullMatrix ( )
inline

◆ NullMatrix() [2/2]

NullMatrix ( const NullMatrix & n)
inline

◆ ~NullMatrix()

virtual ~NullMatrix ( )
inlinevirtual

Member Function Documentation

◆ apply()

template<class OutVector, class InVector>
OutVector & apply ( OutVector & y,
const InVector & x ) const
inline

◆ applyTranspose()

template<class OutVector, class InVector>
OutVector & applyTranspose ( OutVector & y,
const InVector & x ) const
inline

◆ rowdim()

virtual size_t rowdim ( ) const
inlinevirtual

◆ coldim()

virtual size_t coldim ( ) const
inlinevirtual

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