MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros | 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.

Macros

#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

const struct RTOp_RTOp_vtbl_t RTOp_ROp_combined_nu_comp_err_vtbl
 
const struct RTOp_RTOp_vtbl_t RTOp_ROp_combined_nu_comp_err_one_only_vtbl
 

Macro Definition 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

const struct RTOp_RTOp_vtbl_t RTOp_ROp_combined_nu_comp_err_vtbl
Initial value:
=
{
,"ROp_combined_nu_comp_err"
,NULL
}
int RTOp_get_reduct_max_value_op(const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, RTOp_reduct_op_func_ptr_t *reduct_op_func_ptr)
const struct RTOp_obj_type_vtbl_t RTOp_obj_null_vtbl
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_reduct_max_value(const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, RTOp_ReductTarget in_targ_obj, RTOp_ReductTarget inout_targ_obj)
const struct RTOp_obj_type_vtbl_t RTOp_obj_value_vtbl

Definition at line 138 of file RTOp_ROp_combined_nu_comp_err.c.

const struct RTOp_RTOp_vtbl_t RTOp_ROp_combined_nu_comp_err_one_only_vtbl
Initial value:
=
{
,"ROp_combined_nu_comp_err_one_only"
,NULL
}
int RTOp_get_reduct_max_value_op(const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, RTOp_reduct_op_func_ptr_t *reduct_op_func_ptr)
const struct RTOp_obj_type_vtbl_t RTOp_obj_null_vtbl
int RTOp_reduct_max_value(const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, RTOp_ReductTarget in_targ_obj, RTOp_ReductTarget inout_targ_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)
const struct RTOp_obj_type_vtbl_t RTOp_obj_value_vtbl
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.