Make FactoredMatrix compatible with tensor-like arguments
#599
+6
−6
FactoredMatrix compatible with tensor-like arguments
#599