sym-ildl  1.2
Incomplete LDL' factorizations of indefinite symmetric and skew-symmetric matrices.
Public Member Functions | Public Attributes | List of all members
swap_struct< el_type > Class Template Reference

A structure containing variables used in pivoting a LIL-C matrix. More...

#include <swap_struct.h>

Collaboration diagram for swap_struct< el_type >:
Collaboration graph
[legend]

Public Member Functions

void swap_clear ()
 Clears all swap vectors (swapk, swapr, all_swaps).
 
void col_clear ()
 Clears all col vectors (col_k, col_r, col_k_nnzs, col_r_nnzs).
 
void row_clear ()
 Clears all row vectors (row_k, row_r).
 

Public Attributes

vector< idx_it > swapk
 List of indices from row r that will be swapped to row k.
 
vector< idx_it > swapr
 List of indices from row k that will be swapped to row r.
 
idx_vector_type all_swaps
 Column indices of all swaps done in swapk and swapr.
 
idx_vector_type col_k_nnzs
 Row indices of non-zeros in the new column k.
 
idx_vector_type col_r_nnzs
 Row indices of non-zeros in the new column r.
 
elt_vector_type col_k
 Non-zero values in the new column k (order dependent on col_k_nnzs).
 
elt_vector_type col_r
 Non-zero values in the new column r (order dependent on col_r_nnzs).
 
idx_vector_type row_k
 Column indices of non-zeros in the new row k.
 
idx_vector_type row_r
 Column indices of non-zeros in the new row r.
 

Detailed Description

template<class el_type>
class swap_struct< el_type >

A structure containing variables used in pivoting a LIL-C matrix.

Storing these variables in a combined structure reduces memory requirements and bundles together all temporary structures needed during pivoting.


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