Mercurial > octave
view CITATION @ 29816:f54cfd60725e
Fix mpower for additional cases where negative scalar base is used (bug #60786).
* xpow.cc (xpow (double, ComplexMatrix), xpow (float, FloatComplexMatrix)):
Check for base < 0.0 and if found use std::pow with std::complex first argument
so that math library chooses a different template for function which can handle
negative bases.
author | Rik <rik@octave.org> |
---|---|
date | Thu, 24 Jun 2021 13:51:52 -0700 |
parents | 844b3b9bab7a |
children | 8d7671609955 |
line wrap: on
line source
To cite GNU Octave in publications use: John W. Eaton, David Bateman, Søren Hauberg, Rik Wehbring (2020). GNU Octave version 6.1.0 manual: a high-level interactive language for numerical computations. URL https://www.gnu.org/software/octave/doc/v6.1.0/ A BibTeX entry for LaTeX users is: @manual{, title = {{GNU Octave} version 6.1.0 manual: a high-level interactive language for numerical computations}, author = {John W. Eaton and David Bateman and S{\o}ren Hauberg and Rik Wehbring}, year = {2020}, url = {https://www.gnu.org/software/octave/doc/v6.1.0/}, } We have invested a lot of time and effort in creating GNU Octave, please cite it when using it. See also 'citation pkgname' for citing Octave packages.