LinearAlgebra`BLAS`
LinearAlgebra`BLAS`

GERC

GERC[α,x,y,a]

computes the rank-one update a+αOuter[Times,x,Conjugate[y]] and resets a to the result.

更多信息和选项

  • To use GERC, you first need to load the BLAS Package using Needs["LinearAlgebra`BLAS`"].
  • The following arguments must be given:
  • αinput expressionscalar mutliple
    xinput expressionvector
    yinput expressionvector
    a
  • input/output symbol
  • matrix; the symbol value is modified in place
  • Dimensions of the matrix and vector arguments must be such that the dot product and addition are well defined.

范例

打开所有单元关闭所有单元

基本范例  (1)

Load the BLAS package:

Apply rank-one update to a matrix:

Scope  (4)

Real matrix and vectors:

Complex matrix and vectors:

Arbitrary-precision matrix and vectors:

Integer-symbolic matrix and vectors:

Properties & Relations  (1)

  • GERC[α,x,y,a] is equivalent to a=a+αOuter[Times,x,Conjugate[y]]:
  • This can also be expressed as a=a+αTranspose[{x}].{Conjugate[y]}:

    Possible Issues  (2)

    The last argument must be a symbol:

    The last argument must be initialized to a matrix:

    Wolfram Research (2017),GERC,Wolfram 语言函数,https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/GERC.html.

    文本

    Wolfram Research (2017),GERC,Wolfram 语言函数,https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/GERC.html.

    CMS

    Wolfram 语言. 2017. "GERC." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/GERC.html.

    APA

    Wolfram 语言. (2017). GERC. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/GERC.html 年

    BibTeX

    @misc{reference.wolfram_2024_gerc, author="Wolfram Research", title="{GERC}", year="2017", howpublished="\url{https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/GERC.html}", note=[Accessed: 21-November-2024 ]}

    BibLaTeX

    @online{reference.wolfram_2024_gerc, organization={Wolfram Research}, title={GERC}, year={2017}, url={https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/GERC.html}, note=[Accessed: 21-November-2024 ]}