MatDiagonalShift
Computes Y = Y + D, where D is a diagonal matrix that is represented as a vector.
Synopsis
int MatDiagonalShift(Mat Y,Vec D)
Input Parameters
Y | - the input matrix
|
D | - the diagonal matrix, represented as a vector
|
Input Parameters
Y -the shifted ouput matrix
Collective on Mat and Vec
Keywords
matrix, add, shift, diagonal
See Also
MatShift()
Level:intermediate
Location:src/mat/utils/axpy.c
Matrix Index
Table of Contents