Skip to content

Commit e29b0eb

Browse files
committed
vector toUnitMultiplier
1 parent bf8522d commit e29b0eb

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

nerdamer.core.js

+10
Original file line numberDiff line numberDiff line change
@@ -11463,6 +11463,11 @@ var nerdamer = (function (imports) {
1146311463
}, undefined, this);
1146411464
},
1146511465

11466+
toUnitMultiplier: function() {
11467+
this.m = new Frac(1);
11468+
return this;
11469+
},
11470+
1146611471
// Returns the (absolute) largest element of the vector
1146711472
max: function () {
1146811473
var m = 0, n = this.elements.length, k = n, i;
@@ -11652,6 +11657,11 @@ var nerdamer = (function (imports) {
1165211657
}
1165311658
return m;
1165411659
},
11660+
toUnitMultiplier: function() {
11661+
this.m = new Frac(1);
11662+
return this;
11663+
},
11664+
1165511665
// ported from Sylvester.js
1165611666
invert: function () {
1165711667
if(!this.isSquare())

0 commit comments

Comments
 (0)