functioncalc_true_booleans
Calculates the amount of true booleans in a array with size n
Extends from TransiEnt.Basics.Icons.Function.
Information
1. Purpose of model
Calculates the number of true booleans in a list
2. Level of detail, physical effects considered, and physical insight
(no remarks)
3. Limits of validity
(no remarks)
4. Interfaces
(no remarks)
5. Nomenclature
(no remarks)
6. Governing Equations
(no remarks)
7. Remarks for Usage
(no remarks)
8. Validation
(no remarks)
9. References
(no remarks)
10. Version History
Model created during IntegraNet I by Philipp Huismann (October 2018) (huismann@gwi-essen.de)
Inputs
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean[:] | vals | ||
| Integer | n |
Outputs
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | result |