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

DenseGenMatrix Class Reference
[DenseMatrixAnalysis]

An implementation of GenMatrix that supports matrix operations for dense matrices with no special structure. More...

#include <DenseGenMatrix.hh>

Inheritance diagram for DenseGenMatrix:

GenMatrix LinearOperator IotrRefCount List of all members.

Public Methods

virtual int rows () const
 return the number of rows.

virtual int columns () const
 return the number of columns.

virtual void clearRange (int istart, int jstart, int iextent, int jextent)
 Set all elements in range to zero.

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

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

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

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

virtual void copyFromSparseCols (const int irow[], const int kcol[], const double M[])
 y := beta * y + alpha * this * iequality * x

virtual void copyToSparseCols (int irow[], int len, int kcol[], double M[], int &morei) const
virtual void inspect (const char *name=0, const char *filename=0) const
virtual void inspectAsMatlab (const char *name=0, const char *filename=0) const

Protected Attributes

SimpleArrayDataHandle data
 data will be used to store matrix.

double ** mMat
 mMat will be an array of pointers whose elements point to the rows of the matrix


Detailed Description

An implementation of GenMatrix that supports matrix operations for dense matrices with no special structure.


Member Function Documentation

virtual void DenseGenMatrix::writefToStream std::ostream &    out,
const char    format[]
const [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 substring %{irow} and %{jcol} will be substituted by the indices of the current element and the string %{value} will be substituted with the element's value.

Implements GenMatrix.


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