a gmp matrix as a function's argument

juneco@quartz.ocn.ne.jp juneco at quartz.ocn.ne.jp
Thu Jun 23 21:18:44 CEST 2005


(Wrong)> void fill_vector(mpq_t w[][]){
(Right)> void fill_vector(mpq_t w[][2]){

Please refer to, for example, "What methods for passing a 2D array to a 
subroutine are allowed?" on http://www.ibiblio.org/pub/languages/fortran/append-c.html



More information about the gmp-discuss mailing list