blockTotal

Gives the sum over all components of a vector

Extends from Interfaces.PartialConverters.MISO (Converter with multiple inputs and a single output).

Information

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

The scalar output y is obtained by adding all components of the input vector u:

y_i = sum(u_i)

Parameters

TypeNameDefaultDescription
Structural Parameters
Integernin (from MISO)2Number of input signals

Connectors

TypeNameDefaultDescription
Connectors.RealMultiInput[nin]u (from MISO)Input

Components

TypeNameDefaultDescription
RealOutputy (from SO)