CSR_Builder#

#include <CSR_Builder.h>
Brief description

This class is a helper to build CSR stored matrices.

How to reference this class#

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`CSR\_Builder <class-csr-builder>`
[CSR\_Builder](#class-csr-builder)

Detailed description#

List of Public Methods#

Complete Member Function Documentation#

add_coeff#

Definition
void CSR_Builder::add_coeff(int line, int column, double coeff)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void CSR_Builder::add_coeff(int line, int column, double coeff) <csr-builder-public-void-csr-builder-add-coeff-int-line-int-column-double-coeff>`
[void CSR_Builder::add_coeff(int line, int column, double coeff)](#csr-builder-public-void-csr-builder-add-coeff-int-line-int-column-double-coeff)

build_matrix#

Definition
CSR_Builder::build_matrix(Matrice_Bloc &)
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`CSR_Builder::build_matrix(Matrice_Bloc &) <csr-builder-public-csr-builder-build-matrix-matrice-bloc-ref>`
[CSR_Builder::build_matrix(Matrice_Bloc &)](#csr-builder-public-csr-builder-build-matrix-matrice-bloc-ref)

CSR_Builder#

Definition
CSR_Builder::CSR_Builder()
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`CSR_Builder::CSR_Builder() <csr-builder-public-csr-builder-csr-builder>`
[CSR_Builder::CSR_Builder()](#csr-builder-public-csr-builder-csr-builder)

initialize#

Definition
CSR_Builder::initialize(int nb_lines)
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`CSR_Builder::initialize(int nb_lines) <csr-builder-public-csr-builder-initialize-int-nb-lines>`
[CSR_Builder::initialize(int nb_lines)](#csr-builder-public-csr-builder-initialize-int-nb-lines)

Attributes Documentation#

coeff_data_ (protected)
ArrOfDouble CSR_Builder::coeff_data_
list_data_ (protected)
ArrOfInt CSR_Builder::list_data_
list_head_ (protected)
ArrOfInt CSR_Builder::list_head_
list_tail_ (protected)
ArrOfInt CSR_Builder::list_tail_
nb_lines_ (protected)
int CSR_Builder::nb_lines_