ProbUnitArray¶ ProbUnitArray ¶ ProbUnitArray(elements: Iterable[ProbUnitFloat]) samples_to_csv ¶ samples_to_csv(path) -> None Write the full sample matrix to CSV. Shape: self._len rows × self._n columns. Header row: sample_0, sample_1, … to_csv ¶ to_csv(path, confidence: float = 0.95) -> None Write per-element statistics (mean, std, CI bounds) to CSV. Columns: mean, std, ci_lo, ci_hi — all in the array's unit.