thermite-complex 0.2.1

Generic SIMD complex numbers built on Thermite
Documentation
[package]
name = "thermite-complex"
version.workspace = true
edition.workspace = true
rust-version.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
authors.workspace = true
description = "Generic SIMD complex numbers built on Thermite"
keywords = ["simd", "complex", "complex-numbers", "math", "no-std"]
categories = ["mathematics", "science", "no-std", "hardware-support"]
readme = "README.md"
include = ["/src", "/README.md", "/katex-header.html", "/LICENSE-APACHE", "/LICENSE-MIT"]

# `compensated` is off by default but documented, so the `Complex<Compensated<..>>`
# impls show up on docs.rs.
[package.metadata.docs.rs]
features = ["std", "compensated", "dual", "special"]
rustdoc-args = ["--cfg", "docsrs", "--html-in-header", "katex-header.html"]

[features]
std = ["thermite/std"]
wasm = ["thermite/wasm"]
# Lets a `Dual` be the storage of a `Complex`, i.e. `Complex<Dual<V, N>>`:
# complex arithmetic that also carries derivatives.
dual = ["dep:thermite-dual"]
# Special functions over the complex plane.
special = ["dep:thermite-special"]
# Lets a `Compensated` be the storage of a `Complex`, i.e. `Complex<Compensated<V>>`
compensated = ["dep:thermite-compensated"]

[dependencies]
thermite = { workspace = true }
thermite-dual = { workspace = true, optional = true }
thermite-special = { workspace = true, optional = true }
thermite-compensated = { workspace = true, optional = true }
num-traits = { version = "0.2", default-features = false }
paste = "1"

[lints]
workspace = true

[dev-dependencies]
libm = "0.2.16"
num-complex = "0.4"