discrete or continuous function