/// <summary> /// Checks whether the symbol is same /// </summary> /// <param name="sym">Symbol</param> /// <returns>True if same and false otherwise</returns> public override bool IsSame(MathSymbol sym) { if (!(sym is BinarySymbol)) { return(false); } BinarySymbol ss = sym as BinarySymbol; return(symbol == ss.symbol); }
/// <summary> /// Constructor /// </summary> /// <param name="s">Prototype</param> public BinarySymbol(BinarySymbol s) : base(s) { }