destack:math import destack:math Classes - BigInt — Arbitrary-precision integer. - Math — Floating point math functions and constants. - Number — Number constants and parsing functions. Structs - Complex — Complex number with floating-point components. - Matrix2 — Two-by-two matrix in row-major field order. - Matrix3 — Three-by-three matrix in row-major field order. - Matrix4 — Four-by-four matrix in row-major field order. - Quaternion — Quaternion rotation value. - Vector2 — Two-dimensional vector. - Vector3 — Three-dimensional vector. - Vector4 — Four-dimensional vector. Newtypes - Vector — Fixed-width vector type. - Wrapping — Integer wrapper whose operators use modular arithmetic. Newtype interfaces - Float — Marker for the builtin float formats of any width. - FloatDomain — Marker for float literals and builtin float types. - Integer — Marker for the builtin integer types of any width. - IntegerDomain — Marker for integer literals, intervals, and builtin integer types. - One — Numeric type with a multiplicative identity. - Zero — Numeric type with an additive identity. Type aliases - Complexd — Double-precision complex number. - Complexf — Single-precision complex number. - LaneCount — Return the number of lanes in Vector. - LaneOf — Return the element type in Vector. - Mask — Vector mask type. - Matrix2d — Two-by-two double-precision matrix. - Matrix2f — Two-by-two single-precision matrix. - Matrix2i — Two-by-two signed integer matrix. - Matrix3d — Three-by-three double-precision matrix. - Matrix3f — Three-by-three single-precision matrix. - Matrix3i — Three-by-three signed integer matrix. - Matrix4d — Four-by-four double-precision matrix. - Matrix4f — Four-by-four single-precision matrix. - Matrix4i — Four-by-four signed integer matrix. - NumberFormatOptions — Number locale formatting options. - Numeric — Any sized machine scalar, excluding bigint. - NumericDomain — Any numeric literal, interval, or sized machine scalar, excluding bigint. - Quaterniond — Double-precision quaternion. - Quaternionf — Single-precision quaternion. - Unsigned — The unsigned builtin integer type with the same width as T. - Vector2d — Two-dimensional double-precision vector. - Vector2f — Two-dimensional single-precision vector. - Vector2i — Two-dimensional signed integer vector. - Vector3d — Three-dimensional double-precision vector. - Vector3f — Three-dimensional single-precision vector. - Vector3i — Three-dimensional signed integer vector. - Vector4d — Four-dimensional double-precision vector. - Vector4f — Four-dimensional single-precision vector. - Vector4i — Four-dimensional signed integer vector. Functions - convert — Convert vector lanes to U. - equal — Return a lane mask for equality. - extract — Return the lane at index. - greater — Return a lane mask for greater-than comparison. - greaterEqual — Return a lane mask for greater-than-or-equal comparison. - insert — Return a vector with one lane replaced. - less — Return a lane mask for less-than comparison. - lessEqual — Return a lane mask for less-than-or-equal comparison. - load — Load N contiguous values from source. - notEqual — Return a lane mask for inequality. - reduceAdd — Horizontal reduction: sum all lanes. - reduceAnd — Horizontal reduction: bitwise AND of all lanes. - reduceMax — Horizontal reduction: maximum of all lanes. - reduceMin — Horizontal reduction: minimum of all lanes. - reduceMul — Horizontal reduction: multiply all lanes. - reduceOr — Horizontal reduction: bitwise OR of all lanes. - reduceXor — Horizontal reduction: bitwise XOR of all lanes. - select — Per-lane conditional select. - shuffle — Shuffle vector lanes. - splat — Broadcast scalar to all lanes. - store — Store value into destination. Constants - Infinity — The positive float infinity. - NaN — The float not-a-number value. Extensions - Arithmetic — Explicit overflow behaviors for builtin integer arithmetic. - Cast — Explicit lossy conversions between builtin integer types.