MOOCHO (Single Doxygen Collection) Version of the Day
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.

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 124 of file RTOp_ROp_max_rel_step.c.

int RTOp_ROp_max_rel_step_destroy ( struct RTOp_RTOp op)

Definition at line 135 of file RTOp_ROp_max_rel_step.c.

RTOp_value_type RTOp_ROp_max_rel_step_val ( RTOp_ReductTarget  reduct_obj)

Definition at line 143 of file RTOp_ROp_max_rel_step.c.


Variable Documentation

Definition at line 111 of file RTOp_ROp_max_rel_step.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines