matrix in compressed row/column or triplet form More...
#include <fclib.h>

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 rowsMore... | |
struct fclib_matrix_info * | info |
info for this matrix More... | |
Detailed Description
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
int fclib_matrix::m |
number of rows
Definition at line 145 of file fclib.h.
Referenced by compare_global_problems(), compare_matrices(), main(), matrix_info(), random_matrix(), read_global_vectors(), read_local_vectors(), read_matrix(), write_global_vectors(), write_local_vectors(), and write_matrix().
◆ n
int fclib_matrix::n |
number of columns
Definition at line 147 of file fclib.h.
Referenced by compare_global_problems(), compare_local_problems(), compare_matrices(), main(), random_global_problem(), random_global_solutions(), random_local_solutions(), random_matrix(), random_vector(), read_global_vectors(), read_matrix(), write_global_vectors(), and write_matrix().
◆ 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().