MF_SVDsetEdit MD_SVDsetEdit ME_SVDsetEdit
Functionset the Singular Value editing threshold
Syntax C/C++#include <MFstd.h>
void MF_SVDsetEdit( float Thresh );
C++ MatObj#include <OptiVec.h>
void matrix<T>::SVDsetEdit( const T& Thresh );
Pascal/Delphiuses MFstd;
procedure MF_SVDsetEdit( Thresh:Single );
DescriptionAs described in connection with MF_SVdecompose and MF_SVsolve, the crucial point in using functions which rely on Singular Value Decomposition is the Singular Value editing step. By default, the SV editing threshold is 4*FLT_EPSILON,  8*DBL_EPSILON, or 16*LDBL_EPSILON. You may change these default values by calling MF_SVDsetEdit. To retrieve the current SV editing threshold, call MF_SVDgetEdit.

As MF_SVDsetEdit is not thread-safe, this function should not be used to set different editing thresholds for different calls to MF_SVsolve etc. Rather than repeatedly changing the default value then, use the "wEdit" variant of MF_SVsolve etc., namely MF_SVsolvewEdit, MF_solveBySVDwEdit and MF_safeSolvewEdit.

See alsoMF_SVdecompose,   MF_SVsolve,   chapter 10

MatrixLib Table of Contents  OptiVec home