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.
550
+
This function deals with diagonal matrix arising from the multiplicaton of eye with a scalar/vector/matrix
551
+
552
+
Parameters
553
+
----------
554
+
fgraph: FunctionGraph
555
+
Function graph being optimized
556
+
node: Apply
557
+
Node of the function graph to be optimized
558
+
559
+
Returns
560
+
-------
561
+
list of Variable, optional
562
+
List of optimized variables, or None if no optimization was performed
0 commit comments