CultLib/packages/cultmath/src/CultMath
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Meta Vens 5745c2c3b2 cultmath lattice: stretch normal normalised by its largest component; refusals name their own parameter
Findings normal-not-unit-breaks-exit and refusals-misnamed: a tiny or huge normal acts as its direction, cellSize and the body span are refused under their own names, and a drift times time product that overflows is refused up front.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-17 09:14:30 +02:00
..
Expr ExprGraph lists are read-only views over private arrays; test short evaluator inputs 2026-10-14 07:54:31 +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
BoundedLeastSquares.cs CultMath BoundedLeastSquares: the free-set stationarity test is a traced decision; the stall boundary is pinned to the ulp 2026-10-11 02:37:05 +02:00
BoundedLeastSquares.cs.meta cultmath: BoundedLeastSquares primal active-set solver 2026-09-29 01:33:08 +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 CultMath: Cycles node semantics (Math, Map Range, Clamp, Mix, RGB to BW, ramp index) as math.Cycles.cs and CultMath.Cycles.hlsl under Apache-2.0 2026-10-12 03:59:59 +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
CultPhasor.cs CultMath: Phacelle port moves into MPL-2.0 files; prune cut pinned by boundary points 2026-09-30 00:34:27 +02:00
CultPhasor.cs.meta CultMath: phacelle, Johansen's Phacelle noise on 3D cells with an exact gradient 2026-09-29 23:51:02 +02:00
CultSiteCells.cs CultMath: site cells (power and multiplicative scores, fold, border), Gabriel margin and gate, out-free distance_to_segment 2026-10-16 18:14:50 +02:00
CultSiteCells.cs.meta CultMath: site cells (power and multiplicative scores, fold, border), Gabriel margin and gate, out-free distance_to_segment 2026-10-16 18:14:50 +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
Expr.meta CultMath.Expr: scalar SSA expression graph, builder with substitution, one validator, evaluator, MessagePack shape 2026-10-14 06:05:18 +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.Affine.cs cultmath: one owner of the snoise read's absolute terms (SNOISE_READ_VALUE, SNOISE_READ_GRADIENT) 2026-10-16 06:34:21 +02:00
math.Affine.cs.meta Affine forms: math.Affine.cs (af_* ops, af_snoise, af_fbm, af_frustum_*), SNOISE2_LIPSCHITZ and iv_snoise_ball(float2), AffineTests 2026-10-03 21:41:08 +02:00
math.cs CultMath sites: exact power cell border (radical planes, midpoint form), validated cell spans, one shader name per segment function 2026-10-16 19:15:55 +02:00
math.cs.meta Move CultMath into the CultLib monorepo 2026-08-26 17:35:51 +02:00
math.Cycles.cs CultMath Cycles: an infinite exponent is even in cycles_power; the oracle's infinite family and the pins for infinite operands 2026-10-14 04:42:39 +02:00
math.Cycles.cs.meta CultMath: Cycles node semantics (Math, Map Range, Clamp, Mix, RGB to BW, ramp index) as math.Cycles.cs and CultMath.Cycles.hlsl under Apache-2.0 2026-10-12 03:59:59 +02:00
math.Interval.cs iv_snoise_ball(float2): the doc states it is exact for its point and names the caller's float32 allowance 2026-10-04 07:20:55 +02:00
math.Interval.cs.meta CultMath intervals: cultmath_iv_* over float2(lo, hi) in C# and HLSL, with snoise and fbm ball bounds 2026-10-02 19:52:33 +02:00
math.Lattice.cs cultmath lattice: stretch normal normalised by its largest component; refusals name their own parameter 2026-10-17 09:14:30 +02:00
math.Lattice.cs.meta cultmath: weighted_lattice_cells with exact ring-exit search, four public steps, range constants; power_border splits a private unchecked core 2026-10-17 06:44:07 +02:00
math.Phacelle.cs CultMath: Phacelle port moves into MPL-2.0 files; prune cut pinned by boundary points 2026-09-30 00:34:27 +02:00
math.Phacelle.cs.meta CultMath: Phacelle port moves into MPL-2.0 files; prune cut pinned by boundary points 2026-09-30 00:34:27 +02:00
math.Sites.cs cultmath lattice: stretch normal normalised by its largest component; refusals name their own parameter 2026-10-17 09:14:30 +02:00
math.Sites.cs.meta CultMath: site cells (power and multiplicative scores, fold, border), Gabriel margin and gate, out-free distance_to_segment 2026-10-16 18:14:50 +02:00
math.Span.cs cultmath: one owner of the snoise read's absolute terms (SNOISE_READ_VALUE, SNOISE_READ_GRADIENT) 2026-10-16 06:34:21 +02:00
math.Span.cs.meta cultmath: snoise_hessian, integral_clamp_linear and SNOISE_THIRD scaffold (not yet measured or regenerated) 2026-10-14 06:31:43 +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
SpanNoise.cs cultmath: span_fbm and span_ridged return SpanNoise (field, curvature, fold) 2026-10-14 20:48:43 +02:00
SpanNoise.cs.meta cultmath: span_fbm and span_ridged return SpanNoise (field, curvature, fold) 2026-10-14 20:48:43 +02:00
SpanPath.cs cultmath: span stages take SpanPath and SpanStage and widen curvature and fold by float rounding allowances 2026-10-15 20:49:30 +02:00
SpanPath.cs.meta cultmath: span stages take SpanPath and SpanStage and widen curvature and fold by float rounding allowances 2026-10-15 20:49:30 +02:00
SpanStage.cs cultmath: span stages take SpanPath and SpanStage and widen curvature and fold by float rounding allowances 2026-10-15 20:49:30 +02:00
SpanStage.cs.meta cultmath: span stages take SpanPath and SpanStage and widen curvature and fold by float rounding allowances 2026-10-15 20:49:30 +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