fclib_matrix Struct Reference

matrix in compressed row/column or triplet form More...

#include <fclib.h>

Collaboration diagram for fclib_matrix:

Public Attributes

int nzmax
 maximum number of entries More...
 
int m
 number of rows More...
 
int n
 number of columns More...
 
int * p
 compressed: row (size m+1) or column (size n+1) pointers; triplet: row indices (size nz) More...
 
int * i
 compressed: column or row indices, size nzmax; triplet: column indices (size nz) More...
 
double * x
 numerical values, size nzmax More...
 
int nz
 

of entries in triplet matrix, -1 for compressed columns, -2 for compressed rows

More...
 
struct fclib_matrix_infoinfo
 info for this matrix More...
 

Detailed Description

matrix in compressed row/column or triplet form

Definition at line 140 of file fclib.h.

Member Data Documentation

◆ nzmax

int fclib_matrix::nzmax

maximum number of entries

Definition at line 143 of file fclib.h.

Referenced by compare_matrices(), random_matrix(), read_matrix(), and write_matrix().

◆ m

◆ n

◆ p

int* fclib_matrix::p

compressed: row (size m+1) or column (size n+1) pointers; triplet: row indices (size nz)

Definition at line 149 of file fclib.h.

Referenced by compare_matrices(), delete_matrix(), random_matrix(), read_matrix(), and write_matrix().

◆ i

int* fclib_matrix::i

compressed: column or row indices, size nzmax; triplet: column indices (size nz)

Definition at line 151 of file fclib.h.

Referenced by compare_matrices(), delete_matrix(), random_matrix(), read_matrix(), and write_matrix().

◆ x

double* fclib_matrix::x

numerical values, size nzmax

Definition at line 153 of file fclib.h.

Referenced by compare_matrices(), delete_matrix(), random_matrix(), read_matrix(), and write_matrix().

◆ nz

int fclib_matrix::nz

of entries in triplet matrix, -1 for compressed columns, -2 for compressed rows

Definition at line 155 of file fclib.h.

Referenced by compare_matrices(), random_matrix(), read_matrix(), and write_matrix().

◆ info

struct fclib_matrix_info* fclib_matrix::info

info for this matrix

Definition at line 157 of file fclib.h.

Referenced by compare_matrices(), delete_matrix(), random_matrix(), read_matrix(), write_matrix(), and write_problem_info().