glucose 0.1.6

multipurpose math and physics crate for my projects
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Bivectors and Roters are not abstracted over their dimension because I don't know how
//! I will probably fix this in the future!

use crate::linear::scalar::Scalar;
use crate::numeric::float::Float;

pub mod bivec;
pub mod dynamic;
pub mod mat;
pub mod rotor;
pub mod scalar;
pub mod specific_impls;
pub mod vec;

pub fn from_float<T: Scalar + From<U>, U: Scalar + Float>(val: U) -> T {
    From::from(val)
}