Report a bug
If you spot a problem with this page, click here to create a GitHub issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

Mir Algorithm

Generic Algorithm Collection.

The following table is a quick reference guide for which Mir Algorithm modules to use for a given category of functionality.

Modules Description
    Accessories
mir.array.allocation std.array reworked for Mir
mir.exception @nogc MirException with formatting
mir.format @nogc Formatting Utilities
mir.parse @nogc Parsing Utilities
mir.range Ranges
mir.serde Utilities for serialization libraries
mir.small_array Generic Small Arrays
mir.small_string Generic Small Strings
mir.string_map Ordered string-value associative array with fast lookup
    Date and time
mir.date Fast BetterC Date type with Boost ABI and mangling compatability
    NDarrays and Algorithms
mir.algorithm.iteration Mir & BetterC rework of Phobos.
mir.algorithm.setops Mir & BetterC rework of Phobos.
mir.ndslice Package for ndarrays and iteration algorithms.
mir.range Additoinal primitive ranges. See also mir.ndslice, which contains a lot of range constructos.
    Math
mir.interpolate Interpolation algorithms
mir.math.numeric Simple numeric algorithms
mir.math.stat Basic API for statistics
mir.math.sum Various precise summation algorithms
mir.numeric Basic numeric optimisations
mir.polynomial Polynomial ref-counted structure
    Reference counting
mir.rc.array Thread safe reference count array and the iterator to adopt it to ndslice.
mir.rc.ptr Thread safe reference count pointer with polymorphism support for strucs and objects.
mir.rc.slim_ptr Thread safe reference count pointer for strucs and objects.
mir.rc Reference counting package and RC conversion utilities.
    Containers
mir.appender Scoped Buffer.
mir.container.binaryheap Mir & BetterC rework of Phobos.
mir.series Generic series suitable for time-series or semi-immutable ordered maps with CPU cache friendly binary search.
    Graphs
mir.graph.tarjan Tarjan's strongly connected components algorithm
mir.graph Basic routines to work with graphs
    Big Numbers (partial implementation)
mir.bignum.decimal Stack-allocated decimal type
mir.bignum.fixed Stack-allocated fixed length unsigned integer type (like 256bit integers).
mir.bignum.fp Stack-allocated fixed length software floating point type.
mir.bignum.integer Stack-allocated integer type.
mir.bignum.low_level_view Low-level universal number representation formats.
    Combinatrorics
mir.combinatorics Combinations, combinations with repeats, cartesian power, permutations.
    Interconnection with other languages
mir.ndslice.connect.cpython Utilities for Python Buffer Protocol
Copyright: 2020 Ilya Yaroshenko, Kaleidic Associates Advisory Limited, Symmetry Investments