DotProduct

Parent Previous Next

Full Library / Math Operator / Math and Trig / DotProduct
Block Name: DotProduct

Code File Location: VisualSim/simulators/sdf/lib/DotProduct

Block Overview

Compute the dot product of two arrays or matrices. This actor has two input ports, from which it receives two ArrayTokens or two Matrix Tokens. The elements of the ArrayTokens or MatrixTokens must be of type ScalarToken. The output is the dot product of the two arrays or matrices.

This actor requires that each input port have a token upon firing. On each firing, it produces exactly one token, which is of type ScalarToken.


Field Detail

input1

public VisualSim.actor.TypedIOPort input1


input2

public VisualSim.actor.TypedIOPort input2


output

public VisualSim.actor.TypedIOPort output

 


Created with the Personal Edition of HelpNDoc: Free EPub and documentation generator