I ran into a problem with comparing two single-element array in a If statement.
I was trying to do something like:
If (A(0,0) > B(0,0)) {
...
} else {
...
}
Apparently, if does not recognize af:array type. Anyways to work around this issue without transferring the data to the host-side.
Many thanks.
Daniel