Public Member Functions | |
Constant (string name) | |
Creates a constant with _value 0. | |
Constant (float value, string name) | |
override float | Value (float[] parameters, int startIndex) |
Gets the __value of the constant. | |
override string | ToString () |
Gets the name of the constant, followed by ", " and than the _value. | |
Constant (Constant symbol) | |
Clones symbol . | |
override GEP.Core.Common.Symbol | Clone () |
Clones this instance. | |
Public Attributes | |
float | _value |
Value of the constant. | |
Protected Attributes | |
string | _name |
int | _n_Parameters |
Properties | |
string | Name [get] |
Gets the name of this symbol. | |
int | N_Parameters [get] |
The number of parameters the symbol accepts. |
Definition at line 12 of file Constant.cs.