Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

GenMatrix Class Reference
[AbstractLinearAlgebra]

#include <DoubleMatrix.h>

Inheritance diagram for GenMatrix:

DoubleMatrix IotrRefCount DenseGenMatrix SparseGenMatrix List of all members.

Public Member Functions

virtual void atPutSubmatrix (int destRow, int destCol, DoubleMatrix &M, int srcRow, int srcCol, int rowExtent, int colExtent)=0
virtual void atPutDense (int row, int col, double *A, int lda, int rowExtent, int colExtent)=0
virtual void atPutSpRow (int col, double A[], int lenA, int jcolA[], int &info)=0
virtual void randomize (double alpha, double beta, double *seed)=0

Detailed Description

Parent of all non-symmetric, possibly non-square, matrices.


Member Function Documentation

virtual void GenMatrix::atPutDense int  row,
int  col,
double *  A,
int  lda,
int  rowExtent,
int  colExtent
[pure virtual]
 

Set the value of some of the elements of this matrix.

See also:
DoubleMatrix::fromGetDense

Implemented in DenseGenMatrix, and SparseGenMatrix.

virtual void GenMatrix::atPutSpRow int  col,
double  A[],
int  lenA,
int  jcolA[],
int &  info
[pure virtual]
 

Put a sparse row into this matrix.

The meaning of the parmameters is the same as in fromGetSpRow.

See also:
DoubleMatrix::fromGetSpRow

Implemented in DenseGenMatrix, and SparseGenMatrix.

virtual void GenMatrix::atPutSubmatrix int  destRow,
int  destCol,
DoubleMatrix M,
int  srcRow,
int  srcCol,
int  rowExtent,
int  colExtent
[pure virtual]
 

Put a submatrix of M into this matrix.

Parameters:
destRow The top row of the submatrix of M is placed at destRow.
destCol The leftmost column of the submatrix of M is placed at destCol.
srcRow The first row of the submatrix of M is srcRow.
srcCol The first column of the submatrix of M is srcCol.
rowExtent rowExtent rows are copied from M.
colExtent colExtent columns are copied from M.

Implemented in DenseGenMatrix, and SparseGenMatrix.

virtual void GenMatrix::randomize double  alpha,
double  beta,
double *  seed
[pure virtual]
 

Fill this matrix with random elements.

Parameters:
alpha the elements will be no smaller than alpha.
beta the elements will be no larger than beta.
seed a arbitrary number used to seed the random number generator.

Implemented in DenseGenMatrix, and SparseGenMatrix.


The documentation for this class was generated from the following file:
Generated on Wed Mar 22 13:58:34 2006 for OOQP by doxygen 1.3.5