warp.diag# warp.diag(vec: Vector[Any, Scalar]) → Matrix[Any, Any, Scalar]# Kernel Differentiable Returns a matrix with the components of the vector vec on the diagonal.