Degree | ||||||||
Data Type: Integer | ||||||||
An integer (whole number). If the value is a string, the function will attempt to convert it to a number, using the part of the string from the start to the first non-numeric character (ie not one of 0123456789+-*/^). | ||||||||
Please note a common mistake here: The degree of a polynomial is the maximum power to which a term can be raised. Because the first term is always of power0 (the a in y=a+bx), there is always one more coefficient than the degree of polynomial. For this rason you must always allow sufficient space when calling array functions thats solve polynomials - it doesn"t matter if you allow too much, BF will simply pad the surplus with zeros or nulls. | ||||||||
Example: 2 |