summaryrefslogtreecommitdiff
path: root/js/MatrixOp/MATDIAG.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/MatrixOp/MATDIAG.js')
-rw-r--r--js/MatrixOp/MATDIAG.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/MatrixOp/MATDIAG.js b/js/MatrixOp/MATDIAG.js
index ce4df9c6..5fe82b25 100644
--- a/js/MatrixOp/MATDIAG.js
+++ b/js/MatrixOp/MATDIAG.js
@@ -29,6 +29,10 @@ function MATDIAG() {
return this.x;
}
MATDIAG.prototype.get = function MATDIAG() {
+ var options = {
+ typ:["Datatype (1=real double 2=Complex)",this.typ],
+ }
+ return options;
}
MATDIAG.prototype.set = function MATDIAG() {
this.typ = parseFloat((arguments[0]["typ"]))