47 ,
bool print_dim ,
bool newline
52 int w = o->width(0) - 1;
59 const ptrdiff_t v_val_s = v.
stride();
63 *o <<
" " << std::setw(w) << (*v_val) <<
":" << i + v.
globalOffset();
65 if(newline) *o << std::endl;
const Scalar * values() const
TEUCHOS_DEPRECATED RCP< T > rcp(T *p, Dealloc_T dealloc, bool owns_mem)
const f_int f_dbl_prec const f_int f_int const f_int f_int const f_dbl_prec f_int f_int f_dbl_prec w[]
Teuchos_Ordinal subDim() const
Teuchos_Ordinal globalOffset() const
std::ostream & output(std::ostream &o, const SubVector &v, bool print_dim, bool newline)
Print an RTOp_SubVector.
Class for a non-mutable sub-vector.
Teuchos_Ordinal RTOp_index_type