Enum arrayfire::NormType
[−]
[src]
#[repr(C)]pub enum NormType { VECTOR_1, VECTOR_INF, VECTOR_2, VECTOR_P, MATRIX_1, MATRIX_INF, MATRIX_2, MATRIX_L_PQ, }
Norm type
Variants
VECTOR_1Treats input as a vector and return sum of absolute values
VECTOR_INFTreats input as vector and return max of absolute values
VECTOR_2Treats input as vector and returns euclidean norm
VECTOR_PTreats input as vector and returns the p-norm
MATRIX_1Return the max of column sums
MATRIX_INFReturn the max of row sums
MATRIX_2Returns the max singular value (Currently not supported)
MATRIX_L_PQReturns Lpq-norm
Trait Implementations
impl Clone for NormType[src]
fn clone(&self) -> NormType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more