-
Notifications
You must be signed in to change notification settings - Fork 0
Other utilities
spcan edited this page Mar 27, 2018
·
1 revision
Accessed with the feature nightly
For the rust nightly compiler, the Traits Zero and One are implemented for Complex and EComplex
These include the methods one() and zero(), which respectively return the one and zero values of the structs,
and the is_zero() method, which checks if a number is equal to zero.
Accessed with the feature num_complex_compatible
With this feature, the crate is made compatible with the num-complex crate, from the num-traits collection
Complex and EComplex can be cast to the types Complex32 and Complex64