Sparse primitives
Now the autograd primitives are abstracted from the physics. And sparse - matrix operations are defined based on their matrix indices and elements. Some changes to the FDFD class were also made for simplification.
Now the autograd primitives are abstracted from the physics. And sparse - matrix operations are defined based on their matrix indices and elements. Some changes to the FDFD class were also made for simplification.