next up previous contents index
suivant: Hilbert matrix : hilbert monter: Usual matrix précédent: Diagonal of a matrix   Table des matières   Index


Jordan bloc : JordanBlock

JordanBlock takes as argument an expression a and an integer n.
JordanBlock returns a square matrix of size n with a on the principal diagonal, 1 above this diagonal and 0 elsewhere.
Input :
JordanBlock(7,3)
Output :
[[7,1,0],[0,7,1],[0,0,7]]



giac documentation written by Renée De Graeve and Bernard Parisse