covmats.CovKernelAsLinop#
- class covmats.CovKernelAsLinop(*args, **kwargs)[source]#
Abstract class providing linear operator capability from a kernel definition.
- __init__(pts: ndarray[tuple[Any, ...], dtype[float64]], kernel: Callable, len_scale: ndarray[tuple[Any, ...], dtype[float64]], nugget: float = 0.0, k: int = 100, is_use_preconditioner: bool = False) None[source]#
Initialize the instance.
- Parameters:
pts (NDArrayFloat) – _description_
kernel (Callable) – _description_
nugget (float, optional) – _description_, by default 0.0
Properties
Hermitian adjoint.
Transpose this linear operator.
Return the number of points covered.
Methods
Hermitian adjoint.
Matrix-matrix or matrix-vector multiplication.
Return the diagonal entries of the matrix (variances).
Return the number of counts.
Matrix-matrix multiplication.
Matrix-vector multiplication.
Set the comptors to zero.
Adjoint matrix-matrix multiplication.
Adjoint matrix-vector multiplication.
Solve Ax = b, with A, the current covariance matrix instance.
Explicit dense representation of the covariance matrix.
Transpose this linear operator.