Skip to main content
added 4 characters in body
Source Link

So I've just installed the trial version of MathematicaMathematica 9. The first noticeable feature for me is the new built-in physical units. I used AutomaticUnits package before,before; it was almost perfect except that its units aren't usable inside many other functions. ButThe new units can be used everywhere, but I can't yet figure out how to implement new units and unit systems or override anthe old ones. It would be great to have a way to convert units to CGS system.

For reference, that's what I usually do using AutomaticUnits:

Needs["AutomaticUnits`"];
UnitSet["cgs"] = {Centimeter,Gram,Second,Statcoulomb,Statcoulomb/Second};
DeclareUnit["statC", Erg^(1/2) Centimeter^(1/2)];
toCGS[x_] := 
 Convert[Convert[x, "cgs"] /. {"Statcoulomb" -> statC}, "cgs"]

So I've just installed the trial version of Mathematica 9. The first noticeable feature for me is the new built-in physical units. I used AutomaticUnits package before, it was almost perfect except that its units aren't usable inside many other functions. But new units can be used everywhere but I can't yet figure out how to implement new units and unit systems or override an old ones. It would be great to have a way to convert units to CGS system.

For reference, that's what I usually do using AutomaticUnits:

Needs["AutomaticUnits`"];
UnitSet["cgs"] = {Centimeter,Gram,Second,Statcoulomb,Statcoulomb/Second};
DeclareUnit["statC", Erg^(1/2) Centimeter^(1/2)];
toCGS[x_] := 
 Convert[Convert[x, "cgs"] /. {"Statcoulomb" -> statC}, "cgs"]

So I've just installed the trial version of Mathematica 9. The first noticeable feature for me is the new built-in physical units. I used AutomaticUnits package before; it was almost perfect except that its units aren't usable inside many other functions. The new units can be used everywhere, but I can't yet figure out how to implement new units and unit systems or override the old ones. It would be great to have a way to convert units to CGS system.

For reference, that's what I usually do using AutomaticUnits:

Needs["AutomaticUnits`"];
UnitSet["cgs"] = {Centimeter,Gram,Second,Statcoulomb,Statcoulomb/Second};
DeclareUnit["statC", Erg^(1/2) Centimeter^(1/2)];
toCGS[x_] := 
 Convert[Convert[x, "cgs"] /. {"Statcoulomb" -> statC}, "cgs"]
Tweeted twitter.com/#!/StackMma/status/274373180364308481
Rollback to Revision 5
Link
rm -rf
  • 89.3k
  • 21
  • 297
  • 479
edited tags
Link
Dr. belisarius
  • 116.2k
  • 13
  • 205
  • 456
edited tags
Link
rcollyer
  • 34.1k
  • 7
  • 94
  • 194
Loading
added 321 characters in body
Source Link
swish
  • 8k
  • 1
  • 28
  • 50
Loading
edited tags
Link
DavidC
  • 16.8k
  • 1
  • 42
  • 94
Loading
remove unnecessary version-9 tag.
Link
Brett Champion
  • 20.9k
  • 2
  • 65
  • 122
Loading
Source Link
swish
  • 8k
  • 1
  • 28
  • 50
Loading