Package com.imsl.math
Interface GenMinRes.Norm
- All Superinterfaces:
GenMinRes.VectorProducts
- All Known Implementing Classes:
GenMinResEx2
- Enclosing class:
- GenMinRes
Public interface for the user supplied function to the
GenMinRes object used for the norm \( \Vert X \Vert \)
when the Gram-Schmidt implementation is used.-
Method Summary
Modifier and TypeMethodDescriptiondoublenorm(double[] x) Used to compute the norm \( \Vert X \Vert \) in the Gram-Schmidt implementation.Methods inherited from interface com.imsl.math.GenMinRes.VectorProducts
innerproduct
-
Method Details
-
norm
double norm(double[] x) Used to compute the norm \( \Vert X \Vert \) in the Gram-Schmidt implementation. If this function is not implemented, the \( L_2 \) norm is used.- Parameters:
x- inputdoublevector for which the norm will be computed.- Returns:
- a
double, the value of the norm ofx.
-