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