78 if( num_targ_vecs != 0 )
80 if( vecs[0].sub_dim != vecs[1].sub_dim )
101 for( k = 0; k < sub_dim; ++k, xl_val += xl_val_s, xu_val += xu_val_s ) {
102 if( *xl_val > -inf_bnd || *xu_val < +inf_bnd )
int RTOp_reduct_sum_value(const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, RTOp_ReductTarget in_targ_obj, RTOp_ReductTarget inout_targ_obj)
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_INCOMPATIBLE_VECS
const RTOp_value_type * values
#define RTOp_ERR_INVALID_NUM_VECS
int RTOp_ROp_num_bounded_construct(RTOp_value_type inf_bnd, struct RTOp_RTOp *op)
int(* obj_free)(const struct RTOp_obj_type_vtbl_t *vtbl, const void *instance_data, void **obj)
RTOp_index_type RTOp_ROp_num_bounded_val(RTOp_ReductTarget targ_obj)
int RTOp_ROp_num_bounded_set_inf_bnd(RTOp_value_type inf_bnd, struct RTOp_RTOp *op)
static int RTOp_ROp_num_bounded_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_ROp_num_bounded_destroy(struct RTOp_RTOp *op)
size_type num_bounded(const Vector &xl, const Vector &xu, value_type inf_bound)
Count the number of finitly bounded elements in xl <= x <= xu.
const struct RTOp_RTOp_vtbl_t * vtbl
const struct RTOp_RTOp_vtbl_t RTOp_ROp_num_bounded_vtbl
#define RTOp_ERR_INVALID_NUM_TARG_VECS
const struct RTOp_obj_type_vtbl_t RTOp_obj_value_vtbl
int RTOp_get_reduct_sum_value_op(const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, RTOp_reduct_op_func_ptr_t *reduct_op_func_ptr)
Teuchos_Ordinal RTOp_index_type