Return array type from applying slope, inter to array of in_type
Numpy type that results from an array of type in_type being combined with slope and inter. It returns something like the dtype type of ((np.zeros((2,), dtype=in_type) - inter) / slope), but ignoring the actual values of slope and inter.
Note that you would not necessarily get the same type by applying slope and inter the other way round. Also, you’ll see that the order in which slope and inter are applied is the opposite of the order in which they are passed.
Parameters : | in_type : numpy type specifier
slope : scalar, optional
inter : scalar, optional
|
---|---|
Returns : | wtype: numpy type :
|