gfm.math

Undocumented in source.

Modules

box
module gfm.math.box
Undocumented in source.
fixedpoint
module gfm.math.fixedpoint
Undocumented in source.
funcs
module gfm.math.funcs
Undocumented in source.
half
module gfm.math.half
Undocumented in source.
matrix
module gfm.math.matrix
Undocumented in source.
quaternion
module gfm.math.quaternion
Undocumented in source.
rational
module gfm.math.rational
Undocumented in source.
shapes
module gfm.math.shapes

This module implements some abstract geometric shapes:

  • Line segments.
  • Triangle.
  • Circles/spheres.
  • Rays
  • Planes
  • Frustum
simplerng
module gfm.math.simplerng

Translation of SimpleRNG. Removed the builtin RNG to use std.random, but kept the distribution functions. John D. Cook confirmed this code as public domain.

simplexnoise
module gfm.math.simplexnoise
Undocumented in source.
statistics
module gfm.math.statistics

Range-based statistic computations.

vector
module gfm.math.vector
Undocumented in source.
wideint
module gfm.math.wideint

Provide a 2^N-bit integer type. Guaranteed to never allocate and expected binary layout Recursive implementation with very slow division.

Public Imports

gfm.math.funcs
public import gfm.math.funcs, gfm.math.half, gfm.math.vector, gfm.math.box, gfm.math.matrix, gfm.math.wideint, gfm.math.rational, gfm.math.statistics, gfm.math.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng, gfm.math.simplexnoise;
Undocumented in source.
gfm.math.half
public import gfm.math.funcs, gfm.math.half, gfm.math.vector, gfm.math.box, gfm.math.matrix, gfm.math.wideint, gfm.math.rational, gfm.math.statistics, gfm.math.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng, gfm.math.simplexnoise;
Undocumented in source.
gfm.math.vector
public import gfm.math.funcs, gfm.math.half, gfm.math.vector, gfm.math.box, gfm.math.matrix, gfm.math.wideint, gfm.math.rational, gfm.math.statistics, gfm.math.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng, gfm.math.simplexnoise;
Undocumented in source.
gfm.math.box
public import gfm.math.funcs, gfm.math.half, gfm.math.vector, gfm.math.box, gfm.math.matrix, gfm.math.wideint, gfm.math.rational, gfm.math.statistics, gfm.math.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng, gfm.math.simplexnoise;
Undocumented in source.
gfm.math.matrix
public import gfm.math.funcs, gfm.math.half, gfm.math.vector, gfm.math.box, gfm.math.matrix, gfm.math.wideint, gfm.math.rational, gfm.math.statistics, gfm.math.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng, gfm.math.simplexnoise;
Undocumented in source.
gfm.math.wideint
public import gfm.math.funcs, gfm.math.half, gfm.math.vector, gfm.math.box, gfm.math.matrix, gfm.math.wideint, gfm.math.rational, gfm.math.statistics, gfm.math.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng, gfm.math.simplexnoise;
Undocumented in source.
gfm.math.rational
public import gfm.math.funcs, gfm.math.half, gfm.math.vector, gfm.math.box, gfm.math.matrix, gfm.math.wideint, gfm.math.rational, gfm.math.statistics, gfm.math.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng, gfm.math.simplexnoise;
Undocumented in source.
gfm.math.statistics
public import gfm.math.funcs, gfm.math.half, gfm.math.vector, gfm.math.box, gfm.math.matrix, gfm.math.wideint, gfm.math.rational, gfm.math.statistics, gfm.math.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng, gfm.math.simplexnoise;
Undocumented in source.
gfm.math.quaternion
public import gfm.math.funcs, gfm.math.half, gfm.math.vector, gfm.math.box, gfm.math.matrix, gfm.math.wideint, gfm.math.rational, gfm.math.statistics, gfm.math.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng, gfm.math.simplexnoise;
Undocumented in source.
gfm.math.shapes
public import gfm.math.funcs, gfm.math.half, gfm.math.vector, gfm.math.box, gfm.math.matrix, gfm.math.wideint, gfm.math.rational, gfm.math.statistics, gfm.math.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng, gfm.math.simplexnoise;
Undocumented in source.
gfm.math.fixedpoint
public import gfm.math.funcs, gfm.math.half, gfm.math.vector, gfm.math.box, gfm.math.matrix, gfm.math.wideint, gfm.math.rational, gfm.math.statistics, gfm.math.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng, gfm.math.simplexnoise;
Undocumented in source.
gfm.math.simplerng
public import gfm.math.funcs, gfm.math.half, gfm.math.vector, gfm.math.box, gfm.math.matrix, gfm.math.wideint, gfm.math.rational, gfm.math.statistics, gfm.math.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng, gfm.math.simplexnoise;
Undocumented in source.
gfm.math.simplexnoise
public import gfm.math.funcs, gfm.math.half, gfm.math.vector, gfm.math.box, gfm.math.matrix, gfm.math.wideint, gfm.math.rational, gfm.math.statistics, gfm.math.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng, gfm.math.simplexnoise;
Undocumented in source.

Meta