finesse.knm.matrix.KnmMatrix.of_zeros¶
- static KnmMatrix.of_zeros(const int[:, ::1] modes, **kwargs)¶
Constuct a KnmMatrix where each element is (complex) zero.
- Parameters
- modesarray-like
A 2D array, or memory-view to the array, of the mode indices associated with the scattering matrix.
- kwargskeyword arguments, optional
Additional args to pass to constructor of KnmMatrix.
- Returns
- kmat
KnmMatrix
The KnmMatrix object consisting of a matrix of zeroes.
- kmat