66 if( num_vecs != 0 || vecs != NULL )
68 if( num_targ_vecs != 1 || targ_vecs == NULL )
80 z_sub_dim = targ_vecs[0].
sub_dim;
81 z_val = targ_vecs[0].
values;
88 for( k = 0; k < z_sub_dim; ++k, z_val += z_val_s )
static int RTOp_TOp_scale_vector_apply_op(const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, const int num_vecs, const struct RTOp_SubVector vecs[], const int num_targ_vecs, const struct RTOp_MutableSubVector targ_vecs[], RTOp_ReductTarget targ_obj)
int RTOp_TOp_scale_vector_set_alpha(RTOp_value_type alpha, struct RTOp_RTOp *op)
int(* obj_create)(const struct RTOp_obj_type_vtbl_t *vtbl, const void *instance_data, void **obj)
const struct RTOp_obj_type_vtbl_t * obj_data_vtbl
int RTOp_TOp_scale_vector_destroy(struct RTOp_RTOp *op)
#define RTOp_ERR_INVALID_NUM_VECS
int(* obj_free)(const struct RTOp_obj_type_vtbl_t *vtbl, const void *instance_data, void **obj)
const struct RTOp_obj_type_vtbl_t RTOp_obj_null_vtbl
const struct RTOp_RTOp_vtbl_t * vtbl
const struct RTOp_RTOp_vtbl_t RTOp_TOp_scale_vector_vtbl
int RTOp_TOp_scale_vector_construct(RTOp_value_type alpha, struct RTOp_RTOp *op)
#define RTOp_ERR_INVALID_NUM_TARG_VECS
const struct RTOp_obj_type_vtbl_t RTOp_obj_value_vtbl
Teuchos_Ordinal RTOp_index_type