Temporarily solved elementwise_op with a converted NMatrix object from GSL::Matrix object