You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This rewrite takes advantage of the fact that for a diagonal matrix, the inverse is a diagonal matrix with the new diagonal entries as reciprocals of the original diagonal elements.
580
+
This function deals with diagonal matrix arising from the multiplicaton of eye with a scalar/vector/matrix
581
+
582
+
Parameters
583
+
----------
584
+
fgraph: FunctionGraph
585
+
Function graph being optimized
586
+
node: Apply
587
+
Node of the function graph to be optimized
588
+
589
+
Returns
590
+
-------
591
+
list of Variable, optional
592
+
List of optimized variables, or None if no optimization was performed
0 commit comments