Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
Eps.cs
4
6{
10 public class Eps : IConstant
11 {
15 public Eps()
16 {
17 }
18
22 public string ConstantName => "ε";
23
27 public string[] Aliases => new string[] { "eps", "epsilon" };
28
34 {
35 return epsilon;
36 }
37
38 private static readonly DoubleNumber epsilon = new DoubleNumber(double.Epsilon);
39 }
40}
Represents the smallest positive System.Double value that is greater than zero.
Definition: Eps.cs:11
IElement GetValueElement(Variables Variables)
Gets the constant value element.
Definition: Eps.cs:33
Eps()
Represents the smallest positive System.Double value that is greater than zero.
Definition: Eps.cs:15
string[] Aliases
Optional aliases. If there are no aliases for the constant, null is returned.
Definition: Eps.cs:27
string ConstantName
Name of the constant
Definition: Eps.cs:22
Collection of variables.
Definition: Variables.cs:25
Basic interface for all types of elements.
Definition: IElement.cs:20
Base interface for constants that integrate into the script engine.
Definition: IConstant.cs:10