Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 637 Bytes

how-to-find-the-maximum-value-in-julialang.md

File metadata and controls

19 lines (13 loc) · 637 Bytes

How to find the maximum value in JuliaLang?

// plain

The maximum value of a collection of values can be found in JuliaLang using the maximum function.

julia> maximum([1,2,3,4,5])
5

The maximum function takes a collection of values as an argument and returns the maximum value of the collection.

  • maximum: function to find the maximum value of a collection of values
  • [1,2,3,4,5]: collection of values passed as an argument to the maximum function

No relevant links.

onelinerhub: How to find the maximum value in JuliaLang?