mir

Modules

algebraic
module mir.algebraic
Variant and Nullable types
bitmanip
module mir.bitmanip

Bit-level manipulation facilities.

bitop
module mir.bitop

This module contains a collection of bit-level operations.

checkedint
module mir.checkedint

This module implements integral arithmetic primitives that check for out-of-range results.

complex
module mir.complex

Complex numbers

conv
module mir.conv

Conversion utilities.

enums
module mir.enums

Enum utilities.

exception
module mir.exception

@nogc exceptions and errors definitions.

functional
module mir.functional

Functions that manipulate other functions. This module provides functions for compile time function composition. These functions are helpful when constructing predicates for the algorithms in mir.ndslice.

Functions
Function NameDescription
naryFunCreate a unary, binary or N-nary function from a string. Most often used when defining algorithms on ranges and slices.
pipeJoin a couple of functions into one that executes the original functions one after the other, using one function's result for the next function's argument.
notCreates a function that negates another.
reverseArgsPredicate that reverses the order of its arguments.
forwardForwards function arguments with saving ref-ness.
refTupleRemoves Ref shell.
unrefCreates a RefTuple structure.
__refCreates a Ref structure.
math
module mir.math
Math Functionality

$(TR $(TDNW $(MREF mir,math,common)) $(TD Common math functions)) $(TR $(TDNW $(MREF mir,math,constant)) $(TD Constants)) $(TR $(TDNW $(MREF mir,math,ieee)) $(TD Basic IEEE-754 numerical functions))

Math modules
ModuleMath kind
primitives
module mir.primitives

Templates used to check primitives and range primitives for arrays with multi-dimensional like API support.

qualifier
module mir.qualifier

Const and Immutable qualifiers helpers for Mir Type System.

reflection
module mir.reflection

Base reflection utilities.

string_table
module mir.string_table

Mir String Table designed for fast deserialization routines.

utility
module mir.utility

Generic utilities.