`range`

index range for a subset of a vector

# Description

This class represents a range of index for addressing a subset of the `vec` container.

# Example

        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();
};
rheolef::range::range
range(size_type start=0, size_type stop=0)
Definition: range.h:79
rheolef::range::size
size_type size() const
Definition: range.h:86
rheolef::range::start
size_type start() const
Definition: range.h:85
size_type
field::size_type size_type
Definition: branch.cc:425
rheolef::range::all
static range all()
Definition: range.h:87