sparseqr::Packed Class Reference

Row of a sparse matrix. More...

#include <sparseqr.hh>

Public Member Functions

void init (unsigned cnt=0)
 Initializes the dynamic storage. More...
 
 Packed (unsigned cnt=0)
 Constructor. More...
 
void Sort ()
 Sorts the entries of each row. More...
 
 ~Packed ()
 

Public Attributes

int * col
 Column indices of the entries. More...
 
unsigned size
 Number of entries in the row. More...
 
double * value
 Values of the entries. More...
 

Detailed Description

Row of a sparse matrix.

Author
Thomas H. Robey, 1996, 1997, 1998
See also
Homepage of SparseQR
Thomas H. Robey and Deborah L. Sulsky, Row Ordering for Sparse QR Decomposition, SIAM J. Matrix Anal. and Appl., Vol. 15, No. 4, pp. 1208-1225, October 1994.

Definition at line 52 of file sparseqr.hh.

Constructor & Destructor Documentation

◆ Packed()

sparseqr::Packed::Packed ( unsigned  cnt = 0)

Constructor.

Parameters
cntNumber of entries in the row

◆ ~Packed()

sparseqr::Packed::~Packed ( )

Member Function Documentation

◆ init()

void sparseqr::Packed::init ( unsigned  cnt = 0)

Initializes the dynamic storage.

Parameters
cntNumber of entries in the row

◆ Sort()

void sparseqr::Packed::Sort ( )

Sorts the entries of each row.

Member Data Documentation

◆ col

int* sparseqr::Packed::col

Column indices of the entries.

Definition at line 55 of file sparseqr.hh.

◆ size

unsigned sparseqr::Packed::size

Number of entries in the row.

Definition at line 59 of file sparseqr.hh.

◆ value

double* sparseqr::Packed::value

Values of the entries.

Definition at line 57 of file sparseqr.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich