x is a real column vector of size L - 1 and y a real column vector of size k