Standard and efficient implementations of Smolyak's algorithm for function approxmation.