You are here

public function UnitsMathematicalOperatorNonLinear::dimension in Units of Measurement 7.2

Determine physical dimension of this mathematical expression.

Return value

array Dimension array of this mathematical expression

Overrides AbstractUnitsMathematicalOperator::dimension

File

./units.module, line 1631
Provide API for managing and converting units of measurement.

Class

UnitsMathematicalOperatorNonLinear
Implementation of "mathematical operator" interface for non-linear operation.

Code

public function dimension() {
  return $this
    ->nonLinearMember()
    ->dimension();
}