This is an old version, view current version.
7.10 Diagonal complex matrix functions
complex_matrix
add_diag
(complex_matrix m, complex_row_vector d)
Add row_vector d
to the diagonal of matrix m
.
Available since 2.30
complex_matrix
add_diag
(complex_matrix m, complex_vector d)
Add vector d
to the diagonal of matrix m
.
Available since 2.30
complex_matrix
add_diag
(complex_matrix m, complex d)
Add scalar d
to every diagonal element of matrix m
.
Available since 2.30
complex_vector
diagonal
(complex_matrix x)
The diagonal of the matrix x
Available since 2.30
complex_matrix
diag_matrix
(complex_vector x)
The diagonal matrix with diagonal x
Available since 2.30