Keeps track of the dimensions of a physical quantity using seven rational exponents. Each of the exponents corresponds to a dimension in the S.I. system of units.

Constructors

  • The Dimensions class captures the physical dimensions associated with a unit of measure.

    Parameters

    • M: QQ

      The mass component of the dimensions object.

    • L: QQ

      The length component of the dimensions object.

    • T: QQ

      The time component of the dimensions object.

    • Q: QQ

      The charge component of the dimensions object.

    • temperature: QQ

      The temperature component of the dimensions object.

    • amount: QQ

      The amount component of the dimensions object.

    • intensity: QQ

      The intensity component of the dimensions object.

    Returns Dimensions

Properties

L: QQ

The length component of the dimensions object.

M: QQ

The mass component of the dimensions object.

Q: QQ

The charge component of the dimensions object.

T: QQ

The time component of the dimensions object.

amount: QQ

The amount component of the dimensions object.

intensity: QQ

The intensity component of the dimensions object.

temperature: QQ

The temperature component of the dimensions object.

AMOUNT: Dimensions = ...
CHARGE: Dimensions = ...

Q1

CURRENT: Dimensions = ...

Q1T-1

INTENSITY: Dimensions = ...
LENGTH: Dimensions = ...

L1

MASS: Dimensions = ...

M1

ONE: Dimensions = ...

All exponents are zero, a dimensionless quantity.

TEMPERATURE: Dimensions = ...
TIME: Dimensions = ...

T1

Methods

  • Determines whether all the exponents of this dimensions number are zero. This implies a dimensionless quantity.

    Returns boolean

    true if all the exponents are zero, otherwise false.