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

Detailed Description

Perform an "axpy" operation.

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

This operation is defined for dense and sparse sub-vectors v[0] (num_vecs == 1).

Definition in file RTOp_TOp_axpy.h.

Function Documentation

int RTOp_TOp_axpy_construct ( RTOp_value_type  alpha,
struct RTOp_RTOp op 
)

Definition at line 131 of file RTOp_TOp_axpy.c.

int RTOp_TOp_axpy_destroy ( struct RTOp_RTOp op)

Definition at line 139 of file RTOp_TOp_axpy.c.

int RTOp_TOp_axpy_set_alpha ( RTOp_value_type  alpha,
struct RTOp_RTOp op 
)

Definition at line 146 of file RTOp_TOp_axpy.c.

Variable Documentation

const struct RTOp_RTOp_vtbl_t RTOp_TOp_axpy_vtbl

Definition at line 118 of file RTOp_TOp_axpy.c.