Stepwise functions from Tidal (#1060)
* rename new stepwise functions to match tidal, adding s_expand and s_contract * created a `stepJoin` for stepwise patternification
This commit is contained in:
parent
a194180130
commit
0a3694fb82
5 changed files with 344 additions and 78 deletions
|
|
@ -47,6 +47,10 @@ Fraction.prototype.eq = function (other) {
|
|||
return this.compare(other) == 0;
|
||||
};
|
||||
|
||||
Fraction.prototype.ne = function (other) {
|
||||
return this.compare(other) != 0;
|
||||
};
|
||||
|
||||
Fraction.prototype.max = function (other) {
|
||||
return this.gt(other) ? this : other;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue