template for rbm equations