Algebra.js
function() {
            var l = this.coeffs.length;
            for(var i=0; i<l; i++) {
                var e = this.coeffs[i];
                if(!e.equals(0)) return false;
            }
            return true;
        }
function() {
            var l = this.coeffs.length;
            for(var i=0; i<l; i++) {
                var e = this.coeffs[i];
                if(!e.equals(0)) return false;
            }
            return true;
        }
function ( ) { var l = this . coeffs . length ; for ( var i = 0 ; i < l ; i ++ ) { var e = this . coeffs [ i ] ; if ( ! e . equals ( 0 ) ) return false ; } return true ; }
Checks if a polynomial is zero
@returns {Boolean}
Checks if a polynomial is zero