Index

This page lists the core methods and types of the NumericalTypeAliases.jl package. The Modules section lists the modules exported by the package including the NumericalTypeAliases module itself. The Types section contains all type aliases, abstract and concrete. The Constants section also has some constant utility variables associated with the package. Each of these entries link to the docstrings in the Docs section.

Index

This section enumerates the names exported by the package, each of which links to its corresponding Documentation.

Modules

Types

Constants

Docs

This section lists the documentation for every exported name of the NumericalTypeAliases.jl package.

Modules

NumericalTypeAliases.NumericalTypeAliasesModule

Main module for NumericalTypeAliases.jl, a Julia package of numerical array type aliases.

This module exports all of the type aliases and utilities used by the NumericalTypeAliases.jl package.

Basic Usage

Install and import the package interactively with

julia> ]
(@v1.9) pkg> add NumericalTypeAliases

Then develop your package with numerical aliases such as

using NumericalTypeAliases

function do_something(data::RealMatrix, labels::IntegerVector)
    # Write a function that requires a 2-D float matrix and integer vector.
end

Imports

The following names are imported by the package as dependencies:

  • Base
  • Core
  • DocStringExtensions
  • Pkg

Exports

The following names are exported and available when using the package:

source

Types

NumericalTypeAliases.FloatType

Float

Description

Concrete type for the default available floating point value. This is likely Float64 on most systems.

Because a Float64 in Julia is the equivalent of a double in other languages (while Float32 is a float), this has the possibility to be confusing depending on the context. Use carefully.

source
NumericalTypeAliases.RealFPType

RealFP

Description

Abstract type for a real floating-point number. This definition is provided for naming consistency in the package despite being equivalent to an AbstractFloat.

source

Constants

NumericalTypeAliases.NTA_VERSIONConstant

NTA_VERSION

Description

A constant that contains the version of the installed NumericalTypeAliases.jl package.

This value is computed at compile time, so it may be used to programmatically verify the version of NumericalTypeAliases that is installed in case a compat entry in your Project.toml is missing or otherwise incorrect.

source