CMR  1.3.0
Public Attributes | List of all members
ListMat64 Struct Reference

Linked-list representation of a matrix with 64-bit integer values. More...

#include <listmatrix.h>

Public Attributes

size_t memRows
 Memory for rows. More...
 
size_t numRows
 Number of rows. More...
 
ListMat64ElementrowElements
 Row data. More...
 
size_t memColumns
 Memory for columns. More...
 
size_t numColumns
 Number of columns. More...
 
ListMat64ElementcolumnElements
 Column data. More...
 
size_t numNonzeros
 
ListMat64Nonzero anchor
 Anchor for nonzeros. More...
 
size_t memNonzeros
 Amount of memory for nonzeros. More...
 
ListMat64Nonzerononzeros
 Raw nonzero data. More...
 
ListMat64NonzerofirstFreeNonzero
 Beginning of free list; uses right pointers. More...
 

Detailed Description

Linked-list representation of a matrix with 64-bit integer values.

The Each nonzero is part of two doubly-linked lists, one for all nonzeros in the same row and one for all the nonzeros in the same column.

Note
If the allocated memory for the rows, columns or nonzeros does not suffice, it is automatically reallocated. However, this means that a pointer to a ListMat64Nonzero struct is only valid if no reallocation occurs. Hence, the user must make sure that sufficient memory is allocated or that no such pointers are used.

Member Data Documentation

◆ anchor

ListMat64Nonzero ListMat64::anchor

Anchor for nonzeros.

◆ columnElements

ListMat64Element* ListMat64::columnElements

Column data.

◆ firstFreeNonzero

ListMat64Nonzero* ListMat64::firstFreeNonzero

Beginning of free list; uses right pointers.

◆ memColumns

size_t ListMat64::memColumns

Memory for columns.

◆ memNonzeros

size_t ListMat64::memNonzeros

Amount of memory for nonzeros.

◆ memRows

size_t ListMat64::memRows

Memory for rows.

◆ nonzeros

ListMat64Nonzero* ListMat64::nonzeros

Raw nonzero data.

◆ numColumns

size_t ListMat64::numColumns

Number of columns.

◆ numNonzeros

size_t ListMat64::numNonzeros

◆ numRows

size_t ListMat64::numRows

Number of rows.

◆ rowElements

ListMat64Element* ListMat64::rowElements

Row data.


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