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 )
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
#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
int RTOp_TOp_add_scalar_destroy(struct RTOp_RTOp *op)
const struct RTOp_RTOp_vtbl_t RTOp_TOp_add_scalar_vtbl
const struct RTOp_RTOp_vtbl_t * vtbl
int RTOp_TOp_add_scalar_set_alpha(RTOp_value_type alpha, struct RTOp_RTOp *op)
int RTOp_TOp_add_scalar_construct(RTOp_value_type alpha, struct RTOp_RTOp *op)
static int RTOp_TOp_add_scalar_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)
#define RTOp_ERR_INVALID_NUM_TARG_VECS
const struct RTOp_obj_type_vtbl_t RTOp_obj_value_vtbl
Teuchos_Ordinal RTOp_index_type