Package | Description |
---|---|
ptolemy.math |
Math classes.
|
ptolemy.math.test |
The ptolemy.math.test package.
|
Modifier and Type | Method and Description |
---|---|
static long[] |
LongArrayMath.applyUnaryOperation(LongUnaryOperation op,
long[] array)
Return a new array that is formed by applying an instance of a
LongUnaryOperation to each element in the input array
(op.operate(array[i])).
|
static long[][] |
LongMatrixMath.applyUnaryOperation(LongUnaryOperation op,
long[][] matrix)
Return a new array that is formed by applying an instance of a
LongUnaryOperation to each element in the input matrix
(op.operate(matrix[i][j])).
|
Modifier and Type | Class and Description |
---|---|
class |
TestLongUnaryOperation
A operation taking one argument of type long, and producing a value of
type long.
|