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

arrayfire::HasAfEnum - Rust

[−][src]Trait arrayfire::HasAfEnum

Types of the data that can be generated using ArrayFire data generation functions.

The trait HasAfEnum has been defined internally for the following types. We strongly suggest not to implement this trait in your program for user defined types because ArrayFire functions will only work for the following data types currently. Any such trait implementation for types other than the ones listed below will result in undefined behavior.

type InType: HasAfEnum

This type alias points to Self always.

type BaseType: HasAfEnum

This type alias points to the data type used to hold real part of a complex number. For real valued numbers, this points to Self.

type AbsOutType: HasAfEnum

This type alias points to f32 for all 32 bit size types and f64 for larger 64-bit size types.

type ArgOutType: HasAfEnum

This type alias points to f64/f32 for floating point types and Self otherwise.

type UnaryOutType: HasAfEnum

This type alias is used to define the output Array type for unary operations. It points to Self for floating point types, either real or complex. It points to f32 for rest of the input types.

type ComplexOutType

This type alias points to complex type created from a given input type. This alias always points to either std::Complex<f32> or std::Complex<f64>

type MeanOutType: HasAfEnum

This type alias points to a data type that can store the mean value for a given input type. This alias points to f32/Complex<f32> for all 32 bit size types and f64/Complex<f64> for larger 64-bit size types.

type AggregateOutType: HasAfEnum

This type alias points to a data type that can store the result of aggregation of set of values for a given input type. Aggregate type alias points to below types for given input types:

type ProductOutType: HasAfEnum

This type is different for b8 input type

type SobelOutType: HasAfEnum

This type alias points to the output type for given input type of sobel filter operation. Sobel filter output alias points to below types for given input types:

Loading content...Loading content... impl HasAfEnum for Complex<f32>[src] impl HasAfEnum for Complex<f64>[src] impl HasAfEnum for f32[src] impl HasAfEnum for f64[src] impl HasAfEnum for bool[src] impl HasAfEnum for u8[src] impl HasAfEnum for i16[src] impl HasAfEnum for u16[src] impl HasAfEnum for f16[src] impl HasAfEnum for i32[src] impl HasAfEnum for u32[src] impl HasAfEnum for i64[src] impl HasAfEnum for u64[src]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