eye dtype
The definition of the eye function has an optional parameter dtype
with float
as default value.
def eye(m, n=None, k=0, dtype='float'):
However, it returns a lazy linear operator with dtype='float'
.
return LazyLinearOp((m, n), matmat=lambda x: matmat(x, m, n, k),
rmatmat=lambda x: matmat(x, n, m, -k),
dtype='float')