public function UnitsMathematicalExpression::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 mathematical sense
3 methods override UnitsMathematicalExpression::isLinear()
- AbstractUnitsMathematicalOperator::isLinear in ./
units.module - Whether this expression is linearly decomposable.
- UnitsConstantMathematicalExpression::isLinear in ./
units.module - Whether this expression is linearly decomposable.
- UnitsEntity::isLinear in includes/
UnitsEntity.class.inc - Whether this expression is linearly decomposable.
File
- ./
units.module, line 1226 - Provide API for managing and converting units of measurement.
Class
- UnitsMathematicalExpression
- Interface of "mathematical expression".
Code
public function isLinear();