How to use inprod function or similar function in rstan

I just want to use inprod function in rstan, how to do it?

I’m assuming that inprod refers to an inner product of two vectors? In that case you want to use dot_product

Thank you. It is what i want.