The Calculating formula of Spline curve

Like the title , i want to know the formula of spline component. In another word, how can i get the spline curve in math formula as same as i put in ue4.

I’m also looking for this.