Getting the maximum value from a list in Julia - max() Method Last Updated : 21 Apr, 2020 Summarize Comments Improve Suggest changes Share Like Article Like Report The max() is an inbuilt function in julia which is used to return the maximum value of the parameters. Syntax: max(x, y, ...) Parameters: x: Specified 1st value. y: Specified 2nd value and so on. Returns: It returns the maximum value of the parameters. Example 1: Python # Julia program to illustrate # the use of max() method # Getting the maximum value of the parameters. println(max(1, 2, 3, 4)) println(max(1, 3, 5)) println(max(2, 4, 6)) Output: 4 5 6 Example 2: Python # Julia program to illustrate # the use of max() method # Getting the maximum value of the parameters. println(max(0.6, 0.7, 0.2)) println(max(2.5, 3.5, 0.3, 1.7)) Output: 0.7 3.5 Comment More infoAdvertise with us Next Article Getting the maximum value from a list in Julia - max() Method K Kanchan_Ray Follow Improve Article Tags : Julia Similar Reads Getting the minimum value from a list in Julia - min() Method The min() is an inbuilt function in julia which is used to return the minimum value of the parameters. Syntax: min(x, y, ...) Parameters: x: Specified 1st value. y: Specified 2nd value and so on. Returns: It returns the minimum value of the parameters. Example 1: Python # Julia program to illustrate 1 min read Getting maximum elements in Julia - maximum() and maximum!() Methods The maximum() is an inbuilt function in julia which is used to return maximum elements in different scenario. Syntax: maximum(f, itr) or maximum(itr) or maximum(A::AbstractArray; dims) Parameters: f: Specified function.itr: Specified list of elements.A::AbstractArray: Specified array of different d 2 min read Getting last element of an array in Julia - last() Method The last() is an inbuilt function in julia which is used to return the last element of the specified iterable collection. Syntax: last(coll) Parameters: coll: Specified iterable collection. Returns: It returns the last element of the specified iterable collection. Example 1: Python # Julia program t 1 min read Get index of last true value of array in Julia | Array findlast() Method The findlast() is an inbuilt function in julia which is used to return the index or key of the last true value in the specified array. Here values of index or key start from 1 i.e, for index of 1st element is 1, index of 2nd element is 2 and so on. Syntax: findlast(A) or findlast(predicate::Function 2 min read Getting first and last set of elements in Julia - front() and tail() Methods The front() is an inbuilt function in julia which is used to return a tuple consisting of all but the last component of x, where x is the specified tuple. Syntax: front(x::Tuple)::Tuple Parameters: x::Tuple: Specified tuple. Returns: It returns a tuple consisting of all but the last component of x, 2 min read Like