bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / linalg / _flapack / ssfrk
lapack_function
scipy.linalg._flapack:ssfrk
source: build-install/usr/lib/python3.14/site-packages/scipy/linalg/_flapack.cpython-314-x86_64-linux-gnu.so
Signature
def ssfrk(n, k, alpha, a, beta, c, transr = N, uplo = U, trans = N, overwrite_c = 0)Summary
Symmetric rank-k update of a matrix held in rectangular full packed (RFP) storage (LAPACK ssfrk).
Extended Summary
Computes c := alpha * a @ a.T + beta * c when trans is 'N', or c := alpha * a.T @ a + beta * c when it is 'T'.
Parameters
n: intOrder of the square matrix.
k: intInner dimension of the update.
alpha: floatScalar the rank-k term is multiplied by. Real for every flavor.
a: ndarrayShape
(max(n, 1), k)whentransis'N',(max(k, 1), n)otherwise. The leading dimension followsnandkrather thana, so the row count must match exactly.beta: floatScalar
cis scaled by before the update. Real for every flavor.c: ndarrayThe matrix to update, in RFP storage, length
n * (n + 1) / 2.transr: str, optional'N'for the normal RFP layout,'T'for the transposed one. Default is'N'.uplo: str, optional'U'ifcholds the upper triangle,'L'if lower. Default is'U'.trans: str, optional'N'fora @ a.T,'T'for the transpose product. Default is'N'.overwrite_c: int, optionalIf nonzero,
cmay be overwritten in place. Default is 0.
Returns
cout: ndarrayThe updated matrix in RFP storage, overwriting
c.
Aliases
scipy.linalg._flapack.ssfrk