RTOp_TOp_max_vec_scalar.c File Reference

#include "RTOp_TOp_max_vec_scalar.h"
#include "RTOp_obj_value_vtbl.h"

Include dependency graph for RTOp_TOp_max_vec_scalar.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_TOp_max_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_vec_scalar_construct (RTOp_value_type min_ele, struct RTOp_RTOp *op)
int RTOp_TOp_max_vec_scalar_destroy (struct RTOp_RTOp *op)
int RTOp_TOp_max_vec_scalar_init (RTOp_value_type min_ele, struct RTOp_RTOp *op)

Variables

RTOp_RTOp_vtbl_t RTOp_TOp_max_vec_scalar_vtbl


Define Documentation

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

Definition at line 39 of file RTOp_TOp_max_vec_scalar.c.

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

Definition at line 40 of file RTOp_TOp_max_vec_scalar.c.


Function Documentation

static int RTOp_TOp_max_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 47 of file RTOp_TOp_max_vec_scalar.c.

int RTOp_TOp_max_vec_scalar_construct ( RTOp_value_type  min_ele,
struct RTOp_RTOp op 
)

Definition at line 111 of file RTOp_TOp_max_vec_scalar.c.

int RTOp_TOp_max_vec_scalar_destroy ( struct RTOp_RTOp op  ) 

Definition at line 122 of file RTOp_TOp_max_vec_scalar.c.

int RTOp_TOp_max_vec_scalar_init ( RTOp_value_type  min_ele,
struct RTOp_RTOp op 
)

Definition at line 130 of file RTOp_TOp_max_vec_scalar.c.


Variable Documentation

struct RTOp_RTOp_vtbl_t RTOp_TOp_max_vec_scalar_vtbl

Initial value:

{
  &RTOp_obj_value_vtbl
  ,&RTOp_obj_null_vtbl
  ,"TOp_max_vec_scalar"
  ,NULL
  ,RTOp_TOp_max_vec_scalar_apply_op
  ,NULL
  ,NULL
}

Definition at line 98 of file RTOp_TOp_max_vec_scalar.c.


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