oxilean-std 0.1.2

OxiLean standard library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! # Complex - powc_group Methods
//!
//! This module contains method implementations for `Complex`.
//!
//! 🤖 Generated with [SplitRS](https://github.com/cool-japan/splitrs)

use super::complex_type::Complex;

impl Complex {
    /// Complex power z^w = exp(w * log(z)).
    pub fn powc(self, w: Self) -> Option<Self> {
        Some(w.mul(self.log()?).exp())
    }
}