MOOCHO (Single Doxygen Collection) Version of the Day
Defines | Functions | Variables
RTOp_TOp_max_abs_vec_scalar.c File Reference
#include <math.h>
#include "RTOp_TOp_max_abs_vec_scalar.h"
#include "RTOp_obj_value_vtbl.h"
Include dependency graph for RTOp_TOp_max_abs_vec_scalar.c:

Go to the source code of this file.


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


static int RTOp_TOp_max_abs_vec_scalar_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_TOp_max_abs_vec_scalar_construct (RTOp_value_type min_ele, struct RTOp_RTOp *op)
int RTOp_TOp_max_abs_vec_scalar_destroy (struct RTOp_RTOp *op)
int RTOp_TOp_max_abs_vec_scalar_init (RTOp_value_type min_ele, struct RTOp_RTOp *op)


struct RTOp_RTOp_vtbl_t RTOp_TOp_max_abs_vec_scalar_vtbl

Define Documentation

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

Definition at line 41 of file RTOp_TOp_max_abs_vec_scalar.c.

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

Definition at line 42 of file RTOp_TOp_max_abs_vec_scalar.c.

Function Documentation

static int RTOp_TOp_max_abs_vec_scalar_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 49 of file RTOp_TOp_max_abs_vec_scalar.c.

int RTOp_TOp_max_abs_vec_scalar_construct ( RTOp_value_type  min_ele,
struct RTOp_RTOp op 

Definition at line 113 of file RTOp_TOp_max_abs_vec_scalar.c.

int RTOp_TOp_max_abs_vec_scalar_destroy ( struct RTOp_RTOp op)

Definition at line 124 of file RTOp_TOp_max_abs_vec_scalar.c.

int RTOp_TOp_max_abs_vec_scalar_init ( RTOp_value_type  min_ele,
struct RTOp_RTOp op 

Definition at line 132 of file RTOp_TOp_max_abs_vec_scalar.c.

Variable Documentation

Initial value:

Definition at line 100 of file RTOp_TOp_max_abs_vec_scalar.c.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines