SymEngine - turn to function

I’ve found this temporary solution:

Bf = lambdify(Bmat, [x,y,a,b])

But according to the post it might be slow. It works atleast.

Kind regards, if someone else have a better solution I would love to hear