# Back to Project Comments for units

14 Jun 2005 04:30

Re: non-linear?
A linear function is of the form f(x) = ax + b, while a linear transformation satisfies T(a + b) = T(a) + T(b). So the "function" is linear, but the "transformation" is not. Of course, the function and the transformation is the same, so it depends on the context which one applies. A transformation is obviously what the units developers had in mind, and that is probably natural given that units are transformed to other units.

20 Jun 2002 07:52

Re: non-linear?

> Fahrenheit &lt;-&gt; Celsius is a
> perfectly linear conversion:
>
> T[C] = (T[F]-32)/1.8

No, it is an affine transformation, not a linear one because of the constant offset. If F is a linear transformation then it must satisfy the property F(a+b)=F(a)+F(b). This is clearly false for the above temperature conversion. For example 32 degrees Fahrenheit is 0 degrees Celsius but 32+32=64 degrees Fahrenheit is not 0+0=0 degrees Celsius.

20 Jun 2002 04:21

non-linear?
Maybe this is nit-picking, but Fahrenheit &lt;-&gt; Celsius is a perfectly linear conversion:

T[C] = (T[F]-32)/1.8

non-linear would be Energy to Wavelength, for example.

## Project Spotlight

### linuxptp

A PTP implementation for Linux.

## Project Spotlight

### GNU ed

An 8-bit clean, POSIX-compliant line editor.