CSR_Builder#
#include <CSR_Builder.h>
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#
void CSR_Builder::add_coeff(int line, int column, double coeff)
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#
CSR_Builder::build_matrix(Matrice_Bloc &)
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#
CSR_Builder::CSR_Builder()
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#
CSR_Builder::initialize(int nb_lines)
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#
ArrOfDouble CSR_Builder::coeff_data_
ArrOfInt CSR_Builder::list_data_
ArrOfInt CSR_Builder::list_head_
ArrOfInt CSR_Builder::list_tail_
int CSR_Builder::nb_lines_