summaryrefslogtreecommitdiff
path: root/data_structures/SQRT.js
diff options
context:
space:
mode:
Diffstat (limited to 'data_structures/SQRT.js')
-rw-r--r--data_structures/SQRT.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/data_structures/SQRT.js b/data_structures/SQRT.js
new file mode 100644
index 0000000..535bcb2
--- /dev/null
+++ b/data_structures/SQRT.js
@@ -0,0 +1,18 @@
+function SQRT () {
+
+
+ var model = scicos_model();
+ model.sim=list("mat_sqrt",4);
+ model.in = new ScilabDouble([-1]);
+ model.in2 = new ScilabDouble([-2]);
+ model.intyp = new ScilabDouble([1]);
+ model.outtyp = new ScilabDouble([1]);
+ model.out = new ScilabDouble([-1]);
+ model.out2 = new ScilabDouble([-2]);
+ model.dep_ut = new ScilabBoolean([true,false]);
+
+ var label = [sci2exp(1)];
+
+ var gr_i = [];
+ this.x=new standard_define(new ScilabDouble([2,2]),model,label,gr_i);
+}