MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RTOp_ROp_max_rel_step.h File Reference
#include "RTOp.h"
#include "RTOp_obj_value_vtbl.h"
Include dependency graph for RTOp_ROp_max_rel_step.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_ROp_max_rel_step_vtbl
 
int RTOp_ROp_max_rel_step_construct (struct RTOp_RTOp *op)
 
int RTOp_ROp_max_rel_step_destroy (struct RTOp_RTOp *op)
 
RTOp_value_type RTOp_ROp_max_rel_step_val (RTOp_ReductTarget reduct_obj)
 

Detailed Description

This reduction operator finds the maximum relative step change in v0 for:

v0 = v0 + v1;

This is found by the reduciton:

element-wise reduction      : gamma = max{ |v1(i)| / ( 1.0 + |v0| ), i = 1...n }

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

Definition in file RTOp_ROp_max_rel_step.h.

Function Documentation

int RTOp_ROp_max_rel_step_construct ( struct RTOp_RTOp op)

Definition at line 137 of file RTOp_ROp_max_rel_step.c.

int RTOp_ROp_max_rel_step_destroy ( struct RTOp_RTOp op)

Definition at line 148 of file RTOp_ROp_max_rel_step.c.

RTOp_value_type RTOp_ROp_max_rel_step_val ( RTOp_ReductTarget  reduct_obj)

Definition at line 156 of file RTOp_ROp_max_rel_step.c.

Variable Documentation

const struct RTOp_RTOp_vtbl_t RTOp_ROp_max_rel_step_vtbl

Definition at line 124 of file RTOp_ROp_max_rel_step.c.