MOOCHO (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RTOp_TOp_ele_wise_prod.h File Reference
#include "RTOp.h"
Include dependency graph for RTOp_TOp_ele_wise_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_TOp_ele_wise_prod_vtbl
 
int RTOp_TOp_ele_wise_prod_construct (RTOp_value_type alpha, struct RTOp_RTOp *op)
 
int RTOp_TOp_ele_wise_prod_set_alpha (RTOp_value_type alpha, struct RTOp_RTOp *op)
 
int RTOp_TOp_ele_wise_prod_destroy (struct RTOp_RTOp *op)
 

Detailed Description

Compute an element-wise product of two vectors.

targ_vec[0](i) <- targ_vec[0](i) + alpha * vec[0](i) * vec[1](i), for i = 1...n

This operator is only admits dense vectors.

Definition in file RTOp_TOp_ele_wise_prod.h.

Function Documentation

int RTOp_TOp_ele_wise_prod_construct ( RTOp_value_type  alpha,
struct RTOp_RTOp op 
)

Definition at line 128 of file RTOp_TOp_ele_wise_prod.c.

int RTOp_TOp_ele_wise_prod_set_alpha ( RTOp_value_type  alpha,
struct RTOp_RTOp op 
)

Definition at line 139 of file RTOp_TOp_ele_wise_prod.c.

int RTOp_TOp_ele_wise_prod_destroy ( struct RTOp_RTOp op)

Definition at line 149 of file RTOp_TOp_ele_wise_prod.c.

Variable Documentation

const struct RTOp_RTOp_vtbl_t RTOp_TOp_ele_wise_prod_vtbl

Definition at line 115 of file RTOp_TOp_ele_wise_prod.c.