TestNumMatrix

From ApCoCoAWiki
Revision as of 17:54, 12 October 2009 by Jbrandt (talk | contribs) (New page: <command> <title>TestNumMatrix</title> <short_description>Compares two matrizes with numerical entries</short_description> <syntax> ApCoCoATest.TestNumMatrix(f: MAT, e: MAT, Eps: RAT):LIST...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

TestNumMatrix

Compares two matrizes with numerical entries

Syntax

ApCoCoATest.TestNumMatrix(f: MAT, e: MAT, Eps: RAT):LIST

Description

This function compares two matrizes with numerical entries. Every entry is compared via the function TestNumericalNumber.

  • @param Found: The first matrix

  • @param Expected: The second matrix

  • @param Eps: The allowed difference between two entries

  • @return A list. First entry is a boolean, its value is TRUE, if the test has been passed. If FALSE, the list contains also the two matrizes.

Example