Beispiel #1
0
    public Exponential(Algebraic a, Algebraic c, Variable x, Algebraic b)
    {
        this.a    = new Algebraic[2];
        this.a[0] = c;
        this.a[1] = a;
        Algebraic[] z = new Algebraic[2];
        z[0] = Zahl.ZERO;
        z[1] = b;
        object la = Lambda.pc.env.getValue("exp");

        if (!(la is LambdaEXP))
        {
            la = new LambdaEXP();
        }
        this.v      = new FunctionVariable("exp", new Polynomial(x, z), (LambdaAlgebraic)la);
        this.expvar = x;
        this.exp_b  = b;
    }
Beispiel #2
0
    public Exponential(Algebraic a, Algebraic c, Variable x, Algebraic b)
    {
        this.Coeffs = new Algebraic[2];

        this[0] = c;
        this[1] = a;

        var z = new Algebraic[2];

        z[0] = Symbolic.ZERO;
        z[1] = b;

        var la = Lambda.pc.env.getValue("exp");

        if (!(la is LambdaEXP))
        {
            la = new LambdaEXP();
        }

        this._v = new FunctionVariable("exp", new Polynomial(x, z), ( LambdaAlgebraic )la);

        this.expvar = x;
        this.exp_b  = b;
    }