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ยง

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 Sl<Coords<Complex<R>, 2>, 2>: Freeze,

ยง

impl<R> RefUnwindSafe for Lorentz<R>
where Sl<Coords<Complex<R>, 2>, 2>: RefUnwindSafe,

ยง

impl<R> Send for Lorentz<R>
where Sl<Coords<Complex<R>, 2>, 2>: Send,

ยง

impl<R> Sync for Lorentz<R>
where Sl<Coords<Complex<R>, 2>, 2>: Sync,

ยง

impl<R> Unpin for Lorentz<R>
where Sl<Coords<Complex<R>, 2>, 2>: Unpin,

ยง

impl<R> UnsafeUnpin for Lorentz<R>
where Sl<Coords<Complex<R>, 2>, 2>: UnsafeUnpin,

ยง

impl<R> UnwindSafe for Lorentz<R>
where Sl<Coords<Complex<R>, 2>, 2>: 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: Tensor, S: Smooth<V>,

Sourceยง

type Global = <S as Smooth<V>>::Global

The result of mapping local coordinates back onto the manifold. Read more
Sourceยง

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

Sourceยง

fn to_global(&self, coord: V) -> <S as Smooth<V>>::Global

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<๐’ž, X> Equivalent<๐’ž, X> for X
where ๐’ž: Cat,

Sourceยง

fn project(self) -> X

Sourceยง

fn lift(x: X) -> X

Sourceยง

impl<V, L> ExpMap<L, V> for L
where V: Tensor, 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ยง

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> OptionallyOption<T> for T

Sourceยง

fn into_option(self) -> Option<T>

Converts either permitted representation into Option<T>. Read more
Sourceยง

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

Sourceยง

impl<T> Reassociate for T

Sourceยง

fn reassociate<P>( self, ) -> <<Self as ReassociateKernel<P>>::Reassociated as NormalizeWith<Undecorated>>::Normalized
where Self: ReassociateKernel<P>, <Self as ReassociateKernel<P>>::Reassociated: NormalizeWith<Undecorated>,

Sourceยง

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

Sourceยง

type Global = L

The result of applying the exponential map. Read more
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: Tensor, L: Smooth<V>,

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.