You are here

public function UnitsMathematicalOperatorNonLinear::linearMember in Units of Measurement 7.2

Fetch the linear member of the non-linear operator.

Return value

\UnitsConstantMathematicalExpression The linear member of the non-linear operator, which is always a constant

File

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

Class

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

Code

public function linearMember() {
  return $this->operand1;
}