Skip to main content

Lorentz

Struct Lorentz 

Source
pub struct Lorentz<R: Real>(/* private fields */);
Expand description

The restricted lorentz group

Trait Implementations§

Source§

impl<R: Clone + Real> Clone for Lorentz<R>

Source§

fn clone(&self) -> Lorentz<R>

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<R: Copy + Real> Copy for Lorentz<R>

Source§

impl<R: Debug + Real> Debug for Lorentz<R>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<R: Real> Group for Lorentz<R>

Source§

fn identity() -> Self

Source§

fn compose(&self, rhs: &Self) -> Self

Source§

fn inverse(&self) -> Self

Source§

fn check_left_identity(&self) -> bool
where Self: PartialEq,

Source§

fn check_right_identity(&self) -> bool
where Self: PartialEq,

Source§

fn check_associativity(a: Self, b: Self, c: Self) -> bool
where Self: PartialEq,

Source§

fn check_left_inverse(&self) -> bool
where Self: PartialEq + Debug,

Source§

fn check_right_inverse(&self) -> bool
where Self: PartialEq,

Source§

impl<R: Real> LieGroup<SlAlgebra<Complex<R>, 2, 3>> for Lorentz<R>

Source§

fn identity_exp(v: SlAlgebra<Complex<R>, 2, 3>) -> Self

Source§

fn identity_log(p: &Self) -> Option<SlAlgebra<Complex<R>, 2, 3>>

Source§

impl<R: PartialEq + Real> PartialEq for Lorentz<R>

Source§

fn eq(&self, other: &Lorentz<R>) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl<R: Real> Quotient<Sl<Coords<Complex<R>, 2>, 2>, RootOfUnity<Complex<R>, 2>, SlAlgebra<Complex<R>, 2, 3>> for Lorentz<R>

Source§

fn new(g: Sl2c<R>) -> Self

Maps g to the Quotient value representing its coset gH.
Source§

fn lift(&self) -> Sl2c<R>

Recovers a representative of self’s coset, satisfying new(self.lift()) == self. Read more
Source§

fn embed(h: RootOfUnity<Complex<R>, 2>) -> Sl2c<R>

the subgroup inclusion H ↪ G
Source§

fn quotient_identity() -> Self

Source§

fn quotient_compose(&self, other: &Self) -> Self

Source§

fn quotient_inverse(&self) -> Self

Source§

fn quotient_identity_exp(v: V) -> Self

Source§

fn quotient_identity_log(p: &Self) -> Option<V>

Source§

fn check_new_respects_coset(g: G, h: H) -> bool
where Self: PartialEq,

The sole independent Quotient axiom: new must not distinguish elements of the same coset. Everything else (group structure, differential structure) follows from this plus the inherited LieGroup axioms.
Source§

impl<R: PartialEq + Real> StructuralPartialEq for Lorentz<R>

Auto Trait Implementations§

§

impl<R> Freeze for Lorentz<R>
where R: Freeze,

§

impl<R> RefUnwindSafe for Lorentz<R>
where R: RefUnwindSafe,

§

impl<R> Send for Lorentz<R>
where R: Send,

§

impl<R> Sync for Lorentz<R>
where R: Sync,

§

impl<R> Unpin for Lorentz<R>
where R: Unpin,

§

impl<R> UnsafeUnpin for Lorentz<R>
where R: UnsafeUnpin,

§

impl<R> UnwindSafe for Lorentz<R>
where R: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<V, S> Chart<S, V> for S
where V: Vector, S: Smooth<V>,

Source§

fn to_local(&self, point: &S) -> Option<V>

Source§

fn to_global(&self, coord: V) -> S

Source§

fn chart_at(p: &S) -> S

Source§

fn local_distance(&self, other: &P) -> Option<<V::F as Field>::Fixed>
where V: Euclidean,

Calculates the distance between self and other in local coordinates, based at &self.
Source§

fn check_local_inverse(p: &P) -> bool
where P: PartialEq,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<V, L> ExpMap<L, V> for L
where V: Vector, L: Smooth<V>,

Source§

fn base_point(&self) -> L

Source§

fn check_base_point_is_origin(&self) -> bool
where V: Form,

Source§

fn check_preservation_of_origin(&self) -> bool
where V: Form,

Source§

fn check_chart_at_base_point(&self) -> bool
where V: Form,

If a chart centred at p exists, chart_at(p) returns it. Formally: chart_at(p).base_point() == p whenever p is the base point of some valid chart in this atlas. Read more
Source§

fn check_geodesic_symmetry(&self, v: V) -> bool
where V: Form + PartialEq,

Source§

fn check_geodesic_scaling(&self, v: V, t: <V::F as Field>::Fixed) -> bool
where V: Form,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Point for T
where T: Clone,

Source§

impl<V, L> Smooth<V> for L
where V: Vector, L: LieGroup<V>,

Source§

fn exp(&self, coord: V) -> L

The exponential map at self: sends a tangent vector v to the point reached by following the geodesic from self in direction v for unit time.
Source§

fn log(&self, point: &L) -> Option<V>

The logarithmic map at self: recovers the tangent vector whose geodesic reaches other, or None at the cut locus (e.g. the antipode on a sphere).
Source§

impl<V, L> TangentBundle<L, V> for L
where V: Vector, L: Smooth<V>,

Source§

fn sectional_curvature(&self, v: V, w: V, epsilon: V::F) -> Option<V::F>
where V: Form,

Source§

fn max_sectional_curvature(&self, epsilon: V::F) -> Option<V::F>
where V: Euclidean,

Source§

fn check_universal_centring(p: P) -> bool
where V: Form,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.