-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
featureIndicates new feature / enhancement requestsIndicates new feature / enhancement requestsmathsMathematical functionsMathematical functions
Description
As noted on discourse, this method is missing.
An obvious (but inconsistent, see below) implementation would be:
cbrt(z::Complex) = cbrt(abs(z)) * cis(angle(z)/3)but maybe there is a faster way?
Might also be worth having a fallback method too: (this is inconsistent too)
cbrt(x::Number) = x^(1//3)MasonProtter, PallHaraldsson, MilesCranmer and StefanKarpinski
Metadata
Metadata
Assignees
Labels
featureIndicates new feature / enhancement requestsIndicates new feature / enhancement requestsmathsMathematical functionsMathematical functions