dmatrix Struct Reference

Structure for both dense and sparse matrix. More...

#include <dmatrix.h>

Data Fields

int m
int n
int nz
double * val
int * jdx
int * idx
int * rdx

Detailed Description

Structure for both dense and sparse matrix.

dmatrix stores a matrix in compressed sparse row (CSR) format. For computational efficiency, it also store the row indices as well as row start indices.

NOTE: As for sparse matrix, the matrix indices are not modified throughout the whole program. It is possible since matrix-matrix multiplication (except diagonal matrix) is not performed in PCG mode.

Field Documentation

double* dmatrix::val

The documentation for this struct was generated from the following file:

Generated on Mon May 25 19:15:19 2009 for l1_logreg by Doxygen 1.5.5