Registry / other / complex

complex

JSON →
library0.8.0rscratesunverified

The package is deprecated in favor of num.

# Cargo.toml [dependencies] complex = "0.8.0"
INSTALL
IMPORT
SIG · COMPLEX
C
complex
otherrustv0.8.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Complex
use complex::Complex;

Creates a complex number (deprecated).

use complex::Complex; fn main() { let c = Complex::new(1.0, 2.0); println!("Complex: {}", c); }
Debug
Known issues
breakingThis crate is deprecated; use num::Complex instead.
fix
Replace with `use num::Complex;` and add `num` to Cargo.toml.
affects: >=0.1.0
Upgrade
Version history
0.8.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Meta
1
Resources
complex — cargo add complex · libregistry