You are here

class UnitsMathematicalOperatorLinear in Units of Measurement 7.2

Implementation of "mathematical operator" interface for a linear operation.

Implementation of "mathematical operator" interface for a linear mathematical operation.

Hierarchy

Expanded class hierarchy of UnitsMathematicalOperatorLinear

7 string references to 'UnitsMathematicalOperatorLinear'
add.inc in plugins/operator/add.inc
divide.inc in plugins/operator/divide.inc
exponent.inc in plugins/operator/exponent.inc
multiply.inc in plugins/operator/multiply.inc
subtract.inc in plugins/operator/subtract.inc

... See full list

File

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

View source
class UnitsMathematicalOperatorLinear extends AbstractUnitsMathematicalOperator {

}

Members

Namesort descending Modifiers Type Description Overrides
AbstractUnitsMathematicalOperator::$operand1 protected property Operand #1 of this mathematical expression.
AbstractUnitsMathematicalOperator::$operand2 protected property Operand #2 of this mathematical expression.
AbstractUnitsMathematicalOperator::$operator protected property Definition of the underlying cTools 'operator' plugin.
AbstractUnitsMathematicalOperator::containsDimensionlessMember public function Test whether this mathematical expression includes a dimensionless member. Overrides UnitsMathematicalExpression::containsDimensionlessMember
AbstractUnitsMathematicalOperator::decompose public function Decompose (simplify) this mathematical expression. Overrides UnitsMathematicalExpression::decompose 1
AbstractUnitsMathematicalOperator::dimension public function Determine physical dimension of this mathematical expression. Overrides UnitsMathematicalExpression::dimension 1
AbstractUnitsMathematicalOperator::evaluate public function Numerically evaluate this mathematical expression. Overrides UnitsMathematicalExpression::evaluate 1
AbstractUnitsMathematicalOperator::evaluateOperands protected function Numerically evaluate both operands and return them as an array.
AbstractUnitsMathematicalOperator::formatQuantity public function Format a certain amount of quantity within this mathematical expression. Overrides UnitsMathematicalExpression::formatQuantity 1
AbstractUnitsMathematicalOperator::isLinear public function Whether this expression is linearly decomposable. Overrides UnitsMathematicalExpression::isLinear 1
AbstractUnitsMathematicalOperator::isolateOperand public function Numerically isolate a certain operand of this mathematical expression. Overrides UnitsMathematicalOperatorInterface::isolateOperand
AbstractUnitsMathematicalOperator::operand1 public function Retrieve operand #1 from this mathematical operator. Overrides UnitsMathematicalOperatorInterface::operand1
AbstractUnitsMathematicalOperator::operand2 public function Retrieve operand #2 from this mathematical operator. Overrides UnitsMathematicalOperatorInterface::operand2
AbstractUnitsMathematicalOperator::toInfix public function Represent this mathematical expression in human-friendly infix notation. Overrides UnitsMathematicalExpression::toInfix
AbstractUnitsMathematicalOperator::toPostfix public function Represent this mathematical expression in postfix notation. Overrides UnitsMathematicalExpression::toPostfix
AbstractUnitsMathematicalOperator::unitsMathematicalExpressionSave public function Save the mathematical expression into database. Overrides UnitsMathematicalExpression::unitsMathematicalExpressionSave
AbstractUnitsMathematicalOperator::__construct public function UnitsOperatorMathematicalExpression constructor. 1