Biomech-Sim-Toolbox 1
Toolbox for movement simulation and analysis
|
Function to find differences between two elements. More...
Functions | |
function | compareElements (in element1, in element2, in diffTabIn, in elemPath) |
Function to find differences between data elements. | |
Function to find differences between two elements.
function compareElements | ( | in | element1, |
in | element2, | ||
in | diffTabIn, | ||
in | elemPath | ||
) |
Function to find differences between data elements.
This function will give you a fast overview what are the differences between two elements. For example, this is usefull to compare two simulation results.
It was implemented recursively. Hence, it is calling itself until it reaches for example a numeric value or a string. The tables containing the differences will be concatenated.
Warning:
element1 | Element of arbitrary class |
element2 | Element of arbitrary class |
diffTabIn | (optimal)Table: Differences which were already disconvered |
elemPath | (optimal)String: Path which was used to reach the element (e.g. test.name) |
diffTabIn | Table: Differences which were disconvered |