
#include <stdio.h>

void scilab_rt_champ1_i2d2i2d2d0d2s0_(int in00, int in01, int matrixin0[in00][in01], 
    int in10, int in11, double matrixin1[in10][in11], 
    int in20, int in21, int matrixin2[in20][in21], 
    int in30, int in31, double matrixin3[in30][in31], 
    double scalarin0, 
    int in40, int in41, double matrixin4[in40][in41], 
    char* scalarin1)
{
  int i;
  int j;

  int val0 = 0;
  double val1 = 0;
  int val2 = 0;
  double val3 = 0;
  double val4 = 0;
  for (i = 0; i < in00; ++i) {
    for (j = 0; j < in01; ++j) {
      val0 += matrixin0[i][j];
    }
  }
  printf("%d", val0);

  for (i = 0; i < in10; ++i) {
    for (j = 0; j < in11; ++j) {
      val1 += matrixin1[i][j];
    }
  }
  printf("%f", val1);

  for (i = 0; i < in20; ++i) {
    for (j = 0; j < in21; ++j) {
      val2 += matrixin2[i][j];
    }
  }
  printf("%d", val2);

  for (i = 0; i < in30; ++i) {
    for (j = 0; j < in31; ++j) {
      val3 += matrixin3[i][j];
    }
  }
  printf("%f", val3);

  printf("%f", scalarin0);

  for (i = 0; i < in40; ++i) {
    for (j = 0; j < in41; ++j) {
      val4 += matrixin4[i][j];
    }
  }
  printf("%f", val4);

  printf("%s", scalarin1);

}
