IsMNMatrix: Unterschied zwischen den Versionen

Aus JACK Wiki
Zur Navigation springen Zur Suche springen
Keine Bearbeitungszusammenfassung
Zeile 16: Zeile 16:


===Beispiele===
===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)),3,2)    --> returns ''true''
   
   
  isMNMatrix(matrix(matrixrow(0,1),matrixrow(2,3),matrixrow(4,5)),2,3)    --> returns false
  isMNMatrix(matrix(matrixrow(0,1),matrixrow(2,3),matrixrow(4,5)),2,3)    --> returns ''false''
   
   
  isMNMatrix(2,3,4)    --> returns false
  isMNMatrix(2,3,4)    --> returns ''false''


===Hinweise===
===Hinweise===


[[Kategorie:Math-Evaluatorfunktion]][[Kategorie:lineare Algebra]][[Kategorie:Testfunktionen]]
[[Kategorie:Math-Evaluatorfunktion]][[Kategorie:lineare Algebra]][[Kategorie:Testfunktionen]]

Version vom 12. April 2024, 08:08 Uhr

Zugehörige Evaluatoren

  • MathEvaluator

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

Hinweise