AngouriMath
Navigation
Shaders
Description
Summary
Expressions printed as shader source: straight-line HLSL or GLSL that computes each
output once, sharing every repeated subexpression.
output once, sharing every repeated subexpression.
Remarks
an exact gradient, a Hessian, a closed form of a physical law — and run the result
on the GPU. Differentiate(AngouriMath.Entity.Variable) followed by one of these
is an analytic normal for a signed distance field.
unspecified, as the language's own
Three of those are worth naming, because a GPU does give them a value: a division by
zero,
shader; so is zero to a negative power,
printed
printed
branch on every quotient would cost more than the difference is worth, so the
difference is documented rather than paid for. Nor is
defined in a shader, even where the exponent is a variable that happens to be whole.
gives no value to, a function with no intrinsic and no straight-line form — is declined
with the node named, never printed approximately; and what
binder or a statement where a number is expected, is declined with
message.
form is wanted: what is printed is the expression that was given. The only rewrites
are the ones
the number it gives, a membership in an interval or a finite set is the comparisons
it stands for, and
as
Members
Angouri © 2019-2026 · Project's repo · Site's repo · Octicons · Transparency · 6003 pages online