symbolic identity matrix
B: Eye( A, k = 0 ) B: Eye( r, c, k = 0 )
matrix of symbolic scalars
integer
non-negative integer
non-negative integer
matrix of symbolic scalars
Returns an identity matrix with the dimensions of matrix A.
Returns a matrix with the dimensions of A and ones on a lower (k < 0) or upper (k > 0) diagonal. For k = 0 the ones are on the main diagonal (cf. above).
Returns an identity matrix with r rows and c columns.
Returns a matrix with r rows and c columns and ones on a lower (k < 0) or upper (k > 0) diagonal. For k = 0 the ones are on the main diagonal (cf. above).
SymEngine: C++ library for fast symbolic manipulation.