dot-wakeby_cdf_fast: Fast Wakeby CDF via Q-grid interpolation

.wakeby_cdf_fastR Documentation

Fast Wakeby CDF via Q-grid interpolation

Description

Pre-computes the quantile function on a fine grid and uses linear interpolation to invert it. This replaces n calls to uniroot (inside lmomco::cdfwak) with a single vectorised quawak call + approx(), giving ~100x speed-up for n = 1000 and making the GoF 10-second window safe.

Usage

.wakeby_cdf_fast(x, para, n_grid = 2001L)

FitVerse documentation built on Dec. 1, 2026, 1:07 a.m.