[ t^3 t^2 t 1 ] [ -1 3 -3 1 3 -6 3 0 -3 3 0 0 1 0 0 0 ] P where t ∈ ℝ P ∈ ℝ^(4 × d)
/* C++ with Eigen */
# Python with NumPy and SciPy
% MATLAB
% LaTeX