API

Modules

Types and constants

Functions and macros

    Documentation

    NestedNumbers.NestedNumberType
    abstract type NestedNumber{T<:Number} end

    Super-type for numbers that contain another number of type T, directly or semantically.

    The value of the inner number may or may not be directly accessible, and may or may not have a unit or similar, depending of the subtype of NestedNumber.

    Examples include opaque numbers, quantities with units, etc.

    source
    NestedNumbers.OpaqueNumberType
    abstract type OpaqueNumber{T<:Number} end

    Super-type for numbers that do not have an accessible value, for example traced or symbolic numbers.

    source
    NestedNumbers.QuantityNumberType
    abstract type QuantityNumber{T<:Number} <: NestedNumber{T} end

    Read as "maybe static Integer", an `Integ Super-type for number-like quantities (e.g. numbers with units).

    source
    NestedNumbers.RemoteNumberType
    abstract type RemoteNumber{T<:Number} end

    Super-type for numbers that are physically stored on another system or device, so that accessing the value may take time.

    source
    NestedNumbers.ABoolType
    const ABool = Union{Bool, BareNumber{Bool}}

    Read as "almost Bool", a Bool or NestedNumber{Bool}.

    source
    NestedNumbers.AComplexType
    const AComplex{T<:Real} = Union{Complex{T}, BareNumber{Complex{T}}}

    Read as "almost Complex", a Complex or BareNumber{<:Complex}.

    source
    NestedNumbers.AIntegerType
    const AInteger{T<:Integer} = Union{T, BareNumber{T}}

    Read as "almost Integer", an Integer or NestedNumber{<:Integer}.

    source
    NestedNumbers.ARealType
    const AReal{T<:Real} = Union{T, BareNumber{T}}

    Real as "almost Real", a Real or NestedNumber{<:Real}.

    source
    NestedNumbers.QBoolType
    const QBool = Union{Bool, BareNumber{Bool}, QuantityNumber{Bool}, QuantityNumber{<:BareNumber{Bool}}}

    Read as "boolean or boolean-valued quantity", a Bool or QuantityNumber{Bool}.

    source
    NestedNumbers.QComplexType
    const QComplex{T<:Real} = Union{Complex{T}, BareNumber{Complex{T}}, QuantityNumber{Complex{T}}, QuantityNumber{<:BareNumber{Complex{T}}}}

    Read as "complex or complex-valued quantity", a Complex or QuantityNumber{<:Complex}.

    source
    NestedNumbers.QIntegerType
    const QInteger{T<:Integer} = Union{T, BareNumber{T}, QuantityNumber{T}, QuantityNumber{<:BareNumber{T}}}

    Read as "integer or integer-valued quantity", an Integer or QuantityNumber{<:Integer}.

    source
    NestedNumbers.QRealType
    const QReal{T<:Real} = Union{T, BareNumber{T}, QuantityNumber{T}, QuantityNumber{<:BareNumber{T}}}

    Read as "real number or real-valued quantity", a Real or QuantityNumber{<:Real}.

    source