pow_scalar_element_matrix_modT_pow_scalar_element_matrix_modPowScalarElementMatrixModPowScalarElementMatrixModpow_scalar_element_matrix_mod — Compute the power functions of the elements of a matrix.
Signature
pow_scalar_element_matrix_mod( : : MatrixID, Power : )
The operator pow_scalar_element_matrix_modpow_scalar_element_matrix_modPowScalarElementMatrixModPowScalarElementMatrixModpow_scalar_element_matrix_mod computes the
power of all elements of the input Matrix by a constant
value. The input Matrix is given by the matrix handle
MatrixIDMatrixIDMatrixIDmatrixIDmatrix_id. The power value is given by the parameter
PowerPowerPowerpowerpower. The input matrix is overwritten with the result.
Access to the elements of the matrix is possible e.g., with the
operator get_full_matrixget_full_matrixGetFullMatrixGetFullMatrixget_full_matrix. The formula for the calculation
of the result is:
If the parameters are valid, the operator
pow_scalar_element_matrix_modpow_scalar_element_matrix_modPowScalarElementMatrixModPowScalarElementMatrixModpow_scalar_element_matrix_mod returns the value 2 (
H_MSG_TRUE)
.
If necessary, an exception is raised.