scipy.linalg.lapack.slarf#
- scipy.linalg.lapack.slarf(v, tau, c, work, side='L', incv=1, overwrite_c=0) = <flapack function slarf>#
Apply an elementary reflector to a matrix (LAPACK
slarf).Computes
H @ corc @ Hfor the reflectorHdescribed by v and tau.- Parameters:
- vndarray
The reflector vector,
1 + (order - 1) * abs(incv)entries, where the order is the row count of c when side is'L'and its column count when'R'.- taufloat
The reflector scalar.
- cndarray
Matrix to apply the reflector to.
- workndarray
Workspace, length n when side is
'L'and m when'R'. This is a required argument only for backwards compatibility – the.pyfsays so itself – and would otherwise be allocated internally.- sidestr, optional
'L'forH @ c,'R'forc @ H. Default is'L'.- incvint, optional
Stride through v. Default is 1.
- overwrite_cint, optional
If nonzero, c may be overwritten in place. Default is 0.
- Returns:
- cndarray
The result, overwriting c.