Topic: valarray slice stride now takes size_t rather than int?


Author: "steve downey" <steve.downey@servicing.com>
Date: 1997/05/28
Raw View
valarray slice stride now takes size_t rather than int?
That limits it's usefulness as a BLAS-like slice, since BLAS increment =
paramters not only take negative numbers, it's a frequently used =
feature. Negative increments means that the stride ranges from the end =
of the vector back to the beginning.  This makes it easy to a =
convolution, for example, using the same routine as a dot product, only =
using a negative increment instead of a positive.=20

Is there a reason this was changed that I'm missing?

           -SMD
---
[ comp.std.c++ is moderated.  To submit articles: try just posting with      ]
[ your news-reader.  If that fails, use mailto:std-c++@ncar.ucar.edu         ]
[ FAQ:      http://reality.sgi.com/employees/austern_mti/std-c++/faq.html    ]
[ Policy:   http://reality.sgi.com/employees/austern_mti/std-c++/policy.html ]
[ Comments? mailto:std-c++-request@ncar.ucar.edu                             ]