Struct cplx::Complex [] [src]

pub struct Complex<A, S: Sign<A> = N1>(_, _, _);

Cayley-Dickson construction

Methods

impl<S: Sign<A>, A> Complex<A, S>
[src]

[src]

[src]

Trait Implementations

impl<A: Debug, S: Debug + Sign<A>> Debug for Complex<A, S>
[src]

[src]

Formats the value using the given formatter.

impl<S: Sign<A>, A: Clone> Clone for Complex<A, S>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<S: Sign<A>, A: Copy> Copy for Complex<A, S>
[src]

impl<S: Sign<A>, A: PartialEq> PartialEq for Complex<A, S>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl<S: Sign<A>, A: Eq> Eq for Complex<A, S>
[src]

impl<S: Sign<A>, A: Add<Output = A> + Neg<Output = A> + Conjugable> Conjugable for Complex<A, S>
[src]

[src]

impl<S: Sign<A>, A: Add<Output = A>> Add for Complex<A, S>
[src]

The resulting type after applying the + operator.

[src]

Performs the + operation.

impl<S: Sign<A>, A: Sub<Output = A>> Sub for Complex<A, S>
[src]

The resulting type after applying the - operator.

[src]

Performs the - operation.

impl<S: Sign<A>, A: Neg<Output = A>> Neg for Complex<A, S>
[src]

The resulting type after applying the - operator.

[src]

Performs the unary - operation.

impl<S: Sign<A>, A: Copy + Add<Output = A> + Conjugable + Mul<Output = A>> Mul for Complex<A, S>
[src]

The resulting type after applying the * operator.

[src]

Performs the * operation.

impl<S: Sign<A>, A: Copy + Add<Output = A> + Neg<Output = A> + Conjugable + Mul<Output = A> + Div<Output = A>> Div for Complex<A, S>
[src]

The resulting type after applying the / operator.

[src]

Performs the / operation.