summaryrefslogtreecommitdiff
path: root/data_structures/MAXMIN.js
blob: 6b19a1c6fdc8c43564a0a6199be76d4614e82f4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
function MAXMIN () {


	var model = scicos_model();
	model.sim=list("minmax",4);
	model.out = new ScilabDouble([1]);
	model.in = new ScilabDouble([-1]);
	model.blocktype = new ScilabString(["c"]);
	model.dep_ut = new ScilabBoolean([true,false]);
	model.ipar = new ScilabDouble([0]);

	var exprs = [[2,1,1]'.toString()];

	var gr_i = [];
	this.x=new standard_define(new ScilabDouble([2,2]),model,exprs,gr_i);
	this.x.graphics.style = new ScilabString(["MAXMIN;displayedLabel=MAX"]);
}