Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

GenMatrix Class Reference
[MatrixAnalysis]

A class that supports matrix operations and storage for matrices with no special structure. More...

#include <GenMatrix.hh>

Inheritance diagram for GenMatrix:

LinearOperator IotrRefCount DenseGenMatrix SparseGenMatrix List of all members.

Public Methods

virtual void mult (double alpha, const IotrVector &x, double beta, IotrVector &y) const=0
 y = beta * y + alpha * M * x

virtual void transposeMult (double alpha, const IotrVector &x, double beta, IotrVector &y) const=0
 Transpose multiply y := beta * y + alpha * this^T * x.

virtual int rows () const=0
 return number of rows.

virtual int columns () const=0
 return number of columns.

virtual void writefToStream (std::ostream &out, const char format[]) const=0
 Write the components of this OOQP_Matrix to a stream, subject to a format.


Detailed Description

A class that supports matrix operations and storage for matrices with no special structure.


Member Function Documentation

virtual void GenMatrix::writefToStream std::ostream &    out,
const char    format[]
const [pure virtual]
 

Write the components of this OOQP_Matrix to a stream, subject to a format.

Parameters:
out  a C++-style output stream
format  a string used to format the output. The substrings %{irow}, %{jcol} will be substituted by the index of the current element and the string %{value} will be substituted with the element's value.
//Example
  J->writefToStream( cout, "J[%{irow}, %{jcol}] = %{value}" );

Implemented in DenseGenMatrix, and SparseGenMatrix.


The documentation for this class was generated from the following file:
Generated on Wed Aug 27 10:03:42 2003 for iotr by doxygen1.2.18