blockScalarMultiplication

Multiplication of a vector with a scalar

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 multiplying the input vector u1 with the scalar input u2:

y_i = u2 * u1[i]

The vectors y and u1 will have the same length nin.

Parameters

TypeNameDefaultDescription
Structural Parameters
Integernin2Length of input vector

Connectors

TypeNameDefaultDescription
Interfaces.Connectors.RealMultiInputu1Input vector of length nin
Interfaces.Connectors.RealInputu2Input of scalar value

Components

TypeNameDefaultDescription
RealMultiOutput[nin]yOutput vector