NAME

frobenius_matrix_norm - Returns the Frobenius norm of a matrix

SYNOPSIS

#include "m/m_mat_norm.h"

Example compile flags (system dependent):
  -DLINUX_386 -DLINUX_386_P4  
   -I/home/kobus/include
   -L/home/kobus/load/linux_386_p4 -L/usr/local/lib -L/usr/lib
  -lKJB         -llapack -lblas -lg2c          -lXext -lX11 


double frobenius_matrix_norm(const Matrix *mp);

DESCRIPTION

This routine calculates the Frobenius norm of a matrix. The Frobenius norm is simply the square root of the sum of the squares of the matrix elements.

RETURNS

The Frobenius norm or a negative number if there is an error (not very likely--currently impossible).

DISCLAIMER

This software is not adequatedly tested. It is recomended that results are checked independantly where appropriate.

AUTHOR

Kobus Barnard

DOCUMENTOR

Kobus Barnard

SEE ALSO

get_matrix_col_norms , get_matrix_row_norms , min_abs_matrix_element , min_matrix_element , get_min_matrix_element , max_abs_matrix_element , max_matrix_element , get_max_matrix_element