/// <summary> /// /// Construct a Scale that goes from "aFrom" to "aTo" as /// function b goes from "bFrom" to "bTo". /// </summary> /// <param name="aFrom">the "from" value on the "a" scale (usually constant)</param> /// <param name="a">the "a" function that typical varies with time</param> /// <param name="aTo">the "to" value ont the "a" scale</param> /// <param name="bFrom">the "from" value on the "b" scale</param> /// <param name="bTo">the "to" value on the "b" scale</param> public Scale(double aFrom, Frapper a, double aTo, double bFrom, double bTo) : this(new Constant(aFrom), a, new Constant(aTo), new Constant(bFrom), new Constant(bTo)) { }
/// <summary> /// Construct a Scale that goes from "from" to "to" as /// time goes 0 to 1. /// </summary> /// <param name="f1">the "from" function</param> /// <param name="f2">the "to" function</param> public Scale(Frapper f1, Frapper f2) : this(new Constant(0), new T(), new Constant(1), f1, f2) { }
/// <summary> /// </summary> /// <param name="aFrom">the "from" value on the "a" scale (usually constant)</param> /// <param name="a">the "a" function that typical varies with time</param> /// <param name="aTo">the "to" value ont the "a" scale</param> /// <param name="bFrom">the "from" value on the "b" scale</param> /// <param name="bTo">the "to" value on the "b" scale</param> public Scale( Frapper aFrom, Frapper a, Frapper aTo, Frapper bFrom, Frapper bTo) : base(new Frapper[] { aFrom, a, aTo, bFrom, bTo }) { }
/// <summary> /// Construct an absolute value function that decorates the /// provided source function. /// </summary> /// <param name="f">Another function wrapper</param> public Abs(Frapper f) : base(f) { }
/// <summary> /// Konstrukcja funkcji wyk³adniczej opakowuj¹cej podan¹ funkcjê /// Ÿród³ow¹. /// </summary> /// <param name="f">Inna klasa opakowuj¹ca funkcjê</param> public Exp(Frapper f) : base(f) { }
/// <summary> /// Construct an arithmetic function that decorates the /// provided source functions. /// </summary> /// <param name="f1">Another function wrapper</param> /// <param name="f2">Yet another function wrapper</param> public Arithmetic(Char op, Frapper f1, Frapper f2) : base(new Frapper[] { f1, f2 }) { _op = op; }
/// <summary> /// Construct a sine function that decorates the /// provided source function. /// </summary> /// <param name="f">Another function wrapper</param> public Sin(Frapper f) : base(f) { }
/// <summary> /// Konstrukcja funkcji cosinusa do³¹czanej do dostarczonej funkcji /// Ÿród³owej. /// </summary> /// <param name="f">Inna klasa opakowuj¹ca funkcjê</param> public Cos(Frapper f) : base(f) { }
/// <summary> /// Konstrukcja funkcji pierwiastka kwadratowego do³¹czanej do /// dostarczonej funkcji Ÿród³owej. /// </summary> /// <param name="f">Inna klasa opakowuj¹ca funkcjê</param> public Sqrt(Frapper f) : base(f) { }
/// <summary> /// Konstrukcja funkcji opakowuj¹cej dostarczon¹ funkcjê Ÿród³ow¹. /// </summary> /// <param name="f">funkcja Ÿród³owa opakowywana przez tê funkcjê</param> public Frapper(Frapper f) : this(new Frapper[] { f }) { }