min_matrix
— Returns the elementwise minimum of a matrix.
min_matrix( : : MatrixID, MinType : MatrixMinID)
The operator min_matrix
returns the minimum values of the
elements of the Matrix
defined by the matrix handle
MatrixID
. A new matrix MatrixMin
is generated
with the result and the matrix handle MatrixMinID
of this
matrix is returned. Access to the elements of the matrix is
possible e.g., with the operator get_full_matrix
.
The type of minimum determination of the matrix can be selected via
the parameter MinType
:
The minimum is returned for
each column of the Matrix
separately. The resulting
matrix MatrixMin
has one row and the identical number of
columns as the input matrix.
Example:
The minimum is returned for
each row of the Matrix
separately. The resulting matrix
MatrixMin
has the identical number of rows as the input
matrix and one column.
Example:
The minimum is returned using
all elements of the Matrix
. The resulting matrix
MatrixMin
has one row and one column.
Example:
MatrixID
(input_control) matrix →
(handle)
Matrix handle of the input matrix.
MinType
(input_control) string →
(string)
Type of minimum determination.
Default value: 'columns'
List of values: 'columns' , 'full' , 'rows'
MatrixMinID
(output_control) matrix →
(handle)
Matrix handle with the minimum values of the input matrix.
If the parameters are valid, the operator min_matrix
returns
the value TRUE. If necessary, an exception is raised.
get_full_matrix
,
get_value_matrix
Foundation