[][src]Trait maths_traits::analysis::real::ComplexSubset

pub trait ComplexSubset: PartialEq + Clone + Semiring {
type Real: Real + ComplexSubset<Natural = Self::Natural, Integer = Self::Integer, Real = Self::Real>;
type Natural: Natural + IntegerSubset<Signed = Self::Integer, Unsigned = Self::Natural> + ComplexSubset<Natural = Self::Natural, Integer = Self::Integer, Real = Self::Real>;
type Integer: Integer + IntegerSubset<Signed = Self::Integer, Unsigned = Self::Natural> + ComplexSubset<Natural = Self::Natural, Integer = Self::Integer, Real = Self::Real>;
    fn as_real(self) -> Self::Real;
fn as_natural(self) -> Self::Natural;
fn as_integer(self) -> Self::Integer;
fn floor(self) -> Self;
fn ceil(self) -> Self;
fn round(self) -> Self;
fn trunc(self) -> Self;
fn fract(self) -> Self;
fn im(self) -> Self;
fn re(self) -> Self;
fn conj(self) -> Self; }

Associated Types

type Real: Real + ComplexSubset<Natural = Self::Natural, Integer = Self::Integer, Real = Self::Real>

type Natural: Natural + IntegerSubset<Signed = Self::Integer, Unsigned = Self::Natural> + ComplexSubset<Natural = Self::Natural, Integer = Self::Integer, Real = Self::Real>

type Integer: Integer + IntegerSubset<Signed = Self::Integer, Unsigned = Self::Natural> + ComplexSubset<Natural = Self::Natural, Integer = Self::Integer, Real = Self::Real>

Loading content...

Required methods

fn as_real(self) -> Self::Real

fn as_natural(self) -> Self::Natural

fn as_integer(self) -> Self::Integer

fn floor(self) -> Self

fn ceil(self) -> Self

fn round(self) -> Self

fn trunc(self) -> Self

fn fract(self) -> Self

fn im(self) -> Self

fn re(self) -> Self

fn conj(self) -> Self

Loading content...

Implementations on Foreign Types

impl ComplexSubset for f32[src]

type Real = f32

type Natural = u32

type Integer = i32

impl ComplexSubset for u32[src]

type Real = f32

type Natural = u32

type Integer = i32

impl ComplexSubset for i32[src]

type Real = f32

type Natural = u32

type Integer = i32

impl ComplexSubset for f64[src]

type Real = f64

type Natural = u64

type Integer = i64

impl ComplexSubset for u64[src]

type Real = f64

type Natural = u64

type Integer = i64

impl ComplexSubset for i64[src]

type Real = f64

type Natural = u64

type Integer = i64

Loading content...

Implementors

Loading content...