cagpjax.operators.diag_like
Functions:
-
diag_like–Create a diagonal operator with the same shape, dtype, and device as the operator.
diag_like
Create a diagonal operator with the same shape, dtype, and device as the operator.
Parameters:
-
(operatorLinearOperator) –Linear operator.
-
(valuesScalarFloat | Float[Array, N]) –Scalar for a scalar matrix or array of diagonal values for a diagonal matrix.
Returns: