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.clamp.html below:

arrayfire::clamp - Rust

[−][src]Function arrayfire::clamp
pub fn clamp<T, C>(
    input: &Array<T>,
    arg1: &C,
    arg2: &C,
    batch: bool
) -> Array<<T as ImplicitPromote<<C as Convertable>::OutType>>::Output> where
    T: ImplicitPromote<<C as Convertable>::OutType>,
    C: Convertable,
    <C as Convertable>::OutType: ImplicitPromote<T>, 

Clamp the values of Array

Both parameters arg1 and arg2 can be either an Array or a value of rust integral type.

An Array with results of the binary operation.


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