Util Class |
Namespace: DHIMath.Numerics
public static class Util
The Util type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | CalcGradient(ScalarFunction,Double[], Double) |
Calculates numerically the gradient
Use if fx is already calculated. |
![]() ![]() | CalcGradient(ScalarFunction,Double[], Double,Double[], Double) |
Calculates numerically the gradient
Use if fx is already calculated. |
![]() ![]() | CalcJacobian(Int32, VectorFunction,Double[],Double[], Double) |
Calculates numerically the Jacobian
|
![]() ![]() | CalcJacobian(VectorFunction,Double[],Double[],Double[], Double) |
Calculates numerically the Jacobian
Use if fx is already calculated. |
![]() ![]() | Norm2(Double[]) |
Calculates the 2-norm, |x|
|
![]() ![]() | Norm2(Double[],Double[]) |
Calculates the 2-norm, |x2-x1|
|
![]() ![]() | Norm2Sq(Double[]) |
Calculates the 2-norm squared, |x|^2
|
![]() ![]() | Norm2Sq(Double[],Double[]) |
Calculates the 2-norm squared, |x2-x1|^2
|
![]() ![]() | NormInf |
Calculates the inf-norm squared, |x|^inf
|
![]() ![]() | Swap<T> |
Swapping two elements.
|