ZeroMatrix Class Reference

#include <IpZeroMatrix.hpp>

Inheritance diagram for ZeroMatrix:

Matrix TaggedObject ReferencedObject Subject

List of all members.


Detailed Description

Class for Matrices with only zero entries.

Public Member Functions

Constructors / Destructors
 ZeroMatrix (const MatrixSpace *owner_space)
 Constructor, taking the corresponding matrix space.
 ~ZeroMatrix ()
 Destructor.

Protected Member Functions

Methods overloaded from matrix
virtual void MultVectorImpl (Number alpha, const Vector &x, Number beta, Vector &y) const
 Matrix-vector multiply.
virtual void TransMultVectorImpl (Number alpha, const Vector &x, Number beta, Vector &y) const
 Matrix(transpose) vector multiply.
virtual void PrintImpl (const Journalist &jnlst, EJournalLevel level, EJournalCategory category, const std::string &name, Index indent, const std::string &prefix) const
 Print detailed information about the matrix.

Constructor & Destructor Documentation

ZeroMatrix ( const MatrixSpace owner_space  ) 

Constructor, taking the corresponding matrix space.

~ZeroMatrix (  ) 

Destructor.


Member Function Documentation

void MultVectorImpl ( Number  alpha,
const Vector x,
Number  beta,
Vector y 
) const [protected, virtual]

Matrix-vector multiply.

Computes y = alpha * Matrix * x + beta * y

Implements Matrix.

References DBG_ASSERT, Vector::Dim(), Matrix::NCols(), Matrix::NRows(), Vector::Scal(), and Vector::Set().

void TransMultVectorImpl ( Number  alpha,
const Vector x,
Number  beta,
Vector y 
) const [protected, virtual]

Matrix(transpose) vector multiply.

Computes y = alpha * Matrix^T * x + beta * y

Implements Matrix.

References DBG_ASSERT, Vector::Dim(), Matrix::NCols(), Matrix::NRows(), Vector::Scal(), and Vector::Set().

void PrintImpl ( const Journalist jnlst,
EJournalLevel  level,
EJournalCategory  category,
const std::string &  name,
Index  indent,
const std::string &  prefix 
) const [protected, virtual]

Print detailed information about the matrix.

Implements Matrix.

References Matrix::NCols(), Matrix::NRows(), Journalist::Printf(), and Journalist::PrintfIndented().


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

Generated on Fri Sep 26 07:44:27 2008 for SimTKcore by  doxygen 1.5.6