Concept

Splines is a piece-wise polynomial

where is -th domain, every domain has their own function.