Click or drag to resize

Util Class

Utility class with various mathematical helper functions.
Inheritance Hierarchy
SystemObject
  DHIMath.NumericsUtil

Namespace:  DHIMath.Numerics
Assembly:  DHI.Mike1D.Generic (in DHI.Mike1D.Generic.dll) Version: 16.0.0.0 (11.1.1.1111)
Syntax
C#
public static class Util

The Util type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCalcGradient(ScalarFunction, Double, Double)
Calculates numerically the gradient

Use if fx is already calculated.

Public methodStatic memberCalcGradient(ScalarFunction, Double, Double, Double, Double)
Calculates numerically the gradient

Use if fx is already calculated.

Public methodStatic memberCalcJacobian(Int32, VectorFunction, Double, Double, Double)
Calculates numerically the Jacobian
Public methodStatic memberCalcJacobian(VectorFunction, Double, Double, Double, Double)
Calculates numerically the Jacobian

Use if fx is already calculated.

Public methodStatic memberNorm2(Double)
Calculates the 2-norm, |x|
Public methodStatic memberNorm2(Double, Double)
Calculates the 2-norm, |x2-x1|
Public methodStatic memberNorm2Sq(Double)
Calculates the 2-norm squared, |x|^2
Public methodStatic memberNorm2Sq(Double, Double)
Calculates the 2-norm squared, |x2-x1|^2
Public methodStatic memberNormInf
Calculates the inf-norm squared, |x|^inf
Public methodStatic memberSwapT
Swapping two elements.
Top
See Also