How to use the smallerEq function from mathjs

Find comprehensive JavaScript mathjs.smallerEq code examples handpicked from public code repositorys.

44
45
46
47
48
49
50
51
52
53
var high = Util.getIndexRow(y, math.max(y));
var li = high;
var ho = low;

for(var i = 0; i <= size; ++i) {
    if(!math.equal(i, low) && !math.equal(i, high) && math.smallerEq(y[i], y[li])) {
        li = i;
    }
    if(!math.equal(i, low) && !math.equal(i, high) && math.largerEq(y[i], y[ho])) {
        ho = i;
fork icon0
star icon0
watch icon0

+ 9 other calls in file