Given up on dynamatrix
Dynamatrix seems to be a good design, but the implementation is buggy, and I don’t have the inclination to fix and test it. Perhaps just linking to a fortran library is the best bet. Primitive types can be passed easily between the two, so that might do. If I get really enthused, I might write a decent marshalling layer between Fortran and c#. I’ve done it before, but I don’t own the rights to the code.