MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RTOp_TOp_correct_multipliers.h File Reference
#include "RTOp.h"
#include "RTOp_obj_null_vtbl.h"
Include dependency graph for RTOp_TOp_correct_multipliers.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

const struct RTOp_RTOp_vtbl_t RTOp_TOp_Correct_Multipliers_vtbl
 
int RTOp_TOp_Correct_Multipliers_construct (RTOp_value_type inf_bound_limit, RTOp_index_type lower_or_upper, struct RTOp_RTOp *op)
 
int RTOp_TOp_Correct_Multipliers_destroy (struct RTOp_RTOp *op)
 
int RTOp_TOp_Correct_Multipliers_init (RTOp_value_type inf_bound_limit, RTOp_index_type lower_or_upper, struct RTOp_RTOp *op)
 

Detailed Description

element-wise transformation:
    if (lower_or_upper == 0) // lower bound
        { z0 = (v0 <= inf_bound_limit) ? 0.0 : z0; }
    else // upper bound
        { z0 = (v0 >= inf_bound_limit) ? 0.0 : z0; }

This operator class implementation was created automatically by 'new_rtop.pl'.

This class sets the corresponding multiplier value to zero if the bound is equal or outside inf_bound_limit lower_or_upper : pass 0 for lower bound check pass 1 for upper bound check

Definition in file RTOp_TOp_correct_multipliers.h.

Function Documentation

int RTOp_TOp_Correct_Multipliers_construct ( RTOp_value_type  inf_bound_limit,
RTOp_index_type  lower_or_upper,
struct RTOp_RTOp op 
)

Definition at line 152 of file RTOp_TOp_correct_multipliers.c.

int RTOp_TOp_Correct_Multipliers_destroy ( struct RTOp_RTOp op)

Definition at line 163 of file RTOp_TOp_correct_multipliers.c.

int RTOp_TOp_Correct_Multipliers_init ( RTOp_value_type  inf_bound_limit,
RTOp_index_type  lower_or_upper,
struct RTOp_RTOp op 
)

Definition at line 171 of file RTOp_TOp_correct_multipliers.c.

Variable Documentation

const struct RTOp_RTOp_vtbl_t RTOp_TOp_Correct_Multipliers_vtbl

Definition at line 139 of file RTOp_TOp_correct_multipliers.c.