Function const_vector_range (o2scl)

O2scl : Function List

template<class dat_t>
const dat_t *o2scl::const_vector_range(const dat_t *v, size_t start, size_t last)

Vector range function for const pointers.

Note

In this case, the return type is the same as the type of the first parameter.

template<class dat_t>
const boost::numeric::ublas::vector_range<boost::numeric::ublas::vector<dat_t>> o2scl::const_vector_range(boost::numeric::ublas::vector<dat_t> &v, size_t start, size_t last)

Const vector range function template for ublas vectors.

The element with index start in the original vector will become the first argument in the new vector, and the new vector will have size last-start .

Note

In this case, the return type is not the same as the type of the first parameter.

template<class dat_t>
const boost::numeric::ublas::vector_range<const boost::numeric::ublas::vector<dat_t>> o2scl::const_vector_range(const boost::numeric::ublas::vector<dat_t> &v, size_t start, size_t last)

Const vector range function template for const ublas vectors.

The element with index start in the original vector will become the first argument in the new vector, and the new vector will have size last-start .

Note

In this case, the return type is not the same as the type of the first parameter.

template<class dat_t>
const boost::numeric::ublas::vector_range<boost::numeric::ublas::vector_range<boost::numeric::ublas::vector<dat_t>>> o2scl::const_vector_range(boost::numeric::ublas::vector_range<boost::numeric::ublas::vector<dat_t>> &v, size_t start, size_t last)

Const vector range function template for ublas vector ranges of ublas vectors.

The element with index start in the original vector will become the first argument in the new vector, and the new vector will have size last-start .

Note

In this case, the return type is not the same as the type of the first parameter.

template<class dat_t>
const boost::numeric::ublas::vector_range<const boost::numeric::ublas::vector_range<boost::numeric::ublas::vector<dat_t>>> o2scl::const_vector_range(const boost::numeric::ublas::vector_range<boost::numeric::ublas::vector<dat_t>> &v, size_t start, size_t last)

Const vector range function template for const ublas vector ranges of ublas vectors.

The element with index start in the original vector will become the first argument in the new vector, and the new vector will have size last-start .

Note

In this case, the return type is not the same as the type of the first parameter.

template<class dat_t>
const boost::numeric::ublas::vector_range<const boost::numeric::ublas::vector_range<const boost::numeric::ublas::vector<dat_t>>> o2scl::const_vector_range(const boost::numeric::ublas::vector_range<const boost::numeric::ublas::vector<dat_t>> &v, size_t start, size_t last)

Const vector range function template for const ublas vector ranges of const ublas vectors.

The element with index start in the original vector will become the first argument in the new vector, and the new vector will have size last-start .

Note

In this case, the return type is not the same as the type of the first parameter.

template<class data_t>
const const_vector_range_gen<std::vector<data_t>> o2scl::const_vector_range(const std::vector<data_t> &v, size_t start, size_t last)

Create a o2scl::vector_range_gen object from a std::vector

template<class data_t>
const const_vector_range_gen<std::vector<data_t>> o2scl::const_vector_range(std::vector<data_t> &v, size_t start, size_t last)

Create a o2scl::vector_range_gen object from a std::vector

template<class vec_t>
const const_vector_range_gen<vec_t> o2scl::const_vector_range(vector_range_gen<vec_t> &v, size_t start, size_t last)

Recursively create a const o2scl::vector_range_gen object from a vector range.

template<class vec_t>
const const_vector_range_gen<vec_t> o2scl::const_vector_range(const vector_range_gen<vec_t> &v, size_t start, size_t last)

Recursively create a const o2scl::vector_range_gen object from a const vector range.

template<class vec_t>
const const_vector_range_gen<vec_t> o2scl::const_vector_range(const const_vector_range_gen<vec_t> &v, size_t start, size_t last)

Recursively create a const o2scl::vector_range_gen object from a const vector range.