ariadnetor-core 0.0.3

Core traits and types for ariadnetor tensor library
Documentation
//! Core traits and types for ariadnetor tensor library
//!
//! This crate provides backend-agnostic abstractions:
//! - `Scalar`: Element type trait (sealed to f32, f64, Complex<f32>, Complex<f64>)
//! - `ComputeBackend`: Pluggable backend trait
//! - `LabelId`: Interned tensor index labels
//! - `EinsumExpr`, `ContractionPlan`: Einsum parsing and analysis

#![deny(missing_docs)]

pub mod backend;
mod contraction_error;
mod einsum;
mod label;
mod scalar;

pub use backend::{ComputeBackend, ExecPolicy, MemoryOrder};
pub use contraction_error::ContractionError;
pub use einsum::{ContractionPlan, EinsumExpr, compute_permutation};
pub use label::LabelId;
pub use scalar::Scalar;

// Re-export num_complex for user convenience
pub use num_complex::Complex;