summaryrefslogtreecommitdiff
path: root/js/MatrixOp/MATPINV.js
diff options
context:
space:
mode:
authorSunil Shetye2018-07-02 22:51:03 +0530
committerSunil Shetye2018-07-02 22:51:03 +0530
commitca1a67f78f7de40a7956c69e41f4ddae2542f4f2 (patch)
tree6a07bd0428e542567726ff7325fcb71203ad6d15 /js/MatrixOp/MATPINV.js
parent5ea6bd919623bb0dd58f235329b985b2bb6cb4ba (diff)
downloadsci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.gz
sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.tar.bz2
sci2js-ca1a67f78f7de40a7956c69e41f4ddae2542f4f2.zip
add options block
Diffstat (limited to 'js/MatrixOp/MATPINV.js')
-rw-r--r--js/MatrixOp/MATPINV.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/MatrixOp/MATPINV.js b/js/MatrixOp/MATPINV.js
index fd8ca1bd..ca3083a9 100644
--- a/js/MatrixOp/MATPINV.js
+++ b/js/MatrixOp/MATPINV.js
@@ -29,6 +29,10 @@ function MATPINV() {
return this.x;
}
MATPINV.prototype.get = function MATPINV() {
+ var options = {
+ typ:["Datatype(1=real double 2=Complex)",this.typ],
+ }
+ return options;
}
MATPINV.prototype.set = function MATPINV() {
this.typ = parseFloat((arguments[0]["typ"]))