x is a real column vector of size L - 1