computation-types

Crates.iocomputation-types
lib.rscomputation-types
version
sourcesrc
created_at2024-12-12 15:38:52.981611
updated_at2024-12-12 15:38:52.981611
descriptionTypes for abstract mathematical computation
homepage
repositoryhttps://github.com/justinlovinger/optimal-rs/tree/master/computation-types
max_upload_size
id1481358
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Justin Lovinger (justinlovinger)

documentation

README

Workflow Status

This package is experimental. Expect frequent updates to the repository with breaking changes and infrequent releases.

computation-types

Types for abstract mathematical computation.

Note, Documentation is currently lacking. The best way to learn about this framework is to read the tests and see how it is used to implement algorithms in Optimal.

Examples

use computation_types::{named_args, val, Run};

let one_plus_one = val!(1) + val!(1);
assert_eq!(one_plus_one.to_string(), "(1 + 1)");
assert_eq!(one_plus_one.run(), 2);

License: MIT

Commit count: 239

cargo fmt