MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RTOp_ROp_dot_prod.h File Reference
#include "RTOp.h"
Include dependency graph for RTOp_ROp_dot_prod.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

const struct RTOp_RTOp_vtbl_t RTOp_ROp_dot_prod_vtbl
 
int RTOp_ROp_dot_prod_construct (struct RTOp_RTOp *op)
 
int RTOp_ROp_dot_prod_destroy (struct RTOp_RTOp *op)
 
RTOp_value_type RTOp_ROp_dot_prod_val (RTOp_ReductTarget targ_obj)
 

Detailed Description

Reduction operator for the dot product of two vectors.

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

This operator is defined to allow exactly two vector arguments (num_vecs == 2) v[0], v[1], and it can handle all combinations of sparse and dense vectors.

Definition in file RTOp_ROp_dot_prod.h.

Function Documentation

int RTOp_ROp_dot_prod_construct ( struct RTOp_RTOp op)

Definition at line 133 of file RTOp_ROp_dot_prod.c.

int RTOp_ROp_dot_prod_destroy ( struct RTOp_RTOp op)

Definition at line 140 of file RTOp_ROp_dot_prod.c.

RTOp_value_type RTOp_ROp_dot_prod_val ( RTOp_ReductTarget  targ_obj)

Definition at line 147 of file RTOp_ROp_dot_prod.c.

Variable Documentation

const struct RTOp_RTOp_vtbl_t RTOp_ROp_dot_prod_vtbl

Definition at line 120 of file RTOp_ROp_dot_prod.c.