Generalized Pascal triangles and Toeplitz matrices