IsMNMatrix: Unterschied zwischen den Versionen

Aus JACK Wiki
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „===Beschreibung=== ''isMNMatrix'' gibt wahr(true) zurück falls der erste Parameter eine Matrix ist und der zweite und dritte Parameter die Dimensionen der…“)
 
Zeile 14: Zeile 14:


===Beispiele===
===Beispiele===
  <math>isMNMatrix(matrix(matrixrow(0,1),matrixrow(2,3),matrixrow(4,5)),3,2)</math>   --> returns <math>True</math>
  isMNMatrix(matrix(matrixrow(0,1),matrixrow(2,3),matrixrow(4,5)),3,2)    --> returns True


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


  <math>isMNMatrix(2,3,4)</math>   --> returns <math>False</math>
  isMNMatrix(2,3,4)    --> returns False


[[Kategorie:Evaluatorfunktion]]
[[Kategorie:Evaluatorfunktion]][[Kategorie:Testfunktionen]]

Version vom 18. September 2018, 10:22 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

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

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