CultLib/packages/cultmath/src/CultMath
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 4922438334 cultmath: correct F6 proof arithmetic and chi-square provenance in cellular docs
Soul pass 3 confirmed two documentation defects: the F6 search-radius proof
misstated 3 - 2m + 3m^2 at m=1/2 as 2.5 (actual 2.75; true min on [0,1/2] is
8/3 at m=1/3), and both math.cs and design.md cited a fabricated 203.8
chi-square statistic for float-bit hashing that Soul could not reproduce
(6+ seeds scored 7.7-30.9). Corrected the arithmetic and replaced the
unreproducible measurement with what actually pins integer hashing: the
oracle and mirror tests, and the chi-square test's real scope (the hash as
cellular calls it, not the call site itself). No test or code changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 02:23:55 +02:00
..
BatchMath.cs Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
BatchMath.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
bool2.cs Generate every HLSL swizzle and mixed constructor; fix intrinsic types 2026-09-14 13:57:02 +02:00
bool2.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
bool3.cs Generate every HLSL swizzle and mixed constructor; fix intrinsic types 2026-09-14 13:57:02 +02:00
bool3.cs.meta Make CultMath HLSL-shaped: writable components, bool-vector comparisons 2026-09-14 13:29:59 +02:00
bool4.cs Generate every HLSL swizzle and mixed constructor; fix intrinsic types 2026-09-14 13:57:02 +02:00
bool4.cs.meta Make CultMath HLSL-shaped: writable components, bool-vector comparisons 2026-09-14 13:29:59 +02:00
Color32.cs Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
Color32.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
CultCellular.cs Fix batch 1 (cellular/smin_grad): exact search, decorrelated id, finite F2=0 2026-09-25 20:40:28 +02:00
CultCellular.cs.meta Add smin_grad and cellular value-and-gradient primitives to CultMath 2026-09-25 19:17:39 +02:00
CultMath.asmdef Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
CultMath.asmdef.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
CultMath.csproj Release CultMath 0.2.4: erf and erfinv reach the Unity package 2026-09-24 19:02:40 +02:00
CultMath.csproj.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
CultMathTone.cs Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
CultMathTone.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
double2.cs Generate every HLSL swizzle and mixed constructor; fix intrinsic types 2026-09-14 13:57:02 +02:00
double2.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
double3.cs Generate every HLSL swizzle and mixed constructor; fix intrinsic types 2026-09-14 13:57:02 +02:00
double3.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
float2.cs Generate every HLSL swizzle and mixed constructor; fix intrinsic types 2026-09-14 13:57:02 +02:00
float2.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
float2x2.cs Document where matrix row writes are silently lost 2026-09-14 14:18:00 +02:00
float2x2.cs.meta Make CultMath HLSL-shaped: writable components, bool-vector comparisons 2026-09-14 13:29:59 +02:00
float3.cs Generate every HLSL swizzle and mixed constructor; fix intrinsic types 2026-09-14 13:57:02 +02:00
float3.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
float3x3.cs Document where matrix row writes are silently lost 2026-09-14 14:18:00 +02:00
float3x3.cs.meta Make CultMath HLSL-shaped: writable components, bool-vector comparisons 2026-09-14 13:29:59 +02:00
float4.cs Generate every HLSL swizzle and mixed constructor; fix intrinsic types 2026-09-14 13:57:02 +02:00
float4.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
int2.cs Generate every HLSL swizzle and mixed constructor; fix intrinsic types 2026-09-14 13:57:02 +02:00
int2.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
int3.cs Generate every HLSL swizzle and mixed constructor; fix intrinsic types 2026-09-14 13:57:02 +02:00
int3.cs.meta Make CultMath HLSL-shaped: writable components, bool-vector comparisons 2026-09-14 13:29:59 +02:00
int4.cs Generate every HLSL swizzle and mixed constructor; fix intrinsic types 2026-09-14 13:57:02 +02:00
int4.cs.meta Make CultMath HLSL-shaped: writable components, bool-vector comparisons 2026-09-14 13:29:59 +02:00
IsExternalInit.cs Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
IsExternalInit.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
math.cs cultmath: correct F6 proof arithmetic and chi-square provenance in cellular docs 2026-09-26 02:23:55 +02:00
math.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
quaternion.cs Make CultMath HLSL-shaped: writable components, bool-vector comparisons 2026-09-14 13:29:59 +02:00
quaternion.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
Random.cs Make CultMath HLSL-shaped: writable components, bool-vector comparisons 2026-09-14 13:29:59 +02:00
Random.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
rect.cs Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
rect.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
Swizzles.g.cs Add HLSL vector conversions, int clamp, and double frac to CultMath 2026-09-14 16:16:32 +02:00
Swizzles.g.cs.meta Generate every HLSL swizzle and mixed constructor; fix intrinsic types 2026-09-14 13:57:02 +02:00
UnscopedRefAttribute.cs Generate every HLSL swizzle and mixed constructor; fix intrinsic types 2026-09-14 13:57:02 +02:00
UnscopedRefAttribute.cs.meta Generate every HLSL swizzle and mixed constructor; fix intrinsic types 2026-09-14 13:57:02 +02:00
Voronoi.cs Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
Voronoi.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00