julialangHow to find the maximum value in JuliaLang?
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 themaximum
function
No relevant links.
More of Julialang
- How to test code in JuliaLang?
- How to use tuples in JuliaLang?
- How to create plots in JuliaLang?
- How to add a package in JuliaLang?
- How to use try catch in JuliaLang?
- How to use lambda functions in JuliaLang?
- How to round numbers in JuliaLang?
- How to calculate the mean in JuliaLang?
- How to add a legend to a plot in JuliaLang?
- How to create a histogram in JuliaLang?
See more codes...