/// <summary> /// Gets creator /// </summary> /// <param name="detector">Detector</param> /// <returns>Creator</returns> static public IFormulaObjectCreator GetCreator(IVariableDetector detector) { List <IOperationDetector> l = new List <IOperationDetector>(); l.AddRange(StaticExtensionDataPerformerFormula.OperationDetectors); l.Add(new DerivationDetector("d/dt", "d/dt")); return(ExtendedFormulaCreator.GetCreator(detector, l, StaticExtensionDataPerformerFormula.BinaryDetectors)); }
/// <summary> /// Default constructor /// </summary> protected RationalTransformControlSystemFunctionWrapper() : base(new double[] { 1 }, new double[] { 1 }) { creator = ExtendedFormulaCreator.GetCreator(this, new IOperationDetector[] { new DerivationDetector("p", "p") }, new IBinaryDetector[0]); }
/// <summary> /// Gets creator /// </summary> /// <param name="table">Table</param> /// <returns>Creator</returns> static public IFormulaObjectCreator GetCreator(Dictionary <char, object> table) { return(ExtendedFormulaCreator.GetCreator(table)); }