Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Transform a quantity into a different unit system
ResourceFunction["UnitSystemTransform"][quantity,unitsystem] transforms quantity into a product of combinations of the basis quantities of unitsystem. |
"PlanckUnits" | the Planck system without electrical units |
"NaturalUnits" | an extension to the Planck system that spans electrical units with the Von Klitzing constant |
"SIDefiningConstants" | the seven defining constants of the SI |
{q1,q2,…} | list of Quantity expressions with appropriate units |
"StoneyUnits" | the Stoney unit system, similar to the Planck unit system |
Convert to the Planck unit system:
In[1]:= |
Out[1]= |
In[2]:= |
Out[2]= |
Convert to a set of natural units:
In[3]:= |
Out[3]= |
Convert to the SI-defining constants:
In[4]:= |
Out[4]= |
Convert to Stoney units:
In[5]:= |
Out[5]= |
Convert to a custom combination of quantities:
In[6]:= |
Out[6]= |
Find multiple equivalent forms:
In[7]:= |
Out[7]= |
If the basis doesn't span the dimensions of the input, the output will be an empty list:
In[8]:= |
Out[8]= |
This work is licensed under a Creative Commons Attribution 4.0 International License