Class Saturater
- Namespace
- NominalSystems.Maths
- Assembly
- NominalSystems.Maths.dll
This module is used to apply a saturation on a set of data
public class Saturater
- Inheritance
-
Saturater
Constructors
Saturater(int)
Constructor with a specific size
public Saturater(int size)
Parameters
size
intThe size of the saturator
Methods
Saturate(Vector)
Saturates the given unsaturated states
public Vector Saturate(Vector unsaturatedStates)
Parameters
unsaturatedStates
VectorA vector of the unsaturated states
Returns
- Vector
Saturated States
Saturate(double)
Saturates the given unsaturated state
public double Saturate(double a)
Parameters
a
doubleA unsaturated state
Returns
- double
Saturated State
SetBounds(Matrix)
Sets upper and lower bounds for each state
public void SetBounds(Matrix bounds)
Parameters
bounds
MatrixOne row for each state. lower bounds in left column, upper in right column