Berserk Docs
Scalar FunctionsSeries Functions

series_dot_product

Dot product Σ aᵢ·bᵢ of two equal-length numeric series.

Syntax

series_dot_product(a, b)

Parameters

Prop

Type

Returns: real

Examples

Example 1

print series_dot_product(dynamic([1.0, 2.0, 3.0]), dynamic([4.0, 5.0, 6.0]))
print_0 (real)
32.0

On this page