sf.math.pow¶
- math.pow(y)¶
Returns \(x^y\). Broadcasts
xandyif necessary. :type x:ndarray[Tuple[int,...],Union[TypeVar(R,float16,float32,float64),TypeVar(C,complex64,complex128),TypeVar(Z,int16,int32,int64),TypeVar(N,uint16,uint32,uint64)]] :param x: The base :type y:ndarray[Tuple[int,...],Union[TypeVar(R,float16,float32,float64),TypeVar(C,complex64,complex128),TypeVar(Z,int16,int32,int64),TypeVar(N,uint16,uint32,uint64)]] :param y: The exponent- Return type:
ndarray[Tuple[int,...],Union[TypeVar(R,float16,float32,float64),TypeVar(C,complex64,complex128),TypeVar(Z,int16,int32,int64),TypeVar(N,uint16,uint32,uint64)]]- Returns:
The \(x^y\)
code/api/mrmustard.math.pow
Download Python script
Download Notebook
View on GitHub