functiongetClosest

Return the closest Index of a matrix based upon a parameter

Extends from TransiEnt.Basics.Icons.Function.

Information

1. Purpose of model

Returns the row index of the element in the first column of a given matrix whose value is closest to a specified input.

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 by Philipp Huismann, 2023

Inputs

TypeNameDefaultDescription
Realuserinput
Real[:,:]matrixSpalte 1 wird verglichen

Outputs

TypeNameDefaultDescription
IntegerrowIndex