diff options
Diffstat (limited to 'js/Linear/DERIV.js')
-rw-r--r-- | js/Linear/DERIV.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/Linear/DERIV.js b/js/Linear/DERIV.js index a3b0b8dc..d8b77628 100644 --- a/js/Linear/DERIV.js +++ b/js/Linear/DERIV.js @@ -9,13 +9,14 @@ function DERIV() { model.dep_ut = [true,false]; exprs = []; gr_i = []; - x = standard_define([2,2],model,exprs,gr_i); + this.x = standard_define([2,2],model,exprs,gr_i); } DERIV.prototype.details = function DERIV() { + return this.x; } DERIV.prototype.get = function DERIV() { } DERIV.prototype.set = function DERIV() { - x = arg1; + this.x = arg1; } } |