Trait sphrs::SHCoordinates
source · pub trait SHCoordinates<T>: Sized {
// Required methods
fn theta(&self) -> T;
fn phi(&self) -> T;
fn r(&self) -> T;
fn x(&self) -> T;
fn y(&self) -> T;
fn z(&self) -> T;
fn theta_cos(&self) -> T;
}
Expand description
Definition of coordinates
Coordinates used in sphrs must implement this trait.