MOOCHO (Single Doxygen Collection) Version of the Day
RTOp_ROp_max_abs_ele.h File Reference
#include "RTOp.h"
#include "RTOp_obj_value_index_vtbl.h"
Include dependency graph for RTOp_ROp_max_abs_ele.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_abs_ele_vtbl
int RTOp_ROp_max_abs_ele_construct (struct RTOp_RTOp *op)
int RTOp_ROp_max_abs_ele_destroy (struct RTOp_RTOp *op)
struct RTOp_value_index_type RTOp_ROp_max_abs_ele_val (RTOp_ReductTarget targ_obj)

Detailed Description

Returns the element with the maximum absolute value and its index.

This reduction operator finds value and index such that

 value = v0(index) s.t. |v0(index)| >= v0(i), for i = 1...n

Definition in file RTOp_ROp_max_abs_ele.h.

Function Documentation

int RTOp_ROp_max_abs_ele_construct ( struct RTOp_RTOp op)

Definition at line 216 of file RTOp_ROp_max_abs_ele.c.

int RTOp_ROp_max_abs_ele_destroy ( struct RTOp_RTOp op)

Definition at line 223 of file RTOp_ROp_max_abs_ele.c.

struct RTOp_value_index_type RTOp_ROp_max_abs_ele_val ( RTOp_ReductTarget  targ_obj) [read]

Definition at line 231 of file RTOp_ROp_max_abs_ele.c.

Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines