1 | /* |
---|
2 | * ====================================================================== |
---|
3 | * Copyright (c) 2004-2005 Purdue Research Foundation |
---|
4 | * |
---|
5 | * See the file "license.terms" for information on usage and |
---|
6 | * redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. |
---|
7 | * ====================================================================== |
---|
8 | */ |
---|
9 | |
---|
10 | #ifdef __cplusplus |
---|
11 | extern "C" { |
---|
12 | #endif |
---|
13 | |
---|
14 | double invert (double inVal); |
---|
15 | |
---|
16 | double deci2base (double deci); |
---|
17 | double centi2base (double centi); |
---|
18 | double milli2base (double milli); |
---|
19 | double micro2base (double micro); |
---|
20 | double nano2base (double nano); |
---|
21 | double pico2base (double pico); |
---|
22 | double femto2base (double femto); |
---|
23 | double atto2base (double atto); |
---|
24 | |
---|
25 | double deca2base (double deca); |
---|
26 | double hecto2base (double hecto); |
---|
27 | double kilo2base (double kilo); |
---|
28 | double mega2base (double mega); |
---|
29 | double giga2base (double giga); |
---|
30 | double tera2base (double tera); |
---|
31 | double peta2base (double peta); |
---|
32 | double exa2base (double exa); |
---|
33 | |
---|
34 | |
---|
35 | |
---|
36 | double base2deci (double base); |
---|
37 | double base2centi (double base); |
---|
38 | double base2milli (double base); |
---|
39 | double base2micro (double base); |
---|
40 | double base2nano (double base); |
---|
41 | double base2pico (double base); |
---|
42 | double base2femto (double base); |
---|
43 | double base2atto (double base); |
---|
44 | |
---|
45 | double base2deca (double base); |
---|
46 | double base2hecto (double base); |
---|
47 | double base2kilo (double base); |
---|
48 | double base2mega (double base); |
---|
49 | double base2giga (double base); |
---|
50 | double base2tera (double base); |
---|
51 | double base2peta (double base); |
---|
52 | double base2exa (double base); |
---|
53 | |
---|
54 | |
---|
55 | |
---|
56 | double angstrom2meter (double angstrom); |
---|
57 | double meter2angstrom (double meter); |
---|
58 | double bohr2meter (double bohr); |
---|
59 | double meter2bohr (double meter); |
---|
60 | double meter2inch (double meter); |
---|
61 | double inch2meter (double inch); |
---|
62 | double inch2feet (double inch); |
---|
63 | double feet2inch (double ft); |
---|
64 | double inch2yard (double inch); |
---|
65 | double yard2inch (double yd); |
---|
66 | double inch2mile (double inch); |
---|
67 | double mile2inch (double yd); |
---|
68 | |
---|
69 | |
---|
70 | |
---|
71 | |
---|
72 | double fahrenheit2centigrade (double F); |
---|
73 | double centigrade2fahrenheit (double C); |
---|
74 | double centigrade2kelvin (double C); |
---|
75 | double kelvin2centigrade (double K); |
---|
76 | double rankine2kelvin (double R); |
---|
77 | double kelvin2rankine (double K); |
---|
78 | double fahrenheit2kelvin (double F); |
---|
79 | double kelvin2fahrenheit (double K); |
---|
80 | double fahrenheit2rankine (double F); |
---|
81 | double rankine2fahrenheit (double R); |
---|
82 | double rankine2celcius (double R); |
---|
83 | double celcius2rankine (double C); |
---|
84 | |
---|
85 | |
---|
86 | |
---|
87 | double electronVolt2joule (double eV); |
---|
88 | double joule2electronVolt (double J); |
---|
89 | |
---|
90 | |
---|
91 | |
---|
92 | |
---|
93 | double cubicMeter2usGallon (double m3); |
---|
94 | double usGallon2cubicMeter (double gal); |
---|
95 | double cubicFeet2usGallon (double ft3); |
---|
96 | double usGallon2cubicFeet (double gal); |
---|
97 | double cubicMeter2liter (double m3); |
---|
98 | double liter2cubicMeter (double L); |
---|
99 | |
---|
100 | |
---|
101 | double rad2deg (double rad); |
---|
102 | double deg2rad (double deg); |
---|
103 | double rad2grad (double rad); |
---|
104 | double grad2rad (double grad); |
---|
105 | double deg2grad (double deg); |
---|
106 | double grad2deg (double grad); |
---|
107 | |
---|
108 | |
---|
109 | |
---|
110 | double sec2min (double sec); |
---|
111 | double min2sec (double min); |
---|
112 | double sec2hour (double sec); |
---|
113 | double hour2sec (double hour); |
---|
114 | double sec2day (double sec); |
---|
115 | double day2sec (double day); |
---|
116 | |
---|
117 | |
---|
118 | |
---|
119 | |
---|
120 | double bar2Pa (double bar); |
---|
121 | double Pa2bar (double Pa); |
---|
122 | double bar2atm (double bar); |
---|
123 | double atm2bar (double atm); |
---|
124 | double bar2torr (double bar); |
---|
125 | double torr2bar (double torr); |
---|
126 | double bar2psi (double bar); |
---|
127 | double psi2bar (double psi); |
---|
128 | double Pa2atm (double Pa); |
---|
129 | double atm2Pa (double atm); |
---|
130 | double Pa2torr (double Pa); |
---|
131 | double torr2Pa (double torr); |
---|
132 | double Pa2psi (double Pa); |
---|
133 | double psi2Pa (double psi); |
---|
134 | double torr2atm (double torr); |
---|
135 | double atm2torr (double atm); |
---|
136 | double torr2psi (double torr); |
---|
137 | double psi2torr (double psi); |
---|
138 | double torr2mmHg (double torr); |
---|
139 | double mmHg2torr (double mmHg); |
---|
140 | double psi2atm (double psi); |
---|
141 | double atm2psi (double atm); |
---|
142 | |
---|
143 | |
---|
144 | |
---|
145 | double pH2pOH (double pH); |
---|
146 | double pOH2pH (double pOH); |
---|
147 | |
---|
148 | #ifdef __cplusplus |
---|
149 | } |
---|
150 | #endif |
---|