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

Useful math functions and range-based statistic computations.

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.

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.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng;
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.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng;
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.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng;
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.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng;
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.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng;
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.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng;
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.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng;
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.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng;
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.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng;
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.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng;
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.quaternion, gfm.math.shapes, gfm.math.fixedpoint, gfm.math.simplerng;
Undocumented in source.

Meta