calcify/
lib.rs

1#![crate_name = "calcify"]
2//! # Calcify
3//!
4//! A crate for 3-D and 4-D vector and matrix algebra, conceived for use in physics simulations. Builds out from a basic ThreeVec struct including most commonly used operations built in.
5//! Includes physics constants, 3 and 4-D vectors and matrices and many associated operations, collections, histograms, and output trees, which are serialized in json or MessagePack.
6//!
7//! ## ICalcify
8//!
9//! Python command line utility and module for analyzing Tree files.
10//!
11//! Check it out [here!](https://github.com/JTPond/ICalcify "ICalcify GitHub")
12
13mod field;
14mod tree;
15mod four_mat;
16mod three_mat;
17mod utils;
18
19pub use field::ThreeField;
20pub use field::ThreeVecField;
21
22pub use tree::Branch;
23pub use tree::Tree;
24pub use tree::FeedTree;
25pub use tree::Collection;
26pub use tree::Bin;
27pub use tree::Point;
28pub use tree::PointBin;
29
30pub use four_mat::Sinv;
31pub use four_mat::beta;
32pub use four_mat::gamma;
33pub use four_mat::boost;
34pub use four_mat::FourVec;
35pub use four_mat::FourMat;
36
37pub use three_mat::ThreeMat;
38pub use three_mat::ThreeVec;
39pub use three_mat::{radians_between, degrees_between};
40
41pub use utils::consts;
42pub use utils::errors;
43pub use utils::io;
44pub use utils::Serializable;
45pub use utils::Deserializable;