public function UnitsMathematicalOperatorNonLinear::isLinear in Units of Measurement 7.2
Whether this expression is linearly decomposable.
Return value
bool Whether this expression is linearly decomposable, i.e. its decomposition can be plugged in into another mathematical expression via multiplication without losing sense
Overrides AbstractUnitsMathematicalOperator::isLinear
File
- ./
units.module, line 1701 - Provide API for managing and converting units of measurement.
Class
- UnitsMathematicalOperatorNonLinear
- Implementation of "mathematical operator" interface for non-linear operation.
Code
public function isLinear() {
return FALSE;
}