Geogram  Version 1.9.1
A programming library of geometric algorithms
GEO::MatrixMixedConstrainedSolver Struct Reference

Public Member Functions

 MatrixMixedConstrainedSolver (index_t p_nb_vars)
 
index_t size () const
 Gets the number of variables. More...
 
void set_multiplicity (index_t id, int period)
 
void end_pass (index_t p_pass)
 
void begin_constraint ()
 
void add_constraint_coeff (index_t id, double coeff)
 
bool end_constraint ()
 
void start_new_iter ()
 
bool converged ()
 
void end_iter ()
 
void begin_energy ()
 
void add_energy_coeff (index_t id, double coeff)
 
void add_energy_rhs (double rhs)
 
void end_energy ()
 
double value (index_t i)
 
double show_var (index_t i)
 

Public Attributes

vector< Coeffnew_constraint
 
bool solved
 
MatrixM M
 
index_t size_
 
std::vector< double > V
 
std::vector< bool > fixed
 
int snap_size
 

Detailed Description

Definition at line 506 of file mixed_constrained_solver.h.

Member Function Documentation

◆ size()

index_t GEO::MatrixMixedConstrainedSolver::size ( ) const
inline

Gets the number of variables.

Returns
the number of variables.

Definition at line 518 of file mixed_constrained_solver.h.


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