LinearAlgebra`BLAS`
LinearAlgebra`BLAS`

SYRK

SYRK[ul,ts,α,a,β,b]

computes the symmetric rank-k update α opts[a].Transpose[opts[a]]+β b and resets the appropriate part of b to the result.

Details

  • To use SYRK, you first need to load the BLAS Package using Needs["LinearAlgebra`BLAS`"].
  • The following arguments must be given:
  • ulinput stringupper/lower triangular string
    tsinput stringtransposition string
    αinput expressionscalar mutliple
    ainput expressionrectangular matrix
    βinput expressionscalar multiple
    binput/output symbolsquare matrix; the symbol value is modified in place
  • The upper/lower triangular string ul may be specified as:
  • "U"update the upper triangular part of b
    "L"update the lower triangular part of b
  • The transposition strings describe the operators opts and may be specified as:
  • "N"no transposition
    "T"transpose
    "C"conjugate transpose
  • Dimensions of the matrix arguments must be such that the dot product and addition are well defined.

Examples

open allclose all

Basic Examples  (1)

Load the BLAS package:

Apply a symmetric rank-2 update to the upper triangular part of a matrix:

Scope  (4)

Real matrices:

Complex matrices:

Arbitrary-precision matrices:

Integer-symbolic matrices:

Properties & Relations  (1)

SYRK["U","N",α,a,β,b] is equivalent to b=α a.Transpose[a]+β b applied to the upper triangular part of b:

The strictly lower triangular part of b is unchanged:

Possible Issues  (2)

The last argument must be a symbol:

The last argument must be initialized to a matrix:

Wolfram Research (2017), SYRK, Wolfram Language function, https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/SYRK.html.

Text

Wolfram Research (2017), SYRK, Wolfram Language function, https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/SYRK.html.

BibTeX

@misc{reference.wolfram_2021_syrk, author="Wolfram Research", title="{SYRK}", year="2017", howpublished="\url{https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/SYRK.html}", note=[Accessed: 26-July-2021 ]}

BibLaTeX

@online{reference.wolfram_2021_syrk, organization={Wolfram Research}, title={SYRK}, year={2017}, url={https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/SYRK.html}, note=[Accessed: 26-July-2021 ]}

CMS

Wolfram Language. 2017. "SYRK." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/SYRK.html.

APA

Wolfram Language. (2017). SYRK. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/SYRK.html