summaryrefslogtreecommitdiff
path: root/js/NonLinear/PROD_f.js
blob: 3f92ab6254c6cb3ac5df03a1683b7158b606620e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/* autogenerated from "macros/NonLinear/PROD_f.sci" */
function PROD_f() {
    PROD_f.prototype.define = function PROD_f() {
        this.model = scicos_model();
        this.model.sim = list(new ScilabString(["prod"]), new ScilabDouble([2]));
        this.model.in = new ScilabDouble([-1],[-1]);
        this.model.out = new ScilabDouble([-1]);
        this.model.blocktype = new ScilabString(["c"]);
        this.model.dep_ut = new ScilabBoolean([true,false]);
        this.x = new standard_define(new ScilabDouble([1,1]),this.model,new ScilabDouble([]),[]);
        return new RoundBlock(this.x);
    }
    PROD_f.prototype.details = function PROD_f() {
        return this.x;
    }
    PROD_f.prototype.get = function PROD_f() {
        alert("parameters cannot be modified");
    }
    PROD_f.prototype.set = function PROD_f() {
        return new RoundBlock(this.x);
    }
    PROD_f.prototype.get_popup_title = function PROD_f() {
        var set_param_popup_title = "Set parameters";
        return set_param_popup_title;
    }
}