Question: Please help me optimize code

main.mw

Please, start attach from beginning till that place where 

called.

I'm interest in all MainF and MainFDerivative... functions called as fast as possible. Firstly i evaluate them

symbolically but i cannot get why simply symbolical output of MainFDerivative3YYY(u, v, w) takes ssoo long. I  don't beleive that symbolical output slow itself. So, call is reevaluated. For wtf? But nevertheless numerical output seems to be fast. Can i do it even faster?

Please Wait...