IsMNMatrix: Unterschied zwischen den Versionen

Aus JACK Wiki
Zur Navigation springen Zur Suche springen
Zeile 3: Zeile 3:


===Syntax===
===Syntax===
  <math>isMNMatrix(a, b, c)</math>
  isMNMatrix(a, b, c)


===Parameter===
===Parameter===

Version vom 18. September 2018, 10:23 Uhr

Beschreibung

isMNMatrix gibt wahr(true) zurück falls der erste Parameter eine Matrix ist und der zweite und dritte Parameter die Dimensionen der Matrix entsprechen, nicht wahr(false) ansonst.

Syntax

isMNMatrix(a, b, c)

Parameter

  • a - Matrix
  • b - M (Anzahl der Zeilen)
  • c - N (Anzahl der Spalten)

Return Value

  • Gibt True oder False zurück.

Beispiele

isMNMatrix(matrix(matrixrow(0,1),matrixrow(2,3),matrixrow(4,5)),3,2)    --> returns True

isMNMatrix(matrix(matrixrow(0,1),matrixrow(2,3),matrixrow(4,5)),2,3)    --> returns False

isMNMatrix(2,3,4)    --> returns False