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