bundles / scipy latest / scipy / linalg / _flapack / slarf
lapack_function
scipy.linalg._flapack:slarf
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def slarf(v, tau, c, work, side = L, incv = 1, overwrite_c = 0)Summary
Apply an elementary reflector to a matrix (LAPACK slarf).
Extended Summary
Computes H @ c or c @ H for the reflector H described by v and tau.
Parameters
v: ndarrayThe reflector vector,
1 + (order - 1) * abs(incv)entries, where the order is the row count ofcwhensideis'L'and its column count when'R'.tau: floatThe reflector scalar.
c: ndarrayMatrix to apply the reflector to.
work: ndarrayWorkspace, length
nwhensideis'L'andmwhen'R'. This is a required argument only for backwards compatibility -- the.pyfsays so itself -- and would otherwise be allocated internally.side: str, optional'L'forH @ c,'R'forc @ H. Default is'L'.incv: int, optionalStride through
v. Default is 1.overwrite_c: int, optionalIf nonzero,
cmay be overwritten in place. Default is 0.
Returns
c: ndarrayThe result, overwriting
c.
Aliases
scipy.linalg._flapack.slarf