Package | Description |
---|---|
ptolemy.math |
Math classes.
|
ptolemy.math.test |
The ptolemy.math.test package.
|
Modifier and Type | Method and Description |
---|---|
static Complex[][] |
ComplexMatrixMath.applyBinaryOperation(ComplexBinaryOperation op,
Complex[][] matrix,
Complex z)
Return a new matrix that is formed by applying an instance of
a ComplexBinaryOperation to each element in the input matrix,
using z as the right argument in all cases and the
matrix elements as the left arguments
(op.operate(matrix[i][j], z)).
|
static Complex[][] |
ComplexMatrixMath.applyBinaryOperation(ComplexBinaryOperation op,
Complex[][] matrix1,
Complex[][] matrix2)
Return a new matrix that is formed by applying an instance of a
ComplexBinaryOperation to the two matrices, element by element,
using the elements of the first matrix as the left operands and the
elements of the second matrix as the right operands.
|
static Complex[] |
ComplexArrayMath.applyBinaryOperation(ComplexBinaryOperation op,
Complex[] array,
Complex z)
Return a new array that is formed by applying an instance of a
ComplexBinaryOperation to each element in the input array,
using z as the right operand in all cases and the array elements
as the left operands (op.operate(array[i], z)).
|
static Complex[] |
ComplexArrayMath.applyBinaryOperation(ComplexBinaryOperation op,
Complex[] array1,
Complex[] array2)
Return a new array that is formed by applying an instance of a
ComplexBinaryOperation to the two arrays, element by element,
using the elements of the first array as the left operands and the
elements of the second array as the right operands.
|
static Complex[] |
ComplexArrayMath.applyBinaryOperation(ComplexBinaryOperation op,
Complex z,
Complex[] array)
Return a new array that is formed by applying an instance of a
ComplexBinaryOperation to each element in the input array,
using z as the left argument to op in all cases and
the array elements as the right arguments (op.operate(z, array[i])).
|
static Complex[][] |
ComplexMatrixMath.applyBinaryOperation(ComplexBinaryOperation op,
Complex z,
Complex[][] matrix)
Return a new matrix that is formed by applying an instance of
a ComplexBinaryOperation to each element in the input matrix,
using z as the left argument in all cases and the
matrix elements as the right arguments (z,
op.operate(matrix[i][j])).
|
Modifier and Type | Class and Description |
---|---|
class |
TestComplexBinaryOperation
A operation taking one argument of type Complex, and producing a value of
type Complex.
|