Updated docs for pow (see #525)

This commit is contained in:
jos 2016-02-13 13:44:12 +01:00
parent 90c0d7c274
commit 33ddfb70a5

View File

@ -18,6 +18,10 @@ function factory (type, config, load, typed) {
* Matrix exponentiation is supported for square matrices `x`, and positive
* integer exponents `y`.
*
* For cubic roots of negative numbers, the function returns the principal
* root by default. In order to let the function return the real root,
* math.js can be configured with `math.config({predictable: true})`.
*
* Syntax:
*
* math.pow(x, y)