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

RTOp_RTOp_vtbl_t RTOp_ROp_combined_nu_comp_err_vtbl
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 36 of file RTOp_ROp_combined_nu_comp_err.c.

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

Definition at line 37 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 46 of file RTOp_ROp_combined_nu_comp_err.c.

int RTOp_ROp_combined_nu_comp_err_construct ( struct RTOp_RTOp op  ) 

Definition at line 138 of file RTOp_ROp_combined_nu_comp_err.c.

int RTOp_ROp_combined_nu_comp_err_destroy ( struct RTOp_RTOp op  ) 

Definition at line 149 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 158 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 167 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 251 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 262 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 271 of file RTOp_ROp_combined_nu_comp_err.c.


Variable Documentation

struct RTOp_RTOp_vtbl_t RTOp_ROp_combined_nu_comp_err_vtbl

Initial value:

Definition at line 125 of file RTOp_ROp_combined_nu_comp_err.c.

struct RTOp_RTOp_vtbl_t RTOp_ROp_combined_nu_comp_err_one_only_vtbl

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 238 of file RTOp_ROp_combined_nu_comp_err.c.


Generated on Tue Oct 20 12:53:52 2009 for MOOCHO (Single Doxygen Collection) by doxygen 1.4.7