Expand description
§signature-rs
A Rust library for computing log signatures from path data.
§Quick Start
use signature_rs::prelude::*;
use ndarray::array;
use ordered_float::NotNan;
let path = array![[0.0, 0.0], [1.0, 0.5], [2.0, 1.0]];
let path = path.mapv(|v| NotNan::new(v).expect("value to be a number"));
let builder = LogSignatureBuilder::<ENotation>::new()
.with_num_dimensions(2)
.with_max_degree(3);
let log_sig = builder.build_from_path(&path.view());Re-exports§
pub use log_sig::LogSignature;pub use log_sig::LogSignatureBuilder;
Modules§
Structs§
- ENotation
- A generator type using mathematical e-notation with subscripts.
- LieSeries
- Represents a formal power series in the free Lie algebra.
- Lyndon
Basis - A basis of Lyndon words over an alphabet of type
T. - Lyndon
Word - A Lyndon word over an alphabet of type
T.
Enums§
- Commutator
Term - Represents an algebraic term involving commutators.
- Sort
- Sorting method for ordering Lyndon words in a basis.
Traits§
- Commutator
- Trait for types that support the commutator operation.
- Generator
- Trait for types that can serve as generators (letters) in a Lyndon word alphabet.
- LieSeries
Generator - Trait for types that can generate Lie series.