8 std::cerr <<
"The required component is out of the vector size." << std::endl
9 <<
"Your input is (" << i <<
"), whereas the vector size is " <<
l <<
"." << std::endl;
24 for(CPPL_INT
i=0;
i<vec.
l;
i++){ s <<
" " << vec.
array[
i]; }
38 std::ofstream ofs(filename, std::ios::trunc);
39 ofs.setf(std::cout.flags());
40 ofs.precision(std::cout.precision());
41 ofs.width(std::cout.width());
42 ofs.fill(std::cout.fill());
44 ofs <<
"#drovector" <<
" " <<
l << std::endl;
45 for(CPPL_INT
i=0;
i<
l;
i++){
void write(const char *) const
std::ostream & operator<<(std::ostream &s, const _drovector &vec)
double * array
1D array to store vector data
_dgematrix i(const _dgbmatrix &mat)
(DO NOT USE) Smart-temporary Real Double-precision Row Vector Class
double & operator()(const CPPL_INT &) const