28 #include "intvector.hpp" 30 #include "intvector.inl" 46 std::ostream& operator<< ( std::ostream& os,
intvector& v )
48 int i, newline = (
Ub(v)-
Lb(v) > 15);
50 for (i =
Lb(v); i <=
Ub(v); i++) {
52 if (newline) os << std::endl;
54 if (!newline) os << std::endl;
int Lb(const cimatrix &rm, const int &i)
Returns the lower bound index.
The namespace cxsc, providing all functionality of the class library C-XSC.
void DoubleSize(cimatrix &A)
Doubles the size of the matrix.
void Resize(cimatrix &A)
Resizes the matrix.
int Ub(const cimatrix &rm, const int &i)
Returns the upper bound index.
ivector abs(const cimatrix_subv &mv)
Returns the absolute value of the matrix.