Interface UnitList

    • Method Detail

      • create

        Unit create​(java.lang.String name,
                    int[] dim)
        Creates a new additional unit.
        Parameters:
        name - Additional unit tag.
        dim - Power in terms of the seven base units.
        Returns:
        Created additional unit.
      • create

        Unit create​(java.lang.String name,
                    java.lang.String symbol,
                    java.lang.String quantity)
        Creates a base unit for a quantity. The unit list must be a base unit list.
        Parameters:
        name - Base unit tag.
        symbol - Base unit symbol.
        quantity - Physical quantity for the base unit.
        Returns:
        Created base unit.
      • create

        Unit create​(java.lang.String name,
                    java.lang.String[] units,
                    int[] powers)
        Creates a new derived unit.
        Parameters:
        name - Derived unit tag.
        units - Unit vector.
        powers - Powers in terms of unit vector.
        Returns:
        Created derived unit.