Next: discount_factor, Previous: convert_curve_rates, Up: Octave Functions and Scripts [Contents][Index]
Return a positive semi-definite matrix A_scaled to a given input
matrix M. This function tests for indefiniteness of the input matrix
and eventuallry adjusts negative Eivenvalues to 0 or slightly positive values
via some iteration steps.
Reference: ’Implementing Value at Risk’, Best, Philip W., 1998.