evaluate function

a method for evaluating a trtsel object