This is documentation for an old release of SciPy (version 0.9.0). Read this page in the documentation of the latest stable release (version 1.15.0).

scipy.constants.C2F

scipy.constants.C2F(C)

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

This Page