Function arrayfire::norm
[−]
[src]
pub fn norm(input: &Array, ntype: NormType, p: f64, q: f64) -> f64
Find the norm of a matrix
Parameters
input
is the input matrixntype
is specifies the required norm type using enum NormTypep
specifies the value of P whenntype
is one of VECTOR_P, MATRIX_L_PQ. It is ignored for other values ofntype
q
specifies the value of Q whenntype
is MATRIX_L_PQ. This parameter is ignored ifntype
is anything else.
Return Values
A 64-bit floating point value that contains the norm of input matrix.