Numerix v0.6.0 Numerix.Common View Source

Common typespecs and functions.

Link to this section Summary

Types

A type representing the affinely extended real number system.

Something that may be a float.

Something that may be a vector.

A type representing an unreal number.

A type representing a vector (1D tensor) of numbers.

Link to this section Types

Link to this type

extended_number()

View Source
extended_number() :: number() | unreal_number()

A type representing the affinely extended real number system.

Link to this type

maybe_float()

View Source
maybe_float() :: float() | nil

Something that may be a float.

Link to this type

maybe_vector()

View Source
maybe_vector() :: vector() | nil

Something that may be a vector.

Link to this type

unreal_number()

View Source
unreal_number() :: :negative_infinity | :infinity

A type representing an unreal number.

Link to this type

vector()

View Source
vector() :: [number()] | %Numerix.Tensor{dims: 1, items: term(), shape: term()}

A type representing a vector (1D tensor) of numbers.