ScalarUnit Constructor

public ScalarUnit()

public ScalarUnit(const ScalarUnit &source)

 

Description

The ScalarUnit constructor creates a new instance of the ScalarUnit class.  The default constructor takes no arguments and produces a ScalarUnit equivalent to unity.  The second constructor is a copy-constructor, which produces a ScalarUnit with the same value as the ScalarUnit passed as argument.