blob: 55cc8833921630889658233c040abbc1f5931431 (
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
|
/* autogenerated from "macros/Linear/DERIV.sci" */
function DERIV() {
DERIV.prototype.define = function DERIV() {
this.model = scicos_model();
this.model.sim = list(new ScilabString(["deriv"]), new ScilabDouble([4]));
this.model.in = new ScilabDouble([-1]);
this.model.out = new ScilabDouble([-1]);
this.model.blocktype = new ScilabString(["x"]);
this.model.dep_ut = new ScilabBoolean([true,false]);
var exprs = [];
var gr_i = new ScilabString(["xstringb(orig(1),orig(2),\"DERIV\",sz(1),sz(2));"]);
this.x = new standard_define(new ScilabDouble([2,2]),this.model,new ScilabDouble(exprs),gr_i);
return new BasicBlock(this.x);
}
DERIV.prototype.details = function DERIV() {
return this.x;
}
DERIV.prototype.get = function DERIV() {
alert("parameters cannot be modified");
}
DERIV.prototype.set = function DERIV() {
return new BasicBlock(this.x);
}
}
|