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/trait.Indexable.html below:

arrayfire::Indexable - Rust

[−][src]Trait arrayfire::Indexable

Trait bound indicating indexability

Any object to be able to be passed on to Indexer::set_index() method should implement this trait with appropriate implementation of set method.

fn set(&self, idxr: &mut Indexer<'_>, dim: u32, is_batch: Option<bool>)

Set indexing object for a given dimension

is_batch parameter is not used in most cases as it has been provided in ArrayFire C-API to enable GFOR construct in ArrayFire C++ API. This type of construct/idea is not exposed in rust wrapper yet. So, the user would just need to pass None to this parameter while calling this function. Since we can't have default default values and we wanted to keep this parameter for future use cases, we just made it an std::Option.

Loading content...Loading content...

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