#include <SparseMatrixFixedPattern.h>
|
| | SparseMatrixFixedPattern () |
| |
| | ~SparseMatrixFixedPattern () |
| |
| int | init (int num_rows, int num_nonzero_elements, sparse_entry *entry, int *key, sparse_entry_sources *source_list) |
| |
| int | init (int num_rows, int num_entries, scalar *entries, int *key, int *col_indices) |
| |
| void | build () |
| |
| void | apply (scalar *in, scalar *result) |
| |
| void | apply (vector3 *in, vector3 *result) |
| |
| void | block_apply (vector3 *in, vector3 *result) |
| |
| void | block_apply (vector3 **in, vector3 **result) |
| |
| void | block_apply (vector3 **in) |
| |
| SparseMatrixFixedPattern * | apply (SparseMatrixFixedPattern *in) |
| |
| void | calc_inverse_diagonal (scalar *inv_D) |
| |
| void | print () |
| |
| void | print_dense () |
| |
| void | print_dense_to_file (vector3 *a) |
| |
| void | print_row_column () |
| |
| void | check_symmetry () |
| |
| void | am_i_diagonally_dominant () |
| |
| sparse_entry * | get_entries () |
| |
| int * | get_key () |
| |
| int | get_num_nonzero_elements () |
| |
| int | get_num_rows () |
| |
| int | get_num_columns () |
| |
◆ SparseMatrixFixedPattern()
| SparseMatrixFixedPattern::SparseMatrixFixedPattern |
( |
| ) |
|
◆ ~SparseMatrixFixedPattern()
| SparseMatrixFixedPattern::~SparseMatrixFixedPattern |
( |
| ) |
|
◆ am_i_diagonally_dominant()
| void SparseMatrixFixedPattern::am_i_diagonally_dominant |
( |
| ) |
|
◆ apply() [1/3]
| void SparseMatrixFixedPattern::apply |
( |
scalar * |
in, |
|
|
scalar * |
result |
|
) |
| |
◆ apply() [2/3]
| void SparseMatrixFixedPattern::apply |
( |
vector3 * |
in, |
|
|
vector3 * |
result |
|
) |
| |
Applies this matrix to the given vector 'in', writing the result to 'result'. 'in' is made of 'vector3's
◆ apply() [3/3]
Applies this matrix to the given sparse matrix 'in', and returns a new sparse matrix
◆ block_apply() [1/3]
| void SparseMatrixFixedPattern::block_apply |
( |
vector3 * |
in, |
|
|
vector3 * |
result |
|
) |
| |
◆ block_apply() [2/3]
| void SparseMatrixFixedPattern::block_apply |
( |
vector3 ** |
in, |
|
|
vector3 ** |
result |
|
) |
| |
Applies this matrix to the give vector 'in', writing the result to 'result'. 'in' is made of '*vector3's
◆ block_apply() [3/3]
| void SparseMatrixFixedPattern::block_apply |
( |
vector3 ** |
in | ) |
|
Applies matrix to vector in and leaves result in in
◆ build()
| void SparseMatrixFixedPattern::build |
( |
| ) |
|
◆ calc_inverse_diagonal()
| void SparseMatrixFixedPattern::calc_inverse_diagonal |
( |
scalar * |
inv_D | ) |
|
◆ check_symmetry()
| void SparseMatrixFixedPattern::check_symmetry |
( |
| ) |
|
◆ get_entries()
◆ get_key()
| int * SparseMatrixFixedPattern::get_key |
( |
| ) |
|
◆ get_num_columns()
| int SparseMatrixFixedPattern::get_num_columns |
( |
| ) |
|
◆ get_num_nonzero_elements()
| int SparseMatrixFixedPattern::get_num_nonzero_elements |
( |
| ) |
|
◆ get_num_rows()
| int SparseMatrixFixedPattern::get_num_rows |
( |
| ) |
|
◆ init() [1/2]
◆ init() [2/2]
| int SparseMatrixFixedPattern::init |
( |
int |
num_rows, |
|
|
int |
num_entries, |
|
|
scalar * |
entries, |
|
|
int * |
key, |
|
|
int * |
col_indices |
|
) |
| |
◆ print()
| void SparseMatrixFixedPattern::print |
( |
| ) |
|
◆ print_dense()
| void SparseMatrixFixedPattern::print_dense |
( |
| ) |
|
◆ print_dense_to_file()
| void SparseMatrixFixedPattern::print_dense_to_file |
( |
vector3 * |
a | ) |
|
◆ print_row_column()
| void SparseMatrixFixedPattern::print_row_column |
( |
| ) |
|
◆ diagonal
| scalar** SparseMatrixFixedPattern::diagonal |
|
private |
◆ entry
The offdiagonal matrix element values and column positions
Referenced by am_i_diagonally_dominant(), apply(), block_apply(), build(), check_symmetry(), get_entries(), get_num_columns(), init(), print(), print_dense(), print_dense_to_file(), print_row_column(), SparseMatrixFixedPattern(), and ~SparseMatrixFixedPattern().
◆ key
| int* SparseMatrixFixedPattern::key |
|
private |
The key (array of integers, indices to the start of each row in entry array)
Referenced by am_i_diagonally_dominant(), apply(), block_apply(), check_symmetry(), get_key(), init(), print_dense(), print_dense_to_file(), print_row_column(), SparseMatrixFixedPattern(), and ~SparseMatrixFixedPattern().
◆ num_nonzero_elements
| int SparseMatrixFixedPattern::num_nonzero_elements |
|
private |
◆ num_rows
| int SparseMatrixFixedPattern::num_rows |
|
private |
Number of rows in matrix
Referenced by am_i_diagonally_dominant(), apply(), block_apply(), calc_inverse_diagonal(), check_symmetry(), get_num_rows(), init(), print_dense(), print_dense_to_file(), print_row_column(), SparseMatrixFixedPattern(), and ~SparseMatrixFixedPattern().
◆ source_list
The documentation for this class was generated from the following files: