NAME
max_thresh_matrix - Limits matrix elements to a maximum value
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 max_thresh_matrix
(
Matrix **target_mpp,
const Matrix *source_mp,
double max_val
);
DESCRIPTION
This routine sets all elements greater than the specified threshold to the
threshold value. Elements in the matrix specified by the pointer to a matrix
object "mp" are compared to the threshold value "max". All elements greater
than "max" are set equal to "max". The result is placed into the matrix
specified by "target_mpp", leaving the contents of "mp" unchanged.
RETURNS
NO_ERROR on success, ERROR on failure.
RELATED
ow_max_thresh_matrix, min_thresh_matrix
DISCLAIMER
This software is not adequatedly tested. It is recomended that
results are checked independantly where appropriate.
AUTHOR
Kobus Barnard
DOCUMENTER
Lindsay Martin
SEE ALSO
frobenius_matrix_norm
,
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
,
get_max_matrix_row_elements
,
get_max_int_matrix_row_elements
,
min_thresh_matrix
,
ow_min_abs_thresh_matrix
,
ow_min_thresh_matrix
,
ow_max_thresh_matrix