Defines a new unit.
Namespace:
Imsl.Math
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
public static void DefineUnit( string name, Physical magnitude ) |
Visual Basic (Declaration) |
---|
Public Shared Sub DefineUnit ( _ name As String, _ magnitude As Physical _ ) |
Visual C++ |
---|
public: static void DefineUnit( String^ name, Physical magnitude ) |
Parameters
- name
- Type: System..::.String
A String specifying the name of the unit to be defined.
- magnitude
- Type: Imsl.Math..::.Physical
A Physical object defining the value of one unit in terms of SI units.