functionfind_max

Finds the minimum (maximum) value of a vector

Extends from Icons.Function.

Information

1. Purpose of model

The function finds the maximum value of a vector.

2. Level of detail, physical effects considered, and physical insight

(Description)

3. Limits of validity

(Description)

4. Interfaces

(none)

5. Nomenclature

(no elements)

6. Governing Equations

(no equations)

7. Remarks for Usage

(none)

8. Validation

(no validation or testing necessary)

9. References

(none)

10. Version History

Inputs

TypeNameDefaultDescription
Real[:]vector
Real[:]stateVectorones(size(vector, 1))
Integercond1Only use items where statevector[i]=cond

Outputs

TypeNameDefaultDescription
Integerindex