Skip to content

Advice for calling a C function

1 message · Tuszynski, Jaroslaw W.

#
I think it is a problem with matrices in R and C being stored in different
row/column order
Swapping x[i][j] to x[j][i] should fix the problem. Sorry, I did not test
it.
Jarek
====================================================\=======

 Jarek Tuszynski, PhD.                           o / \ 
 Science Applications International Corporation  <\__,|  
 (703) 676-4192                                   ">   \
 Jaroslaw.W.Tuszynski at saic.com                     `    \