コード例 #1
0
 /// <summary>
 /// Creates an operand with a particular scope.
 /// </summary>
 /// <param name="Scope">The scope associated with this Irreducible</param>
 public Irreducible(Scope Scope) : base(Scope)
 {
     
 }
コード例 #2
0
 /// <summary>
 /// Creates a new mathematical constant with a particular symbol, name, description, subscript and value.
 /// </summary>
 /// <param name="Scope">The scope this constant will be registered to</param>
 /// <param name="ID">The ID assigned to this constant</param>
 /// <param name="Symbol">The symbol to associate with the mathematical constant</param>
 /// <param name="Name">The name to associate with the mathematical constant</param>
 /// <param name="Description">The description to associate with the mathematical constant</param>
 /// <param name="Subscript">The subscript to associate with the mathematical constant</param>
 /// <param name="Value">The value to associate with the mathematical constant</param>
 public Constant(Scope Scope, string ID, string Symbol, string Name, string Description, string Subscript, Value Value) : base(Scope)
 {
     this.Symbol = Symbol;
     this.Name = Name;
     this.Description = Description;
     this.Subscript = Subscript;
     this.Value = Value;
     this.ID = ID;
     this.Scope.Register(this);
 }