[−][src]Struct brakets::Bra
Generic Bra. You can multiply it by ket to get an inner product (scalar).
Methods
impl<D: DimName> Bra<D> where
DefaultAllocator: Allocator<Complex, U1, D>,
[src]
DefaultAllocator: Allocator<Complex, U1, D>,
pub fn up() -> Bra<U2>
[src]
2-dimension "up" bra
pub fn down() -> Bra<U2>
[src]
2-dimension "down" bra
pub fn right() -> Bra<U2>
[src]
2-dimension "right" bra
pub fn left() -> Bra<U2>
[src]
2-dimension "left" bra
pub fn inw() -> Bra<U2>
[src]
2-dimension "inward" bra
pub fn out() -> Bra<U2>
[src]
2-dimension "outward" bra
Trait Implementations
impl<D: DimName> From<Ket<D>> for Bra<D> where
DefaultAllocator: Allocator<Complex, D> + Allocator<Complex, D, D> + Allocator<Complex, U1, D>,
[src]
DefaultAllocator: Allocator<Complex, D> + Allocator<Complex, D, D> + Allocator<Complex, U1, D>,
impl<D: DimName> From<Matrix<Complex<f64>, U1, D, <DefaultAllocator as Allocator<Complex<f64>, U1, D>>::Buffer>> for Bra<D> where
DefaultAllocator: Allocator<Complex, U1, D>,
[src]
DefaultAllocator: Allocator<Complex, U1, D>,
fn from(v: RowVectorN<Complex, D>) -> Self
[src]
impl<D: DimName> From<Bra<D>> for Ket<D> where
DefaultAllocator: Allocator<Complex, D> + Allocator<Complex, D, D> + Allocator<Complex, U1, D>,
[src]
DefaultAllocator: Allocator<Complex, D> + Allocator<Complex, D, D> + Allocator<Complex, U1, D>,
impl<D: PartialEq + DimName> PartialEq<Bra<D>> for Bra<D> where
DefaultAllocator: Allocator<Complex, U1, D>,
[src]
DefaultAllocator: Allocator<Complex, U1, D>,
impl<D: Clone + DimName> Clone for Bra<D> where
DefaultAllocator: Allocator<Complex, U1, D>,
[src]
DefaultAllocator: Allocator<Complex, U1, D>,
fn clone(&self) -> Bra<D>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<D: DimName> Display for Bra<D> where
DefaultAllocator: Allocator<Complex, U1, D>,
DefaultAllocator: Allocator<usize, U1, D>,
[src]
DefaultAllocator: Allocator<Complex, U1, D>,
DefaultAllocator: Allocator<usize, U1, D>,
impl<D: Debug + DimName> Debug for Bra<D> where
DefaultAllocator: Allocator<Complex, U1, D>,
[src]
DefaultAllocator: Allocator<Complex, U1, D>,
impl<D: DimName> Add<Bra<D>> for Bra<D> where
DefaultAllocator: Allocator<Complex, U1, D>,
[src]
DefaultAllocator: Allocator<Complex, U1, D>,
type Output = Self
The resulting type after applying the +
operator.
fn add(self, other: Bra<D>) -> Self::Output
[src]
impl<D: DimName> Mul<Ket<D>> for Bra<D> where
DefaultAllocator: Allocator<Complex, D> + Allocator<Complex, U1, D>,
[src]
DefaultAllocator: Allocator<Complex, D> + Allocator<Complex, U1, D>,
type Output = Complex
The resulting type after applying the *
operator.
fn mul(self, other: Ket<D>) -> Self::Output
[src]
impl<D: DimName> Mul<Outer<D>> for Bra<D> where
DefaultAllocator: Allocator<Complex, D, D> + Allocator<Complex, U1, D>,
[src]
DefaultAllocator: Allocator<Complex, D, D> + Allocator<Complex, U1, D>,
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: Outer<D>) -> Self::Output
[src]
impl<D: DimName> Mul<Complex<f64>> for Bra<D> where
DefaultAllocator: Allocator<Complex, U1, D>,
[src]
DefaultAllocator: Allocator<Complex, U1, D>,
type Output = Self
The resulting type after applying the *
operator.
fn mul(self, other: Complex) -> Self::Output
[src]
impl<D: DimName> Mul<Bra<D>> for Ket<D> where
DefaultAllocator: Allocator<Complex, D> + Allocator<Complex, D, D> + Allocator<Complex, U1, D>,
[src]
DefaultAllocator: Allocator<Complex, D> + Allocator<Complex, D, D> + Allocator<Complex, U1, D>,
Auto Trait Implementations
impl<D> !Unpin for Bra<D>
impl<D> !Send for Bra<D>
impl<D> !Sync for Bra<D>
impl<D> !UnwindSafe for Bra<D>
impl<D> !RefUnwindSafe for Bra<D>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
SS: SubsetOf<SP>,