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

DenseMatrixAnalysis

Code supporting matrix operations and storage for dense matrices. More...


Files

file  DenseGenMatrix.hh
 Supports Dense Matrix storage and operations.

file  DenseMatrixUtilities.hh
 Supports the Dense Matrix classes.

file  DensePrimalDualSystem.hh
 Routines for manipulating a dense primal-dual system.

file  DenseSymMatrix.hh
 Supports Dense Symmetric Matrix storage and operations.

file  DenseSymSolver.hh
 Supports computation of solutions to dense symmetric systems.


Compounds

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

class  DenseSymSolver
 A subclass of class LinearSolver dedicated to solving dense symmetric systems. More...


Functions

void NewDouble2 (double *v, double **&Mat, int m, int ldm)
 Makes Mat point to the rows of matrix v.

void clear_mat_region (double **M, int istart, int jstart, int iextent, int jextent)
 Sets designated block of matrix M = 0.

void clear_mat_region_lower (double **M, int istart, int jstart, int iextent, int jextent)
 Sets lower triangular elements of designated block of matrix M = 0.

void writef_mat_to_stream (double **M, int m, int n, std::ostream &out, const char *format)
 Prints matrix M.

void writef_mat_to_stream_lower (double **M, int m, int n, std::ostream &out, const char *format)
 Prints lower triangular elements of matrix M.

void copy_from_sparse_cols (double **A, int m, int n, const int irow[], const int kcol[], const double M[])
 Copies sparsely store entries from matrix described by (irow, kcol, M) to densely stored matrix A.

void copy_from_sparse_cols_lower (double **A, int m, int n, const int irow[], const int kcol[], const double M[], int &has_upper)
 Copies lower triangular entries of sparsely stored matrix described by (irow, kcol, M) to lower triangular part of A.


Detailed Description

Code supporting matrix operations and storage for dense matrices.


Function Documentation

void copy_from_sparse_cols double **    A,
int    m,
int    n,
const int    irow[],
const int    kcol[],
const double    M[]
 

Copies sparsely store entries from matrix described by (irow, kcol, M) to densely stored matrix A.

Parameters:
A  is assumed to be of length m*n.
M  stores a sparse matrix with the columns stacked.
kcol  stores where the columns start and end in M.
irow  tells which row each of the entries in M are in.

void copy_from_sparse_cols_lower double **    A,
int    m,
int    n,
const int    irow[],
const int    kcol[],
const double    M[],
int &    has_upper
 

Copies lower triangular entries of sparsely stored matrix described by (irow, kcol, M) to lower triangular part of A.

Parameters:
A  is assumed to be of length m*n.
M  stores a sparse matrix with the columns stacked.
kcol  stores where the columns start and end in M.
irow  tells which row each of the entries in M are in.

void writef_mat_to_stream double **    M,
int    m,
int    n,
std::ostream &    out,
const char *    format
 

Prints matrix M.

Is called by DenseGenMatrix::writefToStream

See also:
DenseGenMatrix::writefToStream

void writef_mat_to_stream_lower double **    M,
int    m,
int    n,
std::ostream &    out,
const char *    format
 

Prints lower triangular elements of matrix M.

Is called by DenseSymMatrix::writefToStream

See also:
DenseSymMatrix::writefToStream


Generated on Wed Aug 27 10:03:42 2003 for iotr by doxygen1.2.18