Lagrange
WeldOptions Struct Reference

Options for welding indexed attributes. More...

#include <lagrange/weld_indexed_attribute.h>

Public Attributes

std::optional< double > epsilon_rel
 If set, values whose relative difference (in L-inf norm) is less than epsilon are merged together. More...
 
std::optional< double > epsilon_abs
 If set, values whose absolute difference (in L-inf norm) is less than epsilon are merged together. More...
 

Detailed Description

Options for welding indexed attributes.

Member Data Documentation

◆ epsilon_rel

std::optional<double> epsilon_rel

If set, values whose relative difference (in L-inf norm) is less than epsilon are merged together.

If no absolute precision is set, a default absolute precision is used. Otherwise both are used together.

◆ epsilon_abs

std::optional<double> epsilon_abs

If set, values whose absolute difference (in L-inf norm) is less than epsilon are merged together.

If no relative precision is set, a default relative precision is used. Otherwise both are used together.


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