RTOp_ROp_sum.h File Reference

#include "RTOp.h"

Include dependency graph for RTOp_ROp_sum.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
int RTOp_ROp_sum_construct (struct RTOp_RTOp *op)
int RTOp_ROp_sum_destroy (struct RTOp_RTOp *op)
RTOp_value_type RTOp_ROp_sum_val (RTOp_ReductTarget targ_obj)
RTOp_RTOp_vtbl_t RTOp_ROp_sum_vtbl

Detailed Description

Reduction operator for taking the sum of the elements of a vector.

targ_obj <- sum( v[0](i), i=1...n )

This operator is only defined to allow one vector argument (num_vecs == 1) v[0] but it can handle a dense or sparse vector.

Definition in file RTOp_ROp_sum.h.

Function Documentation

int RTOp_ROp_sum_construct ( struct RTOp_RTOp op  ) 

Definition at line 96 of file RTOp_ROp_sum.c.

int RTOp_ROp_sum_destroy ( struct RTOp_RTOp op  ) 

Definition at line 103 of file RTOp_ROp_sum.c.

RTOp_value_type RTOp_ROp_sum_val ( RTOp_ReductTarget  targ_obj  ) 

Definition at line 110 of file RTOp_ROp_sum.c.

Variable Documentation

struct RTOp_RTOp_vtbl_t RTOp_ROp_sum_vtbl

Definition at line 83 of file RTOp_ROp_sum.c.

Generated on Wed May 12 21:56:26 2010 for MOOCHO (Single Doxygen Collection) by  doxygen 1.4.7