scipy.linalg.lapack.dlarf#

scipy.linalg.lapack.dlarf(v, tau, c, work, side='L', incv=1, overwrite_c=0) = <flapack function dlarf>#

Apply an elementary reflector to a matrix (LAPACK dlarf).

Computes H @ c or c @ H for the reflector H described 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 .pyf says so itself – and would otherwise be allocated internally.

sidestr, optional

'L' for H @ c, 'R' for c @ 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.