MOOCHO (Single Doxygen Collection) Version of the Day
Defines | Functions | Variables
RTOp_ROp_max.c File Reference
#include "RTOp_ROp_max.h"
#include "RTOp_obj_null_vtbl.h"
#include "RTOp_reduct_max_value.h"
Include dependency graph for RTOp_ROp_max.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_max_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 int RTOp_ROp_max_reduct_obj_reinit (const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, RTOp_ReductTarget reduct_obj)
int RTOp_ROp_max_construct (struct RTOp_RTOp *op)
int RTOp_ROp_max_destroy (struct RTOp_RTOp *op)
RTOp_value_type RTOp_ROp_max_val (RTOp_ReductTarget reduct_obj)

Variables

struct RTOp_RTOp_vtbl_t RTOp_ROp_max_vtbl

Define Documentation

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

Definition at line 39 of file RTOp_ROp_max.c.

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

Definition at line 40 of file RTOp_ROp_max.c.


Function Documentation

static int RTOp_ROp_max_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_ROp_max.c.

static int RTOp_ROp_max_reduct_obj_reinit ( const struct RTOp_RTOp_vtbl_t vtbl,
const void *  obj_data,
RTOp_ReductTarget  reduct_obj 
) [static]

Definition at line 105 of file RTOp_ROp_max.c.

int RTOp_ROp_max_construct ( struct RTOp_RTOp op)

Definition at line 129 of file RTOp_ROp_max.c.

int RTOp_ROp_max_destroy ( struct RTOp_RTOp op)

Definition at line 140 of file RTOp_ROp_max.c.

RTOp_value_type RTOp_ROp_max_val ( RTOp_ReductTarget  reduct_obj)

Definition at line 149 of file RTOp_ROp_max.c.


Variable Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines