Module gmt_dos_clients::select
source · Expand description
§Select vector element
Select and return some elements for an input Vec
§Examples
Selecting the 3rd element
use gmt_dos_clients::select::Select;
let select = Select::<f64>::new(2);
Selecting the 1st and 3rd elements
use gmt_dos_clients::select::Select;
let select = Select::<f64>::new(vec![0,2]);
Selecting elements from the 2nd to the 4th
use gmt_dos_clients::select::Select;
let select = Select::<f64>::new(1..3);