MatNorm

Calculates various norms of a matrix.

Synopsis

int MatNorm(Mat mat,NormType type,double *norm)
Collective on Mat

Input Parameters

mat - the matrix
type - the type of norm, NORM_1, NORM_2, NORM_FROBENIUS, NORM_INFINITY

Output Parameters

norm -the resulting norm

Keywords

matrix, norm, Frobenius

Location: src/mat/interface/matrix.c
Matrix Index
Table of Contents