⚲
afp_diag_create
Create a diagonal matrix from input array.
Arguments
Array, diagonal values
Integer, diagonal index
Output
Matrix
Examples