SciPy

scipy.constants.C2F

scipy.constants.C2F(C)[source]

Convert Celsius to Fahrenheit

Parameters :

C : array_like

Celsius temperature(s) to be converted.

Returns :

F : float or array of floats

Equivalent Fahrenheit temperature(s).

Notes

Computes F = 1.8 * C + 32.

Examples

>>> from scipy.constants.constants import C2F
>>> C2F(_np.array([-40, 40.0]))
array([ -40.,  104.])

Previous topic

scipy.constants.F2C

Next topic

scipy.constants.F2K