max#
- swordfish.function.max()#
For one input:
If X is a vector, return the maximum in X.
If X is a matrix, return a vector composed of the maximum in each column of X.
If X is a table, return a table composed of the maximum in each column of X.
For two inputs:
If Y is a scalar, compare it with each element in X, replace the element in X with the larger value.
If Y and X are of the same type and length, compare the corresponding elements of them and return a result containing each larger value.