finesse.densematrix.DenseMatrix.declare_equations¶
- DenseMatrix.declare_equations(Neqs, index, name)[source]¶
Adds a submatrix to the matrix along its diagonal. This defines what equations exist in the matrix, the submatrix values cannot be changed after this, they are always 1 Before other submatrices can be added to the matrix the diagonal must be specfied and how many equations it represents.
- Parameters:
- NeqsPy_ssize_t
Number of equations this submatrix represents
- _indexlong
Subcolumn index
- nameunicode
Name used to indentify this coupling in the matrix for debugging