A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://arrayfire.github.io/arrayfire-rust/arrayfire/../arrayfire/../arrayfire/fn.index.html below:

arrayfire::index - Rust

use arrayfire::{Dim4, Seq, index, randu, print};
let dims = Dim4::new(&[5, 5, 1, 1]);
let a = randu::<f32>(dims);
let seqs = &[Seq::new(1.0, 3.0, 1.0), Seq::default()];
let sub  = index(&a, seqs);
println!("a(seq(1, 3, 1), span)");
print(&sub);

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4