Bug 79845 - Package info (from rpmquery -i) incorrect
Package info (from rpmquery -i) incorrect
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: units (Show other bugs)
8.0
All Linux
low Severity low
: ---
: ---
Assigned To: Harald Hoyer
Ben Levenson
:
: 100404 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-12-17 09:19 EST by Need Real Name
Modified: 2005-10-31 17:00 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-11-09 14:03:03 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Need Real Name 2002-12-17 09:19:10 EST
Description of problem:
The 'units' package description states that the program "can only handle
multiplicative scale changes" whereas the man page states that that is not the
case, and even gives an example (which works) to contradict that.

Version-Release number of selected component (if applicable):
1.74-4

How reproducible:
rpmquery -i units
 
Actual results:
"Units can only handle multiplicative scale changes (i.e., it can not tell you
how to convert from Celsius to Fahrenheit, which requires an additive step in
addition to the multiplicative conversion)."

Expected results:
"The `units' program can handle multiplicative  scale  changes  as  well  as
nonlinear conversions such as Fahrenheit to Celsius."
Comment 1 Miloslav Trmac 2002-12-18 07:55:03 EST
Farenheit to Celsius definitely _is_ linear. It's just y = Ax +B.
Comment 2 Need Real Name 2002-12-18 13:57:56 EST
The point, in case it wasn't clear enough already, is that the two texts are
contradictory, and that the package description would lead one to believe that
it cannot be used for that type of conversion -- whereas it can.
Comment 3 Harald Hoyer 2003-01-07 11:01:35 EST
fixed in 1.80-3
Comment 4 petrosyan 2003-05-24 15:25:52 EDT
A linear transformation T has the property that T(x+z)=T(x)+T(z).
(That's part of the definition of linear transformation.)  If you try
your form T(x)=ax+b you'll find that T(x)+T(z)=ax+b+az+b=a(x+z)+2b but
T(x+z)=a(x+z)+b.  So the property does NOT hold, and hence the form
T(x)=ax+b is NOT a linear transformation.  The Fahrenheit to Celsius
transformation y=ax+b is an affine transformation.


http://mathworld.wolfram.com/LinearTransformation.html
http://mathworld.wolfram.com/AffineTransformation.html
http://algebra.math.ust.hk/matrix_linear_trans/02_linear_transform/lecture3.shtml
http://www.instantweb.com/foldoc/foldoc.cgi?affine+transformation
Comment 5 Harald Hoyer 2003-08-05 04:03:04 EDT
*** Bug 100404 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.