1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#![crate_name = "calcify"]
//! # Calcify
//!
//! 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.
//! 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.
//!
//! ## ICalcify
//!
//! Python command line utility and module for analyzing Tree files.
//!
//! Check it out [here!](https://github.com/JTPond/ICalcify "ICalcify GitHub")

mod field;
mod tree;
mod four_mat;
mod three_mat;
mod utils;

pub use field::ThreeField;
pub use field::ThreeVecField;

pub use tree::Branch;
pub use tree::Tree;
pub use tree::FeedTree;
pub use tree::Collection;
pub use tree::Bin;
pub use tree::Point;
pub use tree::PointBin;

pub use four_mat::Sinv;
pub use four_mat::beta;
pub use four_mat::gamma;
pub use four_mat::boost;
pub use four_mat::FourVec;
pub use four_mat::FourMat;

pub use three_mat::ThreeMat;
pub use three_mat::ThreeVec;
pub use three_mat::{radians_between, degrees_between};

pub use utils::consts;
pub use utils::errors;
pub use utils::io;
pub use utils::Serializable;
pub use utils::Deserializable;