LinearAlgebra`BLAS`
LinearAlgebra`BLAS`

NRM2

NRM2[x]

gives the Euclidean norm of the vector x.

更多信息和选项

  • To use NRM2, you first need to load the BLAS Package using Needs["LinearAlgebra`BLAS`"].
  • The following argument must be given:
  • xinput expressionvector
  • NRM2[x] is equivalent to Sqrt[x.Conjugate[x]].

范例

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

基本范例  (1)

Load the BLAS package:

Compute the Euclidean norm of a vector:

Scope  (4)

A real vector:

A complex vector:

An arbitrary-precision vector:

A symbolic vector:

Properties & Relations  (2)

For a vector x, NRM2[x] is equivalent to Norm[x]:

For a vector x, NRM2[x] is equivalent to Sqrt[x.Conjugate[x]]:

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

文本

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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