formula function

Extract the formula from a pim or pim.formula object