NAME

get_min_matrix_element - Finds the smallest element of a matrix

SYNOPSIS

#include "m/m_mat_norm.h"

Example compile flags (system dependent):
  -DLINUX_X86_64 -DLINUX_X86_64_OPTERON  -DGNU_COMPILER 
   -I/home/kobus/include
   -L/home/kobus/misc/load/linux_x86_64_opteron -L/usr/lib/x86_64-linux-gnu
  -lKJB                               -lfftw3  -lgsl -lgslcblas -ljpeg  -lSVM -lstdc++                    -lpthread -lSLATEC -lg2c    -lacml -lacml_mv -lblas -lg2c      -lncursesw 


int get_min_matrix_element
(
	const Matrix *mp,
	double *min_ptr,
	int *min_i_ptr,
	int *min_j_ptr
);

DESCRIPTION

This routine finds the smallest element in the matrix specified by "mp", and puts it into *min_ptr. The row and column of the element are returned in *row_ptr and *col_ptr, respectively. Any of these three values can be NULL, if you are not interested.

RETURNS

NO_ERROR on sucess or ERROR if there are problems.

DISCLAIMER

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

AUTHOR

Kobus Barnard

DOCUMENTER

Kobus Barnard

SEE ALSO

frobenius_matrix_norm , get_matrix_col_norms , get_matrix_row_norms , min_abs_matrix_element , min_matrix_element , max_abs_matrix_element , max_matrix_element , get_max_matrix_element , get_max_matrix_row_elements , get_max_int_matrix_row_elements , min_thresh_matrix , ow_min_abs_thresh_matrix , ow_min_thresh_matrix , max_thresh_matrix , ow_max_thresh_matrix