summaryrefslogtreecommitdiff
path: root/js/MatrixOp/MATMUL.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/MatrixOp/MATMUL.js')
-rw-r--r--js/MatrixOp/MATMUL.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/js/MatrixOp/MATMUL.js b/js/MatrixOp/MATMUL.js
index a9e39de4..00e69390 100644
--- a/js/MatrixOp/MATMUL.js
+++ b/js/MatrixOp/MATMUL.js
@@ -18,6 +18,12 @@ function MATMUL() {
return this.x;
}
MATMUL.prototype.get = function MATMUL() {
+ var options = {
+ dtype:["Datatype(1=real double 2=Complex 3=int32 ...)",this.dtype],
+ rule:["Multiplication rule",this.rule],
+ np:["Do on Overflow(0=Nothing 1=Saturate 2=Error)",this.np],
+ }
+ return options;
}
MATMUL.prototype.set = function MATMUL() {
this.dtype = parseFloat((arguments[0]["dtype"]))