Add cbrt to component-wise operations

Describe the feature you would like to be implemented.

Similarly to how eigen supports the sqrt function for doing component-wise operations, it would be nice to support the cbrt (cube root) function as well. Cbrt has been part of C++ since C++11, and is also included in Intel's MKL for vectorized operations.

Would such a feature be useful for other users? Why?

I recently came across a place where I needed to apply a component-wise cbrt function, but had to choose between looping over the matrix manually or applying the component-wise pow function, both of which are less than optimal.

Any hints on how to implement the requested feature?

It should be almost as simple as duplicating what exists for the cWiseSqrt function, but with protections for pre-C++11 compilers.

Additional resources

https://en.cppreference.com/w/cpp/numeric/math/cbrt

https://www.intel.com/content/www/us/en/docs/onemkl/developer-reference-c/2023-2/v-cbrt.html

Edited by Kyle Macfarlan