allow edges to have different dimension in SFLU graphs
Created by: kevinkuns
This allows edges to have different dimensions in SFLU graphs. One place this is necessary is to compute the mechanical part of optomechanical calculations which is required for, among other things, calculating PI gains.
It modifies two methods in SFLUCompute
- A simple change to find the dimensions of the identity matrix in
CLG_inv
- A change to find the dimensions of incoming rows when the operation is
E_CLGd
in thecompute
method. There is certainly a better way to do this and this merge request probably shouldn't be merged as is.