Geogram Version 1.9.6-rc
A programming library of geometric algorithms
Loading...
Searching...
No Matches
GEO::NaiveSparseMatrix Struct Reference

Public Member Functions

void init_zero (index_t p_nb_lines)
 
void init_identity (index_t size)
 
index_t nb_coeffs_in_line (index_t l) const
 
const Coeffget (index_t line, index_t i_th_non_null_coeff) const
 
void add (index_t line, index_t col, double coeff)
 
index_t nb_lines () const
 

Public Attributes

vector< vector< Coeff > > M
 

Detailed Description

Definition at line 166 of file mixed_constrained_solver.h.

Member Function Documentation

◆ add()

void GEO::NaiveSparseMatrix::add ( index_t  line,
index_t  col,
double  coeff 
)
inline

Definition at line 192 of file mixed_constrained_solver.h.

◆ get()

const Coeff & GEO::NaiveSparseMatrix::get ( index_t  line,
index_t  i_th_non_null_coeff 
) const
inline

Definition at line 188 of file mixed_constrained_solver.h.

◆ init_identity()

void GEO::NaiveSparseMatrix::init_identity ( index_t  size)
inline

Definition at line 177 of file mixed_constrained_solver.h.

◆ init_zero()

void GEO::NaiveSparseMatrix::init_zero ( index_t  p_nb_lines)
inline

Definition at line 168 of file mixed_constrained_solver.h.

◆ nb_coeffs_in_line()

index_t GEO::NaiveSparseMatrix::nb_coeffs_in_line ( index_t  l) const
inline

Definition at line 184 of file mixed_constrained_solver.h.

◆ nb_lines()

index_t GEO::NaiveSparseMatrix::nb_lines ( ) const
inline

Definition at line 199 of file mixed_constrained_solver.h.

Member Data Documentation

◆ M

vector<vector<Coeff> > GEO::NaiveSparseMatrix::M

Definition at line 203 of file mixed_constrained_solver.h.


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