# microsoft/DirectXMath

DirectXMath is an all inline SIMD C++ linear algebra library for use in games and graphics apps

Repository: https://github.com/microsoft/DirectXMath
Canonical: https://ross.abutalabs.com/products/directxmath
Homepage: https://walbourn.github.io/introducing-directxmath/
Language: C++
License: MIT
License Family: permissive
Topics: microsoft, directx, simd, neon, cpp-library, sse, avx, avx2, clang, msvc, xbox, directxmath, desktop, uwp, arm-neon, arm64
Last push: 2026-08-20T18:27:16+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 64, longevity 100
- inputs: {"age_days": 3754, "days_push": 13, "days_rel": 82, "gap_med": 170, "n_releases_24m": 4}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1791, forks 262 (observed 2026-08-28T04:05:37.066250+00:00)

## What it is
DirectXMath is an all-inline SIMD C++ linear algebra library for games and graphics applications, supporting SSE, AVX, and ARM NEON instruction sets. It includes packed vector formats, color definitions, bounding volume collision detection, and spherical harmonics math.

## Use cases
- simd linear algebra for game engines
- vector and matrix math for graphics apps
- cross-platform SIMD math with SSE and NEON
- bounding volume collision detection
- spherical harmonics lighting math
- half-precision float conversions for GPU formats

## When to choose
- you need high-performance SIMD math in C++ for games or graphics
- you target Windows, Xbox, or ARM devices with NEON
- you want a header-only library with no external dependencies

## When to avoid
- you need a high-level scene graph or rendering engine rather than math primitives
- you work in a language other than C++
- you need GPU-side shader math rather than CPU-side math

## Facets
- artifact type: library
- maturity: stable
- function: math, graphics, simulation
- domain: graphics, cross-platform
- platform: windows, cpp, cross-platform
- tags: simd, linear-algebra, sse, avx, neon, header-only, directx, vector-math, collision-detection, game-development, xbox

## Member repositories
- microsoft/DirectXMath (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:37.066250+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:23:06.584150+00:00, confidence not recorded.
  - readme: https://github.com/microsoft/DirectXMath (fetched 2026-08-28T04:05:37.066250+00:00, sha 855139c5f6e9)
  - homepage: https://walbourn.github.io/introducing-directxmath/ (fetched 2026-08-29T11:01:57.373345+00:00, sha bc6d0d457a81)
- Data as of 2026-08-30T08:39:29.467469+00:00.
