Skip to content

num::row_slice

Defined in header <plot/gnuplot.hpp>

series row_slice(const vec<real> &u, int N, double h, int row);  // (1)

template <class Field>
series row_slice(const Field &field, int row);  // (2)

(1) Extract one row as (x_j,u_j) plot data.

(2) Extract one row from a field exposing as_vec(), N(), and h().