I have the following two functions defined separately.
C(u_nodes, X, t) = F(u_nodes, X, t)'F(u_nodes, X, t)
b(u_nodes, X, t) = F(u_nodes, X, t)* F(u_nodes, X, t)'
Now, if I create another 2 functions (called in a sequential order) which uses the above functions
σ=f(b), does the F function get calculated again or does it get optimized by julia that it is calculated only once? Or, in other words, is calculating the actual matrix necessary or can I just keep on calling function of functions all the way down?