matrixfunctions / GraphMatFun.jl

Computation graphs for matrix functions
MIT License
13 stars 0 forks source link

get_topo_order identity matrix #34

Closed jarlebring closed 3 years ago

jarlebring commented 3 years ago

In get_topo_order a node get prioritized if it makes another node free. This also holds for the identity matrix. In most of our code generators the I matrix is not explicitly store. Therefore, I think get_topo_order should not give priority to nodes that "frees" the identity matrix, i.e., no bonus if the node to be freed is I.