Function diag from ginac
Brief description
diag(data:List):matrix
Creates a matrix with given elements in the diagonal More ...
Function information
Name: | diag |
Base: | |
Group: | GiNaC plugins:Matrix algebra |
Icon: | ginac.png |
Color: | cyan |
Authors: | |
Copyright: |
Detailed description
Creates a matrix with given elements in the diagonal
Input parameters
-
data:
List
- Diagonal elements return Resulting matrix
Return values
-
Default return value:
matrix