Coverage for src/cvx/linalg/covariance/__init__.py: 100%
4 statements
« prev ^ index » next coverage.py v7.15.0, created at 2026-07-03 18:56 +0000
« prev ^ index » next coverage.py v7.15.0, created at 2026-07-03 18:56 +0000
1"""Covariance utilities: conversion, random generation, EWM, and PCA.
3``ewm_covariance`` lives in the :mod:`cvx.linalg.covariance.ewm_cov` submodule
4and is intentionally *not* re-exported here, because it requires the optional
5``polars`` dependency (the ``ewm`` extra). Import it explicitly with
6``from cvx.linalg.covariance.ewm_cov import ewm_covariance``.
7"""
9from .cov_to_corr import cov_to_corr as cov_to_corr
10from .pca import pca as pca
11from .rand_cov import rand_cov as rand_cov
13__all__ = [
14 "cov_to_corr",
15 "pca",
16 "rand_cov",
17]