compute the pairwise minimum of two arrays of samples
compute the pairwise maximum of two arrays of samples
Arrays of real numeric values; the signals
container : Array, predefined Array for holding result
The MinimumEvery(A, B) command computes the minimum of each pair A[k] and B[k], storing the minimum value in the corresponding k-th element of an Array with datatype float, which is then returned.
The MaximumEvery(A, B) command computes the maximum of each pair A[k] and B[k], storing the maximum value in the corresponding k-th element of an Array with datatype float, which is then returned.
The Vectors A and B must have the same number of elements.
Before the code performing the computation runs, A and B are converted to datatype float if they do not have that datatype already. For this reason, it is most efficient if A and B have this datatype beforehand.
If the container=C option is provided, then the results are put into C and C is returned. With this option, no additional memory is allocated to store the result. The container must be an Array of size N having datatype float, where N is the size of A and B.
The SignalProcessing[MinimumEvery] and SignalProcessing[MaximumEvery] commands are thread-safe as of Maple 17.
For more information on thread safety, see index/threadsafe.
a ≔ Array⁡1,2,3,4,5,'datatype'='float'8
b ≔ Array⁡5,4,3,2,1,'datatype'='float'8
C ≔ Array⁡1..5,'datatype'='float'8:
The SignalProcessing[MinimumEvery] and SignalProcessing[MaximumEvery] commands were introduced in Maple 17.
For more information on Maple 17 changes, see Updates in Maple 17.
Download Help Document
What kind of issue would you like to report? (Optional)