SYR
詳細とオプション
- To use SYR, you first need to load the BLAS Package using Needs["LinearAlgebra`BLAS`"].
- The following arguments must be given:
-
ul input string upper/lower triangular string α input expression scalar mutliple x input expression vector a input/output symbol 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 a "L" update the lower triangular part of a - Dimensions of the matrix and vector arguments must be such that the dot product and addition are well defined.
例題
すべて開く すべて閉じる例 (1)
Scope (4)
a = {{-2.1, 0., 3.2}, {4.3, 0.2, -0.3}, {4.1, 2.6, 0.}};
SYR["U", 0.5, {-1.2, 0., 2.3}, a];
aa = {{2.1 + 0.5I, 3.2 + I}, {4.1I, 3.8}};
SYR["L", 1.0, {2.3, 3.4I}, a];
aArbitrary-precision matrix and vectors:
a = {{1`20, -2}, {-2, 3}};
SYR["U", 1`20 / 2, {1`20, 2}, a];
aInteger-symbolic matrix and vectors:
a = {{m11, m12}, {m21, m22}};
SYR["U", α, {x1, x2}, a];
aProperties & Relations (1)
SYR["U",α,x,a] is equivalent to a=a+α Outer[Times,x,x] for the upper triangular part of a:
a = a1 = RandomReal[1, {5, 5}];
x = RandomReal[1, {5}];
α = RandomReal[];
SYR["U", α, x, a];
a == UpperTriangularize[α Outer[Times, x, x]] + a1The strictly lower triangular part of a is unchanged:
LowerTriangularize[a, -1] == LowerTriangularize[a1, -1]関連するガイド
テキスト
Wolfram Research (2017), SYR, Wolfram言語関数, https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/SYR.html.
CMS
Wolfram Language. 2017. "SYR." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/SYR.html.
APA
Wolfram Language. (2017). SYR. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/SYR.html
BibTeX
@misc{reference.wolfram_2026_syr, author="Wolfram Research", title="{SYR}", year="2017", howpublished="\url{https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/SYR.html}", note=[Accessed: 18-August-2026]}
BibLaTeX
@online{reference.wolfram_2026_syr, organization={Wolfram Research}, title={SYR}, year={2017}, url={https://reference.wolfram.com/language/LowLevelLinearAlgebra/ref/SYR.html}, note=[Accessed: 18-August-2026]}