repeat_matrixT_repeat_matrixRepeatMatrixRepeatMatrix (Operator)

Name

repeat_matrixT_repeat_matrixRepeatMatrixRepeatMatrix — Wiederhole eine Matrix.

Signatur

repeat_matrix( : : MatrixID, Rows, Columns : MatrixRepeatedID)

Herror T_repeat_matrix(const Htuple MatrixID, const Htuple Rows, const Htuple Columns, Htuple* MatrixRepeatedID)

void RepeatMatrix(const HTuple& MatrixID, const HTuple& Rows, const HTuple& Columns, HTuple* MatrixRepeatedID)

HMatrix HMatrix::RepeatMatrix(Hlong Rows, Hlong Columns) const

static void HOperatorSet.RepeatMatrix(HTuple matrixID, HTuple rows, HTuple columns, out HTuple matrixRepeatedID)

HMatrix HMatrix.RepeatMatrix(int rows, int columns)

Beschreibung

Der Operator repeat_matrixrepeat_matrixRepeatMatrixRepeatMatrixRepeatMatrix erstellt die neue Matrix MatrixRepeatedMatrixRepeatedMatrixRepeatedMatrixRepeatedmatrixRepeated und kopiert alle Elemente der Eingabematrix MatrixMatrixMatrixMatrixmatrix n mal in die neue Matrix, wobei n = RowsRowsRowsRowsrows * ColumnsColumnsColumnsColumnscolumns. Die neue Matrix hat als Dimensionen RowsRowsRowsRowsrows * Zeilen der Eingabematrix MatrixMatrixMatrixMatrixmatrix und ColumnsColumnsColumnsColumnscolumns * Spalten der Eingabematrix MatrixMatrixMatrixMatrixmatrix. Die Eingabematrix ist durch das Matrix Handle MatrixIDMatrixIDMatrixIDMatrixIDmatrixID definiert. Der Operator gibt das Matrix Handle MatrixRepeatedIDMatrixRepeatedIDMatrixRepeatedIDMatrixRepeatedIDmatrixRepeatedID der Matrix MatrixRepeatedMatrixRepeatedMatrixRepeatedMatrixRepeatedmatrixRepeated zurück. Zugriff auf die Elemente der Matrix ist z.B. mit dem Operator get_full_matrixget_full_matrixGetFullMatrixGetFullMatrixGetFullMatrix möglich.

Ausführungsinformationen

Parameter

MatrixIDMatrixIDMatrixIDMatrixIDmatrixID (input_control)  matrix HMatrix, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Matrix Handle der Eingabematrix.

RowsRowsRowsRowsrows (input_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Anzahl der Kopien der Matrix in Zeilenrichtung.

Defaultwert: 2

Wertevorschläge: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20

Restriktion: Rows >= 1

ColumnsColumnsColumnsColumnscolumns (input_control)  integer HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Anzahl der Kopien der Matrix in Spaltenrichtung.

Defaultwert: 2

Wertevorschläge: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 20

Restriktion: Columns >= 1

MatrixRepeatedIDMatrixRepeatedIDMatrixRepeatedIDMatrixRepeatedIDmatrixRepeatedID (output_control)  matrix HMatrix, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Matrix Handle der mehrfach kopierten Matrix.

Ergebnis

Sind die Parameterwerte korrekt, dann liefert repeat_matrixrepeat_matrixRepeatMatrixRepeatMatrixRepeatMatrix den Wert 2 (H_MSG_TRUE). Gegebenenfalls wird eine Fehlerbehandlung durchgeführt.

Vorgänger

create_matrixcreate_matrixCreateMatrixCreateMatrixCreateMatrix

Nachfolger

get_full_matrixget_full_matrixGetFullMatrixGetFullMatrixGetFullMatrix, get_value_matrixget_value_matrixGetValueMatrixGetValueMatrixGetValueMatrix

Siehe auch

copy_matrixcopy_matrixCopyMatrixCopyMatrixCopyMatrix

Modul

Foundation