U - the Unit typeA - the absolute typeR - the corresponding relative typepublic interface FunctionsAbs<U extends Unit<U>,A extends Absolute & Value<U>,R extends Relative & Value<U>>
Copyright (c) 2013-2015 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See OpenTrafficSim License.
| Modifier and Type | Method and Description |
|---|---|
R |
minus(A abs)
Subtract an Absolute value from this Absolute value for a vector or matrix.
|
A |
minus(R rel)
Subtract a Relative value from this Absolute value for a vector or matrix.
|
A |
plus(R rel)
Add a Relative value to this Absolute value for a vector or matrix.
|
A plus(R rel) throws ValueException
rel - R the right operandValueException - in case this vector and the operand have a different sizeA minus(R rel) throws ValueException
rel - R the right operandValueException - in case this vector and the operand have a different sizeR minus(A abs) throws ValueException
abs - A the right operandValueException - in case this vector and the operand have a different sizeCopyright © 2015 Delft University of Technology. All rights reserved.