Skip to content
  • Moritz Boeck's avatar
    f7683dd2
    function associate_arrays added · f7683dd2
    Moritz Boeck authored and Manfred Hanke's avatar Manfred Hanke committed
    For each element of an array A[i] this function searches the element B[j]
    (of a second array) with the smallest difference to A[i].
    It returns the index j as associate_arrays(A,B).index[i]
    and the corresponding difference in addition.
    f7683dd2
    function associate_arrays added
    Moritz Boeck authored and Manfred Hanke's avatar Manfred Hanke committed
    For each element of an array A[i] this function searches the element B[j]
    (of a second array) with the smallest difference to A[i].
    It returns the index j as associate_arrays(A,B).index[i]
    and the corresponding difference in addition.
Loading