copy_matrix T_copy_matrix CopyMatrix CopyMatrix copy_matrix (Operator)
Name
copy_matrix T_copy_matrix CopyMatrix CopyMatrix copy_matrix — Kopiert eine Matrix.
Signatur
def copy_matrix (matrix_id : HHandle) -> HHandle
Beschreibung
Der Operator copy_matrix copy_matrix CopyMatrix CopyMatrix CopyMatrix copy_matrix erstellt die neue Matrix
MatrixCopy und kopiert alle Elemente der Eingabematrix
Matrix in die neue Matrix. Die Eingabematrix ist durch das
Matrix Handle MatrixID MatrixID MatrixID MatrixID matrixID matrix_id definiert. Der Operator gibt das
Matrix Handle MatrixCopyID MatrixCopyID MatrixCopyID MatrixCopyID matrixCopyID matrix_copy_id der Matrix MatrixCopy
zurück. Zugriff auf die Elemente der Matrix ist z.B. mit dem
Operator get_full_matrix get_full_matrix GetFullMatrix GetFullMatrix GetFullMatrix get_full_matrix möglich.
Mit diesem Operator kann eine Matrix gesichert werden,
bevor die Matrix von den Operatoren set_value_matrix set_value_matrix SetValueMatrix SetValueMatrix SetValueMatrix set_value_matrix ,
set_full_matrix set_full_matrix SetFullMatrix SetFullMatrix SetFullMatrix set_full_matrix , set_sub_matrix set_sub_matrix SetSubMatrix SetSubMatrix SetSubMatrix set_sub_matrix oder
set_diagonal_matrix set_diagonal_matrix SetDiagonalMatrix SetDiagonalMatrix SetDiagonalMatrix set_diagonal_matrix verändert wird.
Beispiel:
Ausführungsinformationen
Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
Wird ohne Parallelisierung verarbeitet.
Parameter
MatrixID MatrixID MatrixID MatrixID matrixID matrix_id (input_control) matrix → HMatrix , HTuple HHandle HTuple Htuple (handle) (IntPtr ) (HHandle ) (handle )
Matrix Handle der Eingabematrix.
MatrixCopyID MatrixCopyID MatrixCopyID MatrixCopyID matrixCopyID matrix_copy_id (output_control) matrix → HMatrix , HTuple HHandle HTuple Htuple (handle) (IntPtr ) (HHandle ) (handle )
Matrix Handle der kopierten Matrix.
Ergebnis
Sind die Parameterwerte korrekt, dann liefert copy_matrix copy_matrix CopyMatrix CopyMatrix CopyMatrix copy_matrix
den Wert 2 (H_MSG_TRUE ). Gegebenenfalls wird eine Fehlerbehandlung
durchgeführt.
Vorgänger
create_matrix create_matrix CreateMatrix CreateMatrix CreateMatrix create_matrix
Nachfolger
get_full_matrix get_full_matrix GetFullMatrix GetFullMatrix GetFullMatrix get_full_matrix ,
get_value_matrix get_value_matrix GetValueMatrix GetValueMatrix GetValueMatrix get_value_matrix
Alternativen
repeat_matrix repeat_matrix RepeatMatrix RepeatMatrix RepeatMatrix repeat_matrix
Modul
Foundation