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

PLearn::ComplementedProbSparseMatrix Class Reference

#include <SmoothedProbSparseMatrix.h>

Inheritance diagram for PLearn::ComplementedProbSparseMatrix:

Inheritance graph
[legend]
Collaboration diagram for PLearn::ComplementedProbSparseMatrix:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void complement (ProbSparseMatrix &nXY, bool clear_nXY=false)
real get (int i, int j)
bool checkCondProbIntegrity ()

Protected Attributes

real grandSum
Vec rowSum
Vec columnSum

Member Function Documentation

bool PLearn::ComplementedProbSparseMatrix::checkCondProbIntegrity  ) 
 

Reimplemented from PLearn::ProbSparseMatrix.

Definition at line 468 of file SmoothedProbSparseMatrix.cc.

References ROW_WISE, and PLearn::sum().

void PLearn::ComplementedProbSparseMatrix::complement ProbSparseMatrix nXY,
bool  clear_nXY = false
 

Definition at line 406 of file SmoothedProbSparseMatrix.cc.

References PLearn::DoubleAccessSparseMatrix< real >::clear(), COLUMN_WISE, columnSum, PLearn::DoubleAccessSparseMatrix< real >::getCol(), PLearn::DoubleAccessSparseMatrix< real >::getHeight(), PLearn::DoubleAccessSparseMatrix< real >::getMode(), PLearn::DoubleAccessSparseMatrix< real >::getRow(), PLearn::DoubleAccessSparseMatrix< real >::getWidth(), grandSum, PLearn::DoubleAccessSparseMatrix< real >::isDoubleAccessible(), PLERROR, PLearn::TVec< T >::resize(), ROW_WISE, and rowSum.

real PLearn::ComplementedProbSparseMatrix::get int  i,
int  j
[virtual]
 

Reimplemented from PLearn::DoubleAccessSparseMatrix< real >.

Definition at line 442 of file SmoothedProbSparseMatrix.cc.

References columnSum, grandSum, PLERROR, ROW_WISE, and rowSum.


Member Data Documentation

Vec PLearn::ComplementedProbSparseMatrix::columnSum [protected]
 

Definition at line 83 of file SmoothedProbSparseMatrix.h.

Referenced by complement(), and get().

real PLearn::ComplementedProbSparseMatrix::grandSum [protected]
 

Definition at line 81 of file SmoothedProbSparseMatrix.h.

Referenced by complement(), and get().

Vec PLearn::ComplementedProbSparseMatrix::rowSum [protected]
 

Definition at line 82 of file SmoothedProbSparseMatrix.h.

Referenced by complement(), and get().


The documentation for this class was generated from the following files:
Generated on Tue Aug 17 16:27:37 2004 for PLearn by doxygen 1.3.7