range4rheolef
Index range for a subset of a vector (rheolef-7.2)
Overview
This class represents a range of index for addressing a subset of the vec(4) container.
Examples
vec<double> x (100, 3.14);
vec<double> y = x(range(0,50));
dout << y << endl;
Implementation
This documentation has been generated from file linalg/lib/range.h
struct range {
using size_type = size_t;
range (size_type start=0, size_type stop=0);
size_type start() const;
size_type size() const;
static range all();
};
Releases
3 releases since Debian 11 (Bullseye); the text changed 2 times.