VECTOR_MAX
Download Flojoy Studio to try this app
  
 The VECTOR_MAX node returns the maximum value from the Vector.   Params:    v : Vector  The input vector to find the max of.     Returns:    out : Scalar  The maximum value found from the input vector    
Python Code
import numpy as np
from flojoy import flojoy, Vector, Scalar
@flojoy
def VECTOR_MAX(default: Vector) -> Scalar:
    """The VECTOR_MAX node returns the maximum value from the Vector.
    Parameters
    ----------
    v : Vector
        The input vector to find the max of.
    Returns
    -------
    Scalar
        The maximum value found from the input vector
    """
    return Scalar(c=np.max(default.v))
Example App
Having problems with this example app? Join our Discord community and we will help you out!
In this example, we generate a vector starting from 8 and ending at 50 by using a LINSPACE node. Then a VECTOR_MAX node is connected to the example vector where it will find the maximum value and the one below will find the minimum value. The value is visualized with BIG_NUMBER node.