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

Detailed Description

Add a scalar to the elements of a vector.

targ_vec(i) <- targ_vec(i) + alpha, for i = 1...n.

This operator is only defined for a self transformation (num_vecs == 0).

Definition in file RTOp_TOp_add_scalar.h.

Function Documentation

int RTOp_TOp_add_scalar_construct ( RTOp_value_type  alpha,
struct RTOp_RTOp op 
)

Definition at line 108 of file RTOp_TOp_add_scalar.c.

int RTOp_TOp_add_scalar_destroy ( struct RTOp_RTOp op)

Definition at line 116 of file RTOp_TOp_add_scalar.c.

int RTOp_TOp_add_scalar_set_alpha ( RTOp_value_type  alpha,
struct RTOp_RTOp op 
)

Definition at line 123 of file RTOp_TOp_add_scalar.c.

Variable Documentation

const struct RTOp_RTOp_vtbl_t RTOp_TOp_add_scalar_vtbl

Definition at line 95 of file RTOp_TOp_add_scalar.c.