blockTimes

Elementwise multiplication of two vectors of the same length

Extends from Interfaces.Basics.BaseConverter (Basic converter class).

Information

This information is part of the Business Simulation Library (BSL). Please support this work and ► donate.

The output vector y is obtained by elementwise multiplication of the input vectors u1 and u2, which need to have the same length nin:

y_i = u1[i] * u2[i]

Parameters

TypeNameDefaultDescription
Structural Parameters
Integernin2Length of input and output vectors

Connectors

TypeNameDefaultDescription
Interfaces.Connectors.RealMultiInputu1Input vector 1
Interfaces.Connectors.RealMultiInputu2Input vector 2

Components

TypeNameDefaultDescription
RealMultiOutputyOutput vector of the same length as inputs