summaryrefslogtreecommitdiff
path: root/physics/src/algebra/mod.rs
blob: 47efba8f229f67cceb33920571aed0e1874ff1d2 (plain)
1
2
3
4
5
6
7
8
9
use nalgebra::{Point as PointBase, SVector};

pub const N: usize = 2;
pub type Scalar = f64;

pub type Vector = SVector<Scalar, N>;
pub type Point = PointBase<Scalar, N>;

pub mod subspace;