Bonjour,
Est-il possible qu'une fonction renvoie un tableau en sortie ?
voici un exemple que j'aimerai bien faire marcher :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
double complex Ax[N] (int N, double complex A[N][N], double complex x[N])
{
       int i, j;
       double complex sumAx;
       for (i = 0; i < N; i++){
         sumAx = 0;
         for (j = 0; j < N; j++){
             sumAx += A[i][j] * x[j];
         }
         Axc[iAx] = sumAx;
       }
       return(Ax);
D'avance merci