Installation
Run this in your terminal
OR add this to your Cargo.toml
:
[]
= "0.1.0"
Features
Complex Numbers
Comprehensive support for complex arithmetic, mathematical functions, and polar form conversions
Example
use Complex;
// Create complex numbers
let z1 = new;
let z2 = from_polar;
// Basic arithmetic
let sum = z1 + z2;
let product = z1 * z2;
// Advanced operations
let magnitude = z1.magnitude;
let argument = z1.argument;
let conjugate = z1.conjugate;
License
This project is licensed under the MIT License - see the LICENSE file for details.