MOOCHO (Single Doxygen Collection)
Version of the Day
|
#include "RTOp.h"
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) |
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.
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.
const struct RTOp_RTOp_vtbl_t RTOp_TOp_ele_wise_prod_vtbl |
Definition at line 115 of file RTOp_TOp_ele_wise_prod.c.