sqrt_matrix T_sqrt_matrix SqrtMatrix SqrtMatrix sqrt_matrix (Operator)
Name
sqrt_matrix T_sqrt_matrix SqrtMatrix SqrtMatrix sqrt_matrix
— Compute the square root values of the elements of a matrix.
Signature
def sqrt_matrix (matrix_id : HHandle) -> HHandle
Description
The operator sqrt_matrix sqrt_matrix SqrtMatrix SqrtMatrix SqrtMatrix sqrt_matrix
computes the square root values of
all elements of the input Matrix Matrix Matrix Matrix matrix matrix
given by the matrix handle
MatrixID MatrixID MatrixID MatrixID matrixID matrix_id
. A new matrix MatrixSqrt MatrixSqrt MatrixSqrt MatrixSqrt matrixSqrt matrix_sqrt
is generated
with the result. The operator returns the matrix handle
MatrixSqrtID MatrixSqrtID MatrixSqrtID MatrixSqrtID matrixSqrtID matrix_sqrt_id
of the matrix MatrixSqrt MatrixSqrt MatrixSqrt MatrixSqrt matrixSqrt matrix_sqrt
. Access
to the elements of the matrix is possible e.g. with the operator
get_full_matrix get_full_matrix GetFullMatrix GetFullMatrix GetFullMatrix get_full_matrix
. The formula for the calculation of the
result is:
Example:
Execution Information
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
Multithreading scope: global (may be called from any thread).
Processed without parallelization.
Parameters
MatrixID MatrixID MatrixID MatrixID matrixID matrix_id
(input_control) matrix →
HMatrix , HTuple HHandle HTuple Htuple (handle) (IntPtr ) (HHandle ) (handle )
Matrix handle of the input matrix.
MatrixSqrtID MatrixSqrtID MatrixSqrtID MatrixSqrtID matrixSqrtID matrix_sqrt_id
(output_control) matrix →
HMatrix , HTuple HHandle HTuple Htuple (handle) (IntPtr ) (HHandle ) (handle )
Matrix handle with the square root values of the
input matrix.
Result
If the parameters are valid, the operator sqrt_matrix sqrt_matrix SqrtMatrix SqrtMatrix SqrtMatrix sqrt_matrix
returns
the value 2 (H_MSG_TRUE). If necessary, an exception is raised.
Possible Predecessors
create_matrix create_matrix CreateMatrix CreateMatrix CreateMatrix create_matrix
Possible Successors
get_full_matrix get_full_matrix GetFullMatrix GetFullMatrix GetFullMatrix get_full_matrix
,
get_value_matrix get_value_matrix GetValueMatrix GetValueMatrix GetValueMatrix get_value_matrix
Alternatives
sqrt_matrix_mod sqrt_matrix_mod SqrtMatrixMod SqrtMatrixMod SqrtMatrixMod sqrt_matrix_mod
See also
pow_scalar_element_matrix pow_scalar_element_matrix PowScalarElementMatrix PowScalarElementMatrix PowScalarElementMatrix pow_scalar_element_matrix
,
pow_scalar_element_matrix_mod pow_scalar_element_matrix_mod PowScalarElementMatrixMod PowScalarElementMatrixMod PowScalarElementMatrixMod pow_scalar_element_matrix_mod
Module
Foundation