Total

Gives the sum over all components of a vector

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 (1)

nin

Value: 2

Type: Integer

Description: Number of input signals

Connectors (2)

y

Type: RealOutput

Description: Output signal

u

Type: RealMultiInput[nin]

Description: Input

Used in Components (2)

Total

BusinessSimulation.CausalLoop

Sum all inputs

DotProduct

BusinessSimulation.Converters.Vector

Dot product of two vectors of equal length