RTOpPack: Extra C/C++ Code for Vector Reduction/Transformation Operators  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
RTOp_ROp_fraction_to_boundary.h File Reference
#include "RTOp.h"
#include "RTOp_obj_value_vtbl.h"
Include dependency graph for RTOp_ROp_fraction_to_boundary.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Detailed Description

element-wise reduction:
    if (v1 < 0)
       { alpha_max_ith = tau*(v0-v2)/(-v1); }
    else
       { alpha_max_ith = tau*(v3-v0)/v1; }

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

This operator returns alpha_max as calculated by the fraction to boundary rule

Definition in file RTOp_ROp_fraction_to_boundary.h.