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