AUSTRA
C#
Show/Hide TOC
Vec
Dot(Span
Int
32
, Span
Int
32
) Method
Calculates the dot product of two spans.
Definition
Namespace:
Austra.Library.Helpers
Assembly:
Austra.Library (in Austra.Library.dll) Version: 2.5.0+d1268756e036101f601080f153b3997e72fc912d
C#
Copy
public
static
int
Dot
(
this
Span
<
int
>
span1
,
Span
<
int
>
span2
)
Parameters
span1
Span
Int32
First span operand.
span2
Span
Int32
Second span operand.
Return Value
Int32
The dot product of the vectors.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
Span
Int32
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
Remarks
The second span can be longer than the first span.
See Also
Reference
Vec Class
Dot Overload
Austra.Library.Helpers Namespace
In This Article
Definition
Parameters
Return Value
Usage Note
Remarks
See Also