What Lu(x)iEdge evaluates
Lu(x)iEdge evaluates composed mathematical expressions — trigonometric, exponential, logarithmic, statistical, and more — across scalar and vector inputs. Every evaluation produces the same output for the same input, on every platform, verified by SHA-256. No drift. No surprises.
| Function | Syntax | Description | Example |
|---|---|---|---|
| Sine | sin(x) |
Trigonometric sine | sin(3.14159) → 0.0 |
| Cosine | cos(x) |
Trigonometric cosine | cos(0) → 1.0 |
| Tangent | tan(x) |
Trigonometric tangent | tan(0.785) → 1.0 |
| Arcsine | asin(x) |
Inverse sine (radians) | asin(0.5) → 0.524 |
| Function | Syntax | Description | Example |
|---|---|---|---|
| Hyperbolic Sine | sinh(x) |
Hyperbolic sine | sinh(1) → 1.175 |
| Hyperbolic Cosine | cosh(x) |
Hyperbolic cosine | cosh(0) → 1.0 |
| Hyperbolic Tangent | tanh(x) |
Hyperbolic tangent | tanh(0) → 0.0 |
| Function | Syntax | Description | Example |
|---|---|---|---|
| Exponential | exp(x) |
e raised to x | exp(1) → 2.718 |
| Natural Logarithm | log(x) |
Natural logarithm (ln) | log(2.718) → 1.0 |
| Base-10 Logarithm | log10(x) |
Base-10 logarithm | log10(100) → 2.0 |
| Function | Syntax | Description | Example |
|---|---|---|---|
| Square Root | sqrt(x) |
Square root | sqrt(16) → 4.0 |
| Cube Root | cbrt(x) |
Cube root | cbrt(27) → 3.0 |
| Function | Syntax | Description | Example |
|---|---|---|---|
| Floor | floor(x) |
Round down to integer | floor(2.7) → 2.0 |
| Ceiling | ceil(x) |
Round up to integer | ceil(2.1) → 3.0 |
| Round | round(x) |
Round to nearest integer | round(2.5) → 3.0 |
| Function | Syntax | Description | Example |
|---|---|---|---|
| Absolute Value | abs(x) |
Absolute value | abs(-5) → 5.0 |
| Negation | neg(x) |
Negates value | neg(3) → -3.0 |
| Function | Syntax | Description | Example |
|---|---|---|---|
| Error Function | erf(x) |
Gaussian error function | erf(1.0) → 0.8427 |
| Normal CDF | normcdf(x) |
Cumulative distribution (standard normal) | normcdf(0) → 0.5 |
| Normal PDF | normpdf(x) |
Probability density (standard normal) | normpdf(0) → 0.3989 |
| Gamma | gamma(x) |
Gamma function | gamma(5) → 24.0 |
| Inverse CDF | inverse_cdf(x) |
Inverse normal CDF (quantile) | inverse_cdf(0.975) → 1.96 |
2,900+ Expression Combinations: Lu(x)iEdge supports 22 core functions and 6 binary operators. These combine into 2,900+ expression combinations at the single and two-function level (f(x) and f(x) op g(x)), with additional capacity for nested and chained expressions. Categories include trigonometric, logarithmic, exponential, hyperbolic, power, rounding, statistical, and specialized quantitative finance functions. All expressions remain deterministic and SHA-256 verifiable.
| Operator | Syntax | Description | Example |
|---|---|---|---|
| Addition | x + y |
Adds two values | x + 5 |
| Subtraction | x - y |
Subtracts two values | x - 1 |
| Multiplication | x * y |
Multiplies two values | 2 * x |
| Division | x / y |
Divides two values | x / 2 |
| Power | x^n |
Raises x to power n | pow(x,2) |
| Beta | beta(x,y) |
Beta function | beta(2,3) → 0.0833 |
Lu(x)iEdge includes the statistical functions required for Black-Scholes pricing, Greeks (Delta, Gamma, Theta, Vega, Rho), Value at Risk (VaR), and Monte Carlo primitives:
normcdf for d1, d2 calculations
inverse_cdf for quantile estimation
normpdf for delta, gamma sensitivity
erf for error bounds
All functions are bit-exact and SHA-256 verifiable for FINRA audit compliance.