Coverage for src/cvx/linalg/core/types.py: 100%
7 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"""Type aliases for linear algebra utilities.
3Defines NumPy ndarray aliases used across the linalg subpackage.
4"""
6from typing import TypeAlias
8import numpy as np
9import numpy.typing as npt
11Matrix: TypeAlias = npt.NDArray[np.float64]
12"""A 2-D float64 NumPy array."""
14Vector: TypeAlias = npt.NDArray[np.float64]
15"""A 1-D float64 NumPy array."""