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/fn.sparse.html below:

arrayfire::sparse - Rust

[−][src]Function arrayfire::sparse
pub fn sparse<T>(
    rows: u64,
    cols: u64,
    values: &Array<T>,
    row_indices: &Array<i32>,
    col_indices: &Array<i32>,
    format: SparseFormat
) -> Array<T> where
    T: HasAfEnum + FloatingPoint

Create sprase matrix from arrays

This function converts Array of values into sparse array of format sparse format using arrays row_indices and col_indices.

Array with data in given sparse format

This function only uses references of the input arrays to create the sparse data structure and does not perform deep copies.


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