MOOCHO (Single Doxygen Collection) Version of the Day
Defines | Functions | Variables
RTOp_ROp_combined_nu_comp_err.c File Reference
#include "RTOp_ROp_combined_nu_comp_err.h"
#include "RTOp_obj_null_vtbl.h"
#include "RTOp_reduct_max_value.h"
Include dependency graph for RTOp_ROp_combined_nu_comp_err.c:

Go to the source code of this file.

Defines

#define max(a, b)   ( (a) > (b) ? (a) : (b) )
#define min(a, b)   ( (a) < (b) ? (a) : (b) )

Functions

static int RTOp_ROp_combined_nu_comp_err_apply_op (const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, const int num_vecs, const struct RTOp_SubVector vecs[], const int num_targ_vecs, const struct RTOp_MutableSubVector targ_vecs[], RTOp_ReductTarget reduct_obj)
int RTOp_ROp_combined_nu_comp_err_construct (struct RTOp_RTOp *op)
int RTOp_ROp_combined_nu_comp_err_destroy (struct RTOp_RTOp *op)
RTOp_value_type RTOp_ROp_combined_nu_comp_err_val (RTOp_ReductTarget reduct_obj)
static int RTOp_ROp_combined_nu_comp_err_one_only_apply_op (const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, const int num_vecs, const struct RTOp_SubVector vecs[], const int num_targ_vecs, const struct RTOp_MutableSubVector targ_vecs[], RTOp_ReductTarget reduct_obj)
int RTOp_ROp_combined_nu_comp_err_one_only_construct (struct RTOp_RTOp *op)
int RTOp_ROp_combined_nu_comp_err_one_only_destroy (struct RTOp_RTOp *op)
RTOp_value_type RTOp_ROp_combined_nu_comp_err_one_only_val (RTOp_ReductTarget reduct_obj)

Variables

struct RTOp_RTOp_vtbl_t RTOp_ROp_combined_nu_comp_err_vtbl
struct RTOp_RTOp_vtbl_t RTOp_ROp_combined_nu_comp_err_one_only_vtbl

Define Documentation

#define max (   a,
 
)    ( (a) > (b) ? (a) : (b) )

Definition at line 49 of file RTOp_ROp_combined_nu_comp_err.c.

#define min (   a,
 
)    ( (a) < (b) ? (a) : (b) )

Definition at line 50 of file RTOp_ROp_combined_nu_comp_err.c.


Function Documentation

static int RTOp_ROp_combined_nu_comp_err_apply_op ( const struct RTOp_RTOp_vtbl_t vtbl,
const void *  obj_data,
const int  num_vecs,
const struct RTOp_SubVector  vecs[],
const int  num_targ_vecs,
const struct RTOp_MutableSubVector  targ_vecs[],
RTOp_ReductTarget  reduct_obj 
) [static]

Definition at line 59 of file RTOp_ROp_combined_nu_comp_err.c.

int RTOp_ROp_combined_nu_comp_err_construct ( struct RTOp_RTOp op)

Definition at line 151 of file RTOp_ROp_combined_nu_comp_err.c.

int RTOp_ROp_combined_nu_comp_err_destroy ( struct RTOp_RTOp op)

Definition at line 162 of file RTOp_ROp_combined_nu_comp_err.c.

RTOp_value_type RTOp_ROp_combined_nu_comp_err_val ( RTOp_ReductTarget  reduct_obj)

Definition at line 171 of file RTOp_ROp_combined_nu_comp_err.c.

static int RTOp_ROp_combined_nu_comp_err_one_only_apply_op ( const struct RTOp_RTOp_vtbl_t vtbl,
const void *  obj_data,
const int  num_vecs,
const struct RTOp_SubVector  vecs[],
const int  num_targ_vecs,
const struct RTOp_MutableSubVector  targ_vecs[],
RTOp_ReductTarget  reduct_obj 
) [static]

Definition at line 180 of file RTOp_ROp_combined_nu_comp_err.c.

int RTOp_ROp_combined_nu_comp_err_one_only_construct ( struct RTOp_RTOp op)

Definition at line 264 of file RTOp_ROp_combined_nu_comp_err.c.

int RTOp_ROp_combined_nu_comp_err_one_only_destroy ( struct RTOp_RTOp op)

Definition at line 275 of file RTOp_ROp_combined_nu_comp_err.c.

RTOp_value_type RTOp_ROp_combined_nu_comp_err_one_only_val ( RTOp_ReductTarget  reduct_obj)

Definition at line 284 of file RTOp_ROp_combined_nu_comp_err.c.


Variable Documentation

Initial value:

 element-wise reduction      : comp_err = max(comp_err, v0(i)*(v1(i)-v2(i)));

 

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

This operator calculates the comp_err for a single bound vector (upper or lower) - it is to be used when either one of the bounds vectors are all infinite (-/+)

Definition at line 251 of file RTOp_ROp_combined_nu_comp_err.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines