Tessero\Stats\MakeDistribution
AI assistant
Build this with Claude Code, Cursor or Copilot
Copy a Tessero-tuned prompt for Tessero\Stats\MakeDistribution, grounded in 16 real API signatures , into your IDE's AI. No chatbot, just exact context.
__construct
__construct(string $name, array $shape = [])
of
static
of(string $name): Tessero\Stats\MakeDistributionFactory
The family class — SciPy's make_distribution(stats.<name>). Invoke the returned factory with the shape parameters to freeze a distribution object.
make
static
make(string $name, array $shape = []): self
One-step construction: make_distribution(stats.X)(**shapes).
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).
mean
mean(): Tessero\NDArray|float
median
median(): Tessero\NDArray|float
variance
variance(): Tessero\NDArray|float
entropy
entropy(): Tessero\NDArray|float
moment
moment(int $order): Tessero\NDArray|float
The raw (non-central) moment of the given order — the new-API default moment kind.
support
support(): array