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_divide.h File Reference
#include "RTOp.h"
Include dependency graph for RTOp_TOp_ele_wise_divide.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_divide_vtbl
 
int RTOp_TOp_ele_wise_divide_construct (RTOp_value_type alpha, struct RTOp_RTOp *op)
 
int RTOp_TOp_ele_wise_divide_set_alpha (RTOp_value_type alpha, struct RTOp_RTOp *op)
 
int RTOp_TOp_ele_wise_divide_destroy (struct RTOp_RTOp *op)
 

Detailed Description

Compute an element-wise division of two vectors.

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_divide.h.

Function Documentation

int RTOp_TOp_ele_wise_divide_construct ( RTOp_value_type  alpha,
struct RTOp_RTOp op 
)

Definition at line 128 of file RTOp_TOp_ele_wise_divide.c.

int RTOp_TOp_ele_wise_divide_set_alpha ( RTOp_value_type  alpha,
struct RTOp_RTOp op 
)

Definition at line 139 of file RTOp_TOp_ele_wise_divide.c.

int RTOp_TOp_ele_wise_divide_destroy ( struct RTOp_RTOp op)

Definition at line 149 of file RTOp_TOp_ele_wise_divide.c.

Variable Documentation

const struct RTOp_RTOp_vtbl_t RTOp_TOp_ele_wise_divide_vtbl

Definition at line 115 of file RTOp_TOp_ele_wise_divide.c.