LinearAlgebra`BLAS`
LinearAlgebra`BLAS`

DOT

DOT[x,y]

computes the dot product of two vectors x and y.

Details and Options

  • To use DOT, you first need to load the BLAS Package using Needs["LinearAlgebra`BLAS`"].
  • The following arguments must be given:
  • xinput expressionvector
    yinput expressionvector
  • The vector arguments must be of the same length.

Examples

open allclose all

Basic Examples  (1)

Load the BLAS package:

Compute the dot product of two vectors:

Scope  (4)

Real vectors:

Complex vectors:

Arbitrary-precision vectors:

Symbolic vectors:

Properties & Relations  (1)

For vectors x and y, DOT[x,y] is equivalent to x.y:

Possible Issues  (1)

Arguments must be of the same length:

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

Text

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

CMS

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

APA

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

BibTeX

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

BibLaTeX

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