Tessero\Stats\Uniform
AI assistant
Build this with Claude Code, Cursor or Copilot
Copy a Tessero-tuned prompt for Tessero\Stats\Uniform, grounded in 16 real API signatures , into your IDE's AI. No chatbot, just exact context.
__construct
__construct(mixed $a = 0.0, mixed $b = 1.0)
pdf
pdf(mixed $x): Tessero\NDArray|float
logpdf
logpdf(mixed $x): Tessero\NDArray|float
cdf
cdf(mixed $x): Tessero\NDArray|float
logcdf
logcdf(mixed $x): Tessero\NDArray|float
ccdf
ccdf(mixed $x): Tessero\NDArray|float
Complementary CDF — the survival function (scipy ccdf == legacy sf).
logccdf
logccdf(mixed $x): Tessero\NDArray|float
log of the complementary CDF (scipy logccdf == legacy logsf).
icdf
icdf(mixed $p): Tessero\NDArray|float
Inverse CDF — the quantile / percent-point function (scipy icdf == legacy ppf).
iccdf
iccdf(mixed $p): Tessero\NDArray|float
Inverse complementary CDF (scipy iccdf == legacy isf).
ilogcdf
ilogcdf(mixed $y): Tessero\NDArray|float
Inverse of logcdf: icdf(exp(y)).
ilogccdf
ilogccdf(mixed $y): Tessero\NDArray|float
Inverse of logccdf: iccdf(exp(y)).
mean
mean(): Tessero\NDArray|float
median
median(): Tessero\NDArray|float
variance
variance(): Tessero\NDArray|float
standard_deviation
standard_deviation(): Tessero\NDArray|float
skewness
skewness(): Tessero\NDArray|float
The skewness — 0 for every uniform.
kurtosis
kurtosis(): Tessero\NDArray|float
The Pearson (NON-excess) kurtosis: the RV API returns the full fourth standardized moment, which is the legacy excess kurtosis (stats('k') = -1.2) plus 3 (= 1.8 for every uniform).
entropy
entropy(): Tessero\NDArray|float
mode
mode(): Tessero\NDArray|float
The mode — any point in [a, b]; scipy returns the interval midpoint (a + b) / 2.
support
support(): array
moment
moment(int $order, string $kind = 'raw'): Tessero\NDArray|float
The raw ('raw' — non-central), 'central' or 'standardized' moment of the given order.