MatShift

Computes Y = Y + a I, where a is a scalar and I is the identity matrix.

Synopsis

int MatShift(Scalar *a,Mat Y)
Collective on Mat

Input Parameters

Y - the matrices
a - the scalar

Keywords

matrix, add, shift

See Also

MatDiagonalShift()

Location: src/mat/utils/axpy.c
Matrix Index
Table of Contents