IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

C# Discussion :

temps d'exécution très long


Sujet :

C#

  1. #1
    Futur Membre du Club
    Profil pro
    Inscrit en
    Juin 2007
    Messages
    15
    Détails du profil
    Informations personnelles :
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Juin 2007
    Messages : 15
    Points : 6
    Points
    6
    Par défaut temps d'exécution très long
    Bonjour,
    J'ai écrit le programme suivant à partir d'un copier-coller de Java mais le temps d'execution est 20 fois plus long.
    Est-ce que quelqu'un saurait si c'est normal ou les moyens de l'améliorer?
    Merci pour votre aide.
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
     
                public class fonctions4
                {
     
                    /** Creates a new instance of fonctions4 */
     
                    public static double Ax(String table, int X, int an, double i)
                    {
     
                        double Ax = -10000000;
     
                        for (int j = 0; j < 1000; j++)
                        {
                            if (fonctions3.Dx(table, X, an, i) == 0) { Ax = 0; }
                            else { Ax = fonctions3.Mx(table, X, an, i) / fonctions3.Dx(table, X, an, i); }
                        }
                        return (Ax);
                    }
                }
    temps d'execution de la fonction Ax:

    nombre d'appels_______VBA______JAVA_______C#

    _______1_____________22_______48_______1031

    _______10____________28_______110______6459

    _______100___________271______205______61158

    _______1000__________2785_____708______608375

    _______10000_________26299 ____5805____XXXXXX

    Le temps d'execution est exprimé en millisecondes.

  2. #2
    Futur Membre du Club
    Profil pro
    Inscrit en
    Juin 2007
    Messages
    15
    Détails du profil
    Informations personnelles :
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Juin 2007
    Messages : 15
    Points : 6
    Points
    6
    Par défaut
    Petite précision sur le reste du code:
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    102
    103
    104
    105
    106
    107
    108
    109
    110
    111
    112
    113
    114
    115
    116
    117
    118
    119
    120
    121
    122
    123
    124
    125
    126
    127
    128
    129
    130
    131
    132
    133
    134
    135
    136
    137
    138
    139
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;
     
    namespace teste2
    {
        public partial class Form1 : Form
        {
            public Form1()
            {
                InitializeComponent();
            }
     
     
            private void button1_MouseClick(object sender, MouseEventArgs e)
            {
            }
     
    public class fonctions
        {
     
            public int[] Latable;
     
            public static int Min(int u, int v)
            {
     
                if (u <= v)
                    return u;
                else
                    return v;
     
            }
     
     
            public static int Max(int u, int v)
            {
     
                if (u <= v)
                    return v;
                else
                    return u;
     
            }
     
     
            public static double round(double what, int howmuch)
            {
                return (double)((int)(what * Math.Pow(howmuch, 10) + .5)) / Math.Pow(10, howmuch);
            }
     
            public static int DecalageAge(int AnnéeNaissance, double Taux2)
            {
     
                int[] Table00 = { 1901, 1911, 1921, 1930, 1938, 1947, 1954, 1961, 1968, 1976, 1985 };
                int[] Table05 = { 1901, 1912, 1920, 1929, 1939, 1947, 1954, 1961, 1968, 1975, 1982 };
                int[] Table10 = { 1901, 1912, 1920, 1929, 1939, 1947, 1954, 1961, 1968, 1975, 1982 };
                int[] Table15 = { 1901, 1912, 1920, 1929, 1939, 1947, 1954, 1961, 1968, 1975, 1982 };
                int[] Table20 = { 1901, 1912, 1920, 1929, 1939, 1947, 1954, 1960, 1967, 1974, 1981 };
                int[] Table25 = { 1901, 1912, 1920, 1929, 1939, 1947, 1954, 1960, 1967, 1974, 1981 };
                int[] Table30 = { 1901, 1912, 1920, 1929, 1939, 1947, 1954, 1960, 1967, 1974, 1981 };
                int[] Table35 = { 1901, 1912, 1920, 1930, 1939, 1947, 1954, 1960, 1966, 1973, 1980 };
                int[] Table40 = { 1901, 1912, 1920, 1930, 1939, 1947, 1954, 1960, 1966, 1972, 1979 };
                int[] Table45 = { 1901, 1910, 1920, 1931, 1939, 1947, 1953, 1960, 1966, 1971, 1979 };
                int[] Table50 = { 1901, 1912, 1920, 1930, 1939, 1947, 1954, 1959, 1966, 1972, 1978 };
     
                double Taux = fonctions.round(Taux2, 3);
                int[] Latable = new int[Table00.Length];
     
                // On différencie les cas pour Taux
     
                if (Taux == 0) { Latable = Table00; }
                else if (Taux == 0.005) { Latable = Table05; }
                else if (Taux == 0.01) { Latable = Table10; }
                else if (Taux == 0.015) { Latable = Table15; }
                else if (Taux == 0.02) { Latable = Table20; }
                else if (Taux == 0.025) { Latable = Table25; }
                else if (Taux == 0.026) { Latable = Table25; }
                else if (Taux == 0.03) { Latable = Table30; }
                else if (Taux == 0.035) { Latable = Table35; }
                else if (Taux == 0.04) { Latable = Table40; }
                else if (Taux == 0.045) { Latable = Table45; }
                else if (Taux == 0.05) { Latable = Table50; }
                else { Console.WriteLine(" Taux non valide"); }
     
     
                int temp = 0;
                // On différencie les cas pour AnnéeNaissance
     
                if (AnnéeNaissance < Latable[0]) { temp = 6; }
                else if (Latable[0] <= AnnéeNaissance && AnnéeNaissance < Latable[1] - 1) { temp = 5; }
                else if (Latable[1] <= AnnéeNaissance && AnnéeNaissance < Latable[2] - 1) { temp = 4; }
                else if (Latable[2] <= AnnéeNaissance && AnnéeNaissance < Latable[3] - 1) { temp = 3; }
                else if (Latable[3] <= AnnéeNaissance && AnnéeNaissance < Latable[4] - 1) { temp = 2; }
                else if (Latable[4] <= AnnéeNaissance && AnnéeNaissance < Latable[5] - 1) { temp = 1; }
                else if (Latable[5] <= AnnéeNaissance && AnnéeNaissance < Latable[6] - 1) { temp = 0; }
                else if (Latable[6] <= AnnéeNaissance && AnnéeNaissance < Latable[7] - 1) { temp = -1; }
                else if (Latable[7] <= AnnéeNaissance && AnnéeNaissance < Latable[8] - 1) { temp = -2; }
                else if (Latable[8] <= AnnéeNaissance && AnnéeNaissance < Latable[9] - 1) { temp = -3; }
                else if (Latable[9] <= AnnéeNaissance && AnnéeNaissance < Latable[10] - 1) { temp = -4; }
                else if (Latable[10] - 1 <= AnnéeNaissance) { temp = -5; }
     
     
                int DecalageAge = temp;
                return (DecalageAge);
            }
    }
            public class fonctions2
            {
     
                /** Creates a new instance of fonctions2 */
     
     
                public static double lx(String table, int x, int annee_naissance, double i)
                {
     
                    int decal, age;
                    double lx = -1000000;
                    int[] Latable;
                    int[] TPG93;
     
                    int[] TV88 = { 100000, 99352, 99294, 99261, 99236, 99214, 99194, 99177, 99161, 99145, 99129, 99112, 99096, 99081, 99062, 99041, 99018, 98989, 98955, 98913, 98869, 98823, 98778, 98734, 98689, 98640, 98590, 98537, 98482, 98428, 98371, 98310, 98247, 98182, 98111, 98031, 97942, 97851, 97753, 97648, 97534, 97413, 97282, 97138, 96981, 96810, 96622, 96424, 96218, 95995, 95752, 95488, 95202, 94892, 94560, 94215, 93848, 93447, 93014, 92545, 92050, 91523, 90954, 90343, 89687, 88978, 88226, 87409, 86513, 85522, 84440, 83251, 81936, 80484, 78880, 77104, 75136, 72981, 70597, 67962, 65043, 61852, 58379, 54614, 50625, 46455, 42130, 37738, 33340, 28980, 24739, 20704, 16959, 13580, 10636, 8118, 6057, 4378, 3096, 2184, 1479, 961, 599, 358, 205, 113, 59, 30, 14, 6, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] TD88 = { 100000, 99129, 99057, 99010, 98977, 98948, 98921, 98897, 98876, 98855, 98835, 98814, 98793, 98771, 98745, 98712, 98667, 98606, 98520, 98406, 98277, 98137, 97987, 97830, 97677, 97524, 97373, 97222, 97070, 96916, 96759, 96597, 96429, 96255, 96071, 95878, 95676, 95463, 95237, 94997, 94746, 94476, 94182, 93868, 93515, 93133, 92727, 92295, 91833, 91332, 90778, 90171, 89511, 88791, 88011, 87165, 86241, 85256, 84211, 83083, 81884, 80602, 79243, 77807, 76295, 74720, 73075, 71366, 69559, 67655, 65649, 63543, 61285, 58911, 56416, 53818, 51086, 48251, 45284, 42203, 39041, 35824, 32518, 29220, 25962, 22780, 19725, 16843, 14133, 11625, 9389, 7438, 5763, 4350, 3211, 2315, 1635, 1115, 740, 453, 263, 145, 76, 37, 17, 7, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] TV73 = { 100000, 98832, 98736, 98677, 98631, 98593, 98559, 98528, 98499, 98472, 98447, 98424, 98401, 98379, 98354, 98324, 98286, 98239, 98182, 98119, 98055, 97993, 97932, 97873, 97815, 97755, 97696, 97636, 97575, 97509, 97439, 97367, 97290, 97208, 97120, 97025, 96922, 96812, 96691, 96561, 96419, 96263, 96094, 95910, 95707, 95485, 95245, 94983, 94698, 94388, 94056, 93702, 93322, 92910, 92465, 91987, 91478, 90938, 90364, 89754, 89106, 88417, 87674, 86862, 85977, 85015, 83966, 82818, 81561, 80181, 78659, 76982, 75139, 73120, 70914, 68502, 65860, 62981, 59867, 56524, 52974, 49246, 45363, 41351, 37256, 33160, 29136, 25229, 21491, 17979, 14743, 11852, 9362, 7280, 5571, 4190, 3092, 2238, 1585, 1098, 531, 237, 97, 36, 12, 4, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] TD73 = { 100000, 98471, 98360, 98281, 98220, 98167, 98120, 98076, 98035, 97997, 97961, 97927, 97892, 97855, 97814, 97761, 97691, 97594, 97460, 97290, 97105, 96921, 96745, 96576, 96419, 96270, 96127, 95988, 95849, 95707, 95559, 95406, 95251, 95092, 94921, 94734, 94533, 94316, 94076, 93810, 93516, 93192, 92836, 92440, 91996, 91503, 90966, 90391, 89772, 89103, 88380, 87605, 86778, 85893, 84938, 83909, 82812, 81654, 80435, 79146, 77772, 76296, 74706, 73007, 71208, 69302, 67276, 65127, 62855, 60473, 57981, 55369, 52642, 49815, 46887, 43872, 40798, 37688, 34560, 31441, 28364, 25351, 22424, 19602, 16916, 14398, 12063, 9938, 8054, 6407, 4986, 3790, 2819, 2059, 1481, 1048, 728, 497, 333, 218, 103, 46, 19, 7, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] TPRV93 = { 100000, 97047, 95995, 95793, 95653, 95556, 95515, 95477, 95442, 95410, 95379, 95359, 95336, 95311, 95284, 95254, 95221, 95185, 95144, 95101, 95056, 95008, 94957, 94904, 94850, 94794, 94736, 94677, 94617, 94555, 94491, 94424, 94356, 94285, 94211, 94133, 94050, 93963, 93871, 93774, 93670, 93560, 93442, 93318, 93185, 93043, 92892, 92732, 92560, 92378, 92183, 91976, 91756, 91520, 91273, 91013, 90741, 90455, 90155, 89844, 89523, 89191, 88849, 88498, 88126, 87733, 87319, 86882, 86422, 85911, 85343, 84711, 84007, 83224, 82337, 81333, 80198, 78913, 77462, 75840, 74030, 72016, 69780, 67306, 64621, 61719, 58596, 55255, 51700, 47999, 44172, 40248, 36261, 32253, 28330, 24535, 20914, 17513, 14373, 11530, 9014, 6843, 5023, 3547, 2395, 1535, 926, 519, 267, 123, 50, 17, 5, 1, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Tpropre = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119 };
     
     
                    Latable = new int[TV88.Length];
     
                    // concerne TPRV93
                    decal = fonctions.DecalageAge(annee_naissance, i);
                    age = x + decal;
                    age = fonctions.Min(120, age);
                    age = fonctions.Max(0, age);
     
                    if (x > 120 | x < 0) { lx = 0; }
                    else
                    {
                        if (table == "TV88") { Latable = TV88; lx = Latable[x]; }
                        else if (table == "TD88") { Latable = TD88; lx = Latable[x]; }
                        else if (table == "TV73") { Latable = TV73; lx = Latable[x]; }
                        else if (table == "TD73") { Latable = TD73; lx = Latable[x]; }
                        else if (table == "TPRV93") { Latable = TPRV93; lx = Latable[age]; }
                        else if (table == "TPG93") { lx = fonctions2.lx_TPG(table, x, annee_naissance, i); }
                        else if (table == "Tpropre") { lx = Tpropre[x]; }
                        else { Console.WriteLine("mauvaise table choisie"); }
                    }
     
                    return (lx);
                }
     
                public static double lx_TPG(String NomTable, int x, int annee_naissance, double i)
                {
     
                    double lx_TPG = -100000;
     
                    if (annee_naissance < 1887) { annee_naissance = 1887; }
                    else if (annee_naissance < 1914) { lx_TPG = fonctions2.lx_TPG_1(NomTable, x, annee_naissance, i); }
                    else if (annee_naissance < 1941) { lx_TPG = fonctions2.lx_TPG_2(NomTable, x, annee_naissance, i); }
                    else if (annee_naissance < 1968) { lx_TPG = fonctions2.lx_TPG_3(NomTable, x, annee_naissance, i); }
                    else { lx_TPG = fonctions2.lx_TPG_4(NomTable, x, annee_naissance, i); }
     
                    return (lx_TPG);
                }
     
                public static double lx_TPG_1(String NomTable, int x, int annee_naissance, double i)
                {
     
     
                    int[] Table1887 =  { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1888 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1889 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, 11, 4, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1890 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63, 29, 12, 4, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1891 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 135, 69, 32, 14, 5, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1892 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 265, 148, 76, 36, 15, 6, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1893 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 484, 288, 162, 84, 40, 17, 6, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1894 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 825, 522, 313, 176, 92, 44, 19, 7, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1895 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1330, 885, 563, 339, 192, 101, 49, 21, 8, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1896 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2039, 1419, 949, 607, 368, 210, 111, 54, 24, 9, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1897 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2995, 2166, 1514, 1017, 653, 398, 228, 122, 60, 27, 10, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1898 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4233, 3167, 2299, 1612, 1087, 701, 430, 248, 133, 66, 30, 12, 4, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1899 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5782, 4457, 3345, 2437, 1715, 1162, 753, 464, 269, 146, 73, 33, 13, 4, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1900 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7661, 6064, 4688, 3530, 2580, 1823, 1240, 807, 500, 292, 159, 80, 36, 15, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1901 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9883, 8008, 6355, 4927, 3721, 2729, 1936, 1322, 865, 538, 316, 173, 88, 40, 16, 6, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1902 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 12420, 10296, 8362, 6654, 5173, 3920, 2885, 2054, 1408, 925, 578, 341, 189, 96, 45, 18, 7, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1903 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 15248, 12898, 10717, 8725, 6960, 5427, 4125, 3046, 2177, 1499, 989, 621, 369, 205, 105, 49, 20, 7, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1904 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18338, 15792, 13386, 11146, 9097, 7276, 5689, 4337, 3213, 2305, 1593, 1056, 667, 398, 223, 115, 54, 23, 8, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1905 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 21653, 18945, 16345, 13882, 11585, 9477, 7599, 5959, 4556, 3387, 2438, 1692, 1126, 715, 429, 241, 126, 60, 25, 9, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1906 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 25147, 22313, 19555, 16903, 14385, 12030, 9864, 7930, 6235, 4782, 3566, 2576, 1795, 1200, 765, 462, 261, 137, 66, 28, 11, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1907 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 28735, 25856, 22977, 20171, 17467, 14894, 12483, 10259, 8268, 6519, 5014, 3751, 2720, 1902, 1278, 819, 497, 283, 149, 72, 31, 12, 4, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1908 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 32367, 29484, 26567, 23646, 20793, 18038, 15411, 12943, 10662, 8614, 6810, 5254, 3943, 2869, 2014, 1359, 875, 534, 306, 163, 79, 35, 13, 4, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1909 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 35998, 33148, 30234, 27281, 24319, 21420, 18614, 15935, 13411, 11072, 8967, 7108, 5500, 4141, 3023, 2131, 1443, 934, 573, 330, 177, 87, 38, 15, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1910 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 39589, 36803, 33928, 30985, 27998, 24995, 22051, 19197, 16464, 13885, 11490, 9328, 7414, 5753, 4345, 3183, 2252, 1532, 995, 614, 356, 192, 95, 42, 17, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1911 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 43111, 40414, 37610, 34712, 31740, 28719, 25677, 22689, 19787, 17002, 14368, 11916, 9697, 7727, 6013, 4556, 3349, 2379, 1625, 1061, 657, 383, 208, 104, 47, 18, 6, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1912 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 46475, 43927, 41219, 38398, 35479, 32482, 29429, 26351, 23322, 20373, 17539, 14851, 12344, 10070, 8045, 6278, 4771, 3519, 2509, 1720, 1128, 703, 412, 226, 113, 51, 21, 7, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1913 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 49691, 47305, 44750, 42030, 39194, 36255, 33232, 30149, 27034, 23964, 20970, 18086, 15345, 12782, 10452, 8371, 6551, 4994, 3696, 2645, 1821, 1200, 751, 443, 244, 124, 57, 23, 8, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };

  3. #3
    Futur Membre du Club
    Profil pro
    Inscrit en
    Juin 2007
    Messages
    15
    Détails du profil
    Informations personnelles :
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Juin 2007
    Messages : 15
    Points : 6
    Points
    6
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    100
    101
    int[] Latable;
                    Latable = new int[Table1887.Length];
     
     
                    if (annee_naissance == 1887) { Latable = Table1887; }
                    else if (annee_naissance == 1888) { Latable = Table1888; }
                    else if (annee_naissance == 1889) { Latable = Table1889; }
                    else if (annee_naissance == 1890) { Latable = Table1890; }
                    else if (annee_naissance == 1891) { Latable = Table1891; }
                    else if (annee_naissance == 1892) { Latable = Table1892; }
                    else if (annee_naissance == 1893) { Latable = Table1893; }
                    else if (annee_naissance == 1894) { Latable = Table1894; }
                    else if (annee_naissance == 1895) { Latable = Table1895; }
                    else if (annee_naissance == 1896) { Latable = Table1896; }
                    else if (annee_naissance == 1897) { Latable = Table1897; }
                    else if (annee_naissance == 1898) { Latable = Table1898; }
                    else if (annee_naissance == 1899) { Latable = Table1899; }
                    else if (annee_naissance == 1900) { Latable = Table1900; }
                    else if (annee_naissance == 1901) { Latable = Table1901; }
                    else if (annee_naissance == 1902) { Latable = Table1902; }
                    else if (annee_naissance == 1903) { Latable = Table1903; }
                    else if (annee_naissance == 1904) { Latable = Table1904; }
                    else if (annee_naissance == 1905) { Latable = Table1905; }
                    else if (annee_naissance == 1906) { Latable = Table1906; }
                    else if (annee_naissance == 1907) { Latable = Table1907; }
                    else if (annee_naissance == 1908) { Latable = Table1908; }
                    else if (annee_naissance == 1909) { Latable = Table1909; }
                    else if (annee_naissance == 1910) { Latable = Table1910; }
                    else if (annee_naissance == 1911) { Latable = Table1911; }
                    else if (annee_naissance == 1912) { Latable = Table1912; }
                    else if (annee_naissance == 1913) { Latable = Table1913; }
     
                    int lx_TPG_1 = Latable[x];
     
                    return (lx_TPG_1);
                }
     
                public static double lx_TPG_2(String NomTable, int x, int annee_naissance, double i)
                {
     
     
                    int[] Table1914 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 52732, 50513, 48124, 45563, 42833, 39983, 37025, 33979, 30867, 27718, 24608, 21570, 18637, 15844, 13226, 10840, 8704, 6830, 5223, 3878, 2785, 1926, 1275, 802, 476, 264, 135, 62, 25, 9, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1915 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 55628, 53577, 51358, 48965, 46398, 43658, 40793, 37816, 34746, 31604, 28420, 25270, 22187, 19204, 16359, 13684, 11242, 9050, 7121, 5461, 4068, 2932, 2036, 1353, 856, 511, 285, 147, 68, 28, 10, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1916 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 58320, 56436, 54389, 52171, 49777, 47206, 44457, 41581, 38588, 35496, 32328, 29111, 25924, 22798, 19769, 16872, 14143, 11645, 9398, 7415, 5703, 4263, 3084, 2149, 1435, 912, 548, 307, 159, 75, 31, 11, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1917 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 60829, 59113, 57234, 55191, 52975, 50581, 48007, 45252, 42364, 39356, 36245, 33052, 29804, 26580, 23413, 20338, 17391, 14609, 12056, 9753, 7716, 5952, 4463, 3240, 2267, 1521, 971, 586, 331, 173, 82, 35, 13, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1918 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63158, 61602, 59894, 58022, 55983, 53770, 51377, 48801, 46040, 43143, 40122, 36992, 33774, 30497, 27239, 24032, 20911, 17915, 15080, 12473, 10115, 8023, 6208, 4669, 3402, 2390, 1610, 1033, 627, 357, 187, 90, 38, 14, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1919 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 65317, 63911, 62364, 60664, 58799, 56766, 54557, 52165, 49588, 46823, 43918, 40884, 37737, 34497, 31192, 27900, 24654, 21489, 18444, 15557, 12896, 10483, 8337, 6469, 4882, 3569, 2517, 1703, 1098, 670, 383, 203, 98, 42, 16, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1920 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 67311, 66046, 64650, 63113, 61421, 59563, 57537, 55333, 52944, 50366, 47598, 44687, 41642, 38478, 35218, 31886, 28561, 25278, 22071, 18979, 16040, 13325, 10858, 8658, 6737, 5100, 3741, 2648, 1800, 1166, 716, 412, 220, 107, 47, 18, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1921 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 69153, 68017, 66763, 65377, 63850, 62167, 60318, 58298, 56100, 53714, 51138, 48368, 45450, 42395, 39218, 35937, 32580, 29225, 25905, 22656, 19518, 16529, 13761, 11240, 8985, 7012, 5324, 3919, 2785, 1900, 1238, 764, 442, 238, 117, 51, 20, 6, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1922 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 70870, 69835, 68710, 67466, 66092, 64574, 62901, 61061, 59049, 56857, 54476, 51901, 49130, 46208, 43145, 39954, 36655, 33274, 29889, 26534, 23245, 20061, 17022, 14202, 11627, 9319, 7292, 5554, 4103, 2926, 2005, 1312, 814, 474, 256, 127, 56, 22, 7, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1923 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 72468, 71527, 70503, 69390, 68157, 66793, 65287, 63624, 61793, 59789, 57604, 55229, 52657, 49886, 46961, 43890, 40687, 37371, 33967, 30554, 27166, 23837, 20609, 17521, 14650, 12021, 9659, 7580, 5791, 4291, 3072, 2114, 1390, 867, 508, 277, 138, 62, 24, 8, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1924 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 73955, 73100, 72170, 71157, 70055, 68834, 67482, 65986, 64334, 62513, 60519, 58341, 55972, 53404, 50634, 47707, 44630, 41416, 38084, 34659, 31220, 27798, 24432, 21161, 18025, 15102, 12421, 10006, 7873, 6033, 4486, 3223, 2227, 1471, 922, 544, 298, 150, 68, 27, 9, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1925 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 75336, 74562, 73718, 72799, 71798, 70708, 69498, 68158, 66674, 65033, 63222, 61237, 59068, 56706, 54143, 51375, 48446, 45364, 42141, 38795, 35350, 31885, 28433, 25030, 21716, 18534, 15561, 12827, 10358, 8172, 6281, 4686, 3379, 2345, 1556, 980, 581, 321, 163, 74, 30, 10, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1926 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 76619, 75919, 75156, 74324, 73416, 72427, 71348, 70150, 68822, 67349, 65720, 63920, 61945, 59785, 57430, 54873, 52108, 49180, 46094, 42863, 39504, 36040, 32551, 29069, 25630, 22275, 19047, 16024, 13239, 10717, 8478, 6535, 4892, 3541, 2466, 1644, 1041, 621, 345, 176, 81, 33, 11, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1927 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 77832, 77178, 76489, 75736, 74916, 74020, 73042, 71975, 70790, 69473, 68013, 66395, 64607, 62643, 60492, 58146, 55595, 52834, 49907, 46818, 43580, 40209, 36729, 33217, 29706, 26233, 22838, 19564, 16493, 13656, 11082, 8790, 6796, 5103, 3707, 2592, 1736, 1105, 663, 371, 191, 89, 37, 13, 4, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1928 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 78978, 78369, 77725, 77046, 76305, 75495, 74611, 73645, 72590, 71417, 70113, 68665, 67060, 65283, 63330, 61190, 58853, 56309, 53553, 50627, 47537, 44293, 40912, 37415, 33882, 30344, 26837, 23404, 20086, 16967, 14080, 11453, 9108, 7062, 5320, 3878, 2723, 1831, 1172, 707, 398, 207, 97, 40, 14, 4, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1929 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 80059, 79492, 78892, 78259, 77590, 76860, 76062, 75190, 74236, 73193, 72032, 70740, 69305, 67712, 65947, 64006, 61877, 59550, 57014, 54264, 51341, 48251, 45002, 41611, 38100, 34546, 30982, 27444, 23973, 20612, 17446, 14509, 11829, 9433, 7334, 5543, 4055, 2858, 1931, 1241, 753, 427, 223, 106, 45, 16, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1930 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 81080, 80552, 79994, 79404, 78780, 78122, 77403, 76617, 75756, 74814, 73783, 72635, 71356, 69934, 68354, 66602, 64673, 62555, 60238, 57711, 54968, 52048, 48958, 45706, 42308, 38783, 35210, 31621, 28052, 24545, 21142, 17930, 14943, 12212, 9763, 7613, 5771, 4237, 2998, 2034, 1314, 802, 458, 241, 115, 49, 18, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1931 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 82042, 81551, 81032, 80482, 79902, 79288, 78641, 77933, 77158, 76309, 75379, 74360, 73225, 71959, 70550, 68983, 67244, 65328, 63222, 60916, 58398, 55662, 52748, 49659, 46405, 42999, 39463, 35872, 32260, 28662, 25119, 21675, 18418, 15382, 12600, 10099, 7897, 6005, 4424, 3143, 2141, 1390, 853, 490, 260, 126, 54, 20, 6, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1932 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 82957, 82493, 82011, 81500, 80959, 80388, 79784, 79148, 78451, 77687, 76850, 75932, 74925, 73803, 72550, 71155, 69601, 67875, 65972, 63879, 61584, 59077, 56349, 53440, 50354, 47099, 43687, 40140, 36533, 32899, 29272, 25695, 22212, 18910, 15826, 12994, 10441, 8187, 6245, 4616, 3292, 2253, 1470, 907, 524, 280, 137, 59, 22, 7, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1933 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 83827, 83389, 82933, 82458, 81955, 81424, 80862, 80268, 79642, 78956, 78204, 77378, 76473, 75479, 74369, 73130, 71748, 70208, 68495, 66605, 64525, 62243, 59746, 57028, 54126, 51043, 47787, 44371, 40814, 37192, 33537, 29884, 26274, 22751, 19406, 16276, 13394, 10789, 8483, 6491, 4814, 3446, 2368, 1552, 963, 560, 302, 148, 65, 25, 8, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1934 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 84654, 84242, 83811, 83362, 82895, 82400, 81877, 81325, 80741, 80126, 79450, 78709, 77896, 77002, 76021, 74924, 73698, 72330, 70804, 69105, 67229, 65162, 62892, 60407, 57698, 54804, 51726, 48471, 45051, 41486, 37850, 34175, 30496, 26855, 23295, 19907, 16730, 13798, 11143, 8786, 6742, 5017, 3605, 2488, 1638, 1022, 598, 325, 161, 71, 27, 9, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1935 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 85442, 85053, 84646, 84222, 83780, 83320, 82834, 82320, 81777, 81203, 80598, 79934, 79204, 78402, 77520, 76551, 75467, 74255, 72901, 71389, 69705, 67843, 65790, 63533, 61060, 58362, 55475, 52402, 49149, 45727, 42154, 38506, 34813, 31110, 27437, 23841, 20412, 17189, 14209, 11502, 9093, 6999, 5226, 3769, 2612, 1728, 1084, 638, 349, 174, 78, 30, 10, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1936 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 86189, 85823, 85439, 85038, 84621, 84186, 83734, 83256, 82750, 82216, 81652, 81058, 80404, 79686, 78895, 78026, 77070, 75999, 74800, 73460, 71963, 70292, 68445, 66406, 64163, 61703, 59016, 56138, 53071, 49821, 46398, 42819, 39160, 35449, 31723, 28021, 24389, 20920, 17652, 14624, 11867, 9407, 7262, 5440, 3938, 2740, 1821, 1148, 681, 375, 189, 85, 34, 11, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1937 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 86898, 86554, 86193, 85815, 85420, 85009, 84581, 84137, 83667, 83170, 82645, 82091, 81506, 80863, 80156, 79378, 78520, 77577, 76519, 75334, 74008, 72525, 70870, 69037, 67013, 64784, 62337, 59661, 56793, 53734, 50487, 47064, 43480, 39811, 36084, 32336, 28607, 24940, 21431, 18120, 15044, 12237, 9726, 7531, 5660, 4111, 2872, 1918, 1216, 725, 402, 204, 93, 37, 13, 3, 1, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1938 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 87571, 87248, 86909, 86552, 86180, 85791, 85386, 84965, 84529, 84067, 83578, 83062, 82518, 81943, 81311, 80615, 79848, 79003, 78072, 77028, 75857, 74545, 73077, 71436, 69618, 67609, 65395, 62962, 60298, 57441, 54390, 51148, 47725, 44138, 40459, 36718, 32950, 29193, 25493, 21946, 18592, 15469, 12613, 10051, 7805, 5885, 4290, 3009, 2019, 1286, 771, 431, 221, 102, 41, 14, 4, 1, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1939 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 88210, 87907, 87589, 87254, 86902, 86535, 86152, 85753, 85340, 84910, 84456, 83977, 83470, 82935, 82370, 81749, 81064, 80309, 79476, 78557, 77526, 76369, 75071, 73618, 71992, 70190, 68196, 65997, 63578, 60928, 58081, 55038, 51802, 48382, 44791, 41105, 37351, 33563, 29780, 26049, 22464, 19068, 15899, 12994, 10382, 8085, 6115, 4474, 3151, 2124, 1360, 820, 461, 238, 111, 45, 16, 4, 1, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1940 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 88816, 88532, 88233, 87919, 87589, 87242, 86880, 86503, 86111, 85704, 85282, 84836, 84365, 83867, 83341, 82787, 82176, 81502, 80758, 79937, 79031, 78013, 76870, 75587, 74149, 72538, 70752, 68773, 66589, 64185, 61548, 58714, 55681, 52451, 49033, 45441, 41748, 37982, 34176, 30369, 26606, 22985, 19548, 16334, 13381, 10718, 8370, 6351, 4663, 3297, 2232, 1437, 872, 493, 257, 121, 50, 18, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0 };
     
     
                    int[] Latable;
                    Latable = new int[Table1914.Length];
     
     
                    if (annee_naissance == 1914) { Latable = Table1914; }
                    else if (annee_naissance == 1915) { Latable = Table1915; }
                    else if (annee_naissance == 1916) { Latable = Table1916; }
                    else if (annee_naissance == 1917) { Latable = Table1917; }
                    else if (annee_naissance == 1918) { Latable = Table1918; }
                    else if (annee_naissance == 1919) { Latable = Table1919; }
                    else if (annee_naissance == 1920) { Latable = Table1920; }
                    else if (annee_naissance == 1921) { Latable = Table1921; }
                    else if (annee_naissance == 1922) { Latable = Table1922; }
                    else if (annee_naissance == 1923) { Latable = Table1923; }
                    else if (annee_naissance == 1924) { Latable = Table1924; }
                    else if (annee_naissance == 1925) { Latable = Table1925; }
                    else if (annee_naissance == 1926) { Latable = Table1926; }
                    else if (annee_naissance == 1927) { Latable = Table1927; }
                    else if (annee_naissance == 1928) { Latable = Table1928; }
                    else if (annee_naissance == 1929) { Latable = Table1929; }
                    else if (annee_naissance == 1930) { Latable = Table1930; }
                    else if (annee_naissance == 1931) { Latable = Table1931; }
                    else if (annee_naissance == 1932) { Latable = Table1932; }
                    else if (annee_naissance == 1933) { Latable = Table1933; }
                    else if (annee_naissance == 1934) { Latable = Table1934; }
                    else if (annee_naissance == 1935) { Latable = Table1935; }
                    else if (annee_naissance == 1936) { Latable = Table1936; }
                    else if (annee_naissance == 1937) { Latable = Table1937; }
                    else if (annee_naissance == 1938) { Latable = Table1938; }
                    else if (annee_naissance == 1939) { Latable = Table1939; }
                    else if (annee_naissance == 1940) { Latable = Table1940; }

  4. #4
    Futur Membre du Club
    Profil pro
    Inscrit en
    Juin 2007
    Messages
    15
    Détails du profil
    Informations personnelles :
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Juin 2007
    Messages : 15
    Points : 6
    Points
    6
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    int lx_TPG_2 = Latable[x];
     
                    return (lx_TPG_2);
     
                }
     
                public static double lx_TPG_3(String NomTable, int x, int annee_naissance, double i)
                {
     
                    int[] Table1941 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 89391, 89125, 88845, 88550, 88240, 87914, 87572, 87216, 86844, 86459, 86058, 85644, 85206, 84743, 84254, 83737, 83193, 82592, 81929, 81197, 80388, 79495, 78490, 77361, 76093, 74669, 73074, 71303, 69341, 67172, 64783, 62161, 59339, 56316, 53094, 49680, 46087, 42388, 38611, 34788, 30958, 27165, 23510, 20032, 16774, 13772, 11060, 8662, 6593, 4858, 3448, 2345, 1517, 926, 527, 277, 131, 55, 20, 6, 1, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1942 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 89934, 89687, 89424, 89148, 88857, 88552, 88231, 87893, 87542, 87176, 86797, 86404, 85997, 85566, 85111, 84631, 84124, 83589, 82999, 82347, 81626, 80829, 79948, 78956, 77841, 76588, 75180, 73600, 71845, 69899, 67746, 65373, 62765, 59956, 56944, 53730, 50321, 46729, 43026, 39238, 35399, 31547, 27726, 24036, 20519, 17217, 14169, 11407, 8958, 6840, 5057, 3604, 2461, 1600, 982, 563, 298, 143, 60, 22, 6, 1, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1943 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90446, 90218, 89974, 89715, 89443, 89156, 88854, 88538, 88205, 87859, 87499, 87126, 86739, 86340, 85917, 85470, 84998, 84500, 83975, 83395, 82754, 82045, 81260, 80391, 79413, 78312, 77073, 75680, 74116, 72377, 70447, 68311, 65954, 63361, 60566, 57566, 54360, 50957, 47366, 43660, 39864, 36010, 32137, 28289, 24566, 21011, 17666, 14570, 11760, 9261, 7092, 5262, 3764, 2582, 1687, 1041, 601, 320, 155, 66, 24, 7, 2, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1944 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 90931, 90718, 90493, 90253, 89997, 89728, 89446, 89148, 88836, 88508, 88168, 87813, 87446, 87066, 86673, 86258, 85819, 85356, 84867, 84352, 83782, 83152, 82454, 81681, 80824, 79859, 78772, 77548, 76170, 74622, 72900, 70987, 68867, 66526, 63949, 61168, 58180, 54985, 51587, 47999, 44290, 40487, 36620, 32727, 28852, 25097, 21505, 18118, 14977, 12118, 9569, 7350, 5472, 3929, 2706, 1777, 1103, 641, 344, 168, 73, 27, 8, 2, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1945 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 91388, 91191, 90982, 90760, 90523, 90271, 90006, 89727, 89434, 89126, 88803, 88467, 88119, 87758, 87384, 86998, 86591, 86160, 85705, 85225, 84719, 84159, 83539, 82853, 82091, 81247, 80296, 79222, 78013, 76651, 75119, 73413, 71516, 69414, 67090, 64529, 61763, 58787, 55602, 52212, 48627, 44918, 41107, 37228, 33317, 29417, 25631, 22003, 18575, 15388, 12481, 9882, 7614, 5687, 4099, 2836, 1871, 1167, 683, 369, 182, 80, 30, 9, 2, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1946 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 91820, 91638, 91444, 91238, 91018, 90785, 90536, 90275, 90000, 89711, 89407, 89089, 88759, 88416, 88060, 87693, 87315, 86914, 86491, 86045, 85574, 85077, 84527, 83918, 83242, 82493, 81661, 80722, 79663, 78468, 77122, 75606, 73916, 72037, 69952, 67645, 65100, 62349, 59388, 56214, 52832, 49251, 45541, 41726, 37835, 33906, 29983, 26167, 22503, 19035, 15804, 12849, 10201, 7883, 5907, 4274, 2969, 1968, 1235, 727, 396, 197, 87, 33, 11, 3, 0, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1947 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 92227, 92059, 91879, 91689, 91485, 91269, 91039, 90794, 90536, 90265, 89980, 89681, 89367, 89042, 88704, 88355, 87994, 87623, 87229, 86814, 86376, 85914, 85426, 84886, 84287, 83623, 82885, 82065, 81140, 80094, 78914, 77583, 76084, 74411, 72549, 70481, 68191, 65664, 62929, 59981, 56819, 53446, 49871, 46161, 42341, 38441, 34496, 30550, 26705, 23007, 19499, 16225, 13222, 10525, 8158, 6133, 4453, 3107, 2069, 1305, 773, 424, 213, 95, 37, 12, 3, 1, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1948 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 92612, 92456, 92290, 92114, 91926, 91725, 91512, 91285, 91043, 90789, 90522, 90241, 89946, 89637, 89317, 88985, 88642, 88287, 87922, 87536, 87129, 86699, 86245, 85767, 85237, 84648, 83994, 83268, 82461, 81548, 80517, 79351, 78036, 76552, 74896, 73051, 71001, 68729, 66219, 63500, 60567, 57418, 54055, 50485, 46778, 42954, 39045, 35085, 31117, 27245, 23514, 19967, 16650, 13601, 10855, 8438, 6364, 4638, 3249, 2174, 1379, 821, 454, 230, 104, 41, 13, 3, 1, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1949 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 92975, 92831, 92678, 92514, 92340, 92155, 91958, 91748, 91524, 91285, 91035, 90771, 90494, 90204, 89900, 89584, 89258, 88920, 88572, 88214, 87835, 87435, 87013, 86568, 86099, 85578, 85000, 84357, 83642, 82847, 81947, 80929, 79779, 78479, 77011, 75372, 73545, 71513, 69259, 66766, 64064, 61146, 58010, 54657, 51095, 47390, 43565, 39647, 35673, 31685, 27787, 24023, 20439, 17079, 13984, 11190, 8723, 6601, 4828, 3396, 2283, 1456, 872, 486, 248, 113, 45, 15, 4, 1, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1950 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 93318, 93185, 93043, 92892, 92732, 92560, 92378, 92183, 91976, 91756, 91520, 91273, 91013, 90741, 90455, 90155, 89844, 89523, 89191, 88849, 88498, 88126, 87733, 87319, 86882, 86422, 85911, 85343, 84711, 84007, 83224, 82337, 81333, 80198, 78913, 77462, 75840, 74030, 72016, 69780, 67306, 64621, 61719, 58596, 55255, 51700, 47999, 44172, 40248, 36261, 32253, 28330, 24535, 20914, 17513, 14373, 11530, 9014, 6843, 5023, 3547, 2395, 1535, 926, 519, 267, 123, 50, 17, 5, 1, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1951 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 93642, 93519, 93388, 93249, 93100, 92942, 92773, 92593, 92402, 92198, 91980, 91748, 91504, 91248, 90980, 90698, 90403, 90097, 89781, 89455, 89119, 88774, 88409, 88024, 87618, 87189, 86738, 86236, 85677, 85056, 84364, 83592, 82719, 81729, 80607, 79338, 77903, 76299, 74507, 72511, 70293, 67837, 65170, 62284, 59176, 55846, 52300, 48603, 44776, 40846, 36848, 32822, 28874, 25049, 21393, 17950, 14766, 11875, 9310, 7090, 5223, 3703, 2512, 1618, 982, 555, 287, 134, 55, 19, 5, 1, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1952 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 93948, 93835, 93714, 93585, 93447, 93301, 93145, 92979, 92802, 92613, 92412, 92198, 91969, 91729, 91476, 91212, 90934, 90643, 90342, 90032, 89711, 89381, 89043, 88685, 88307, 87908, 87488, 87045, 86553, 86004, 85393, 84712, 83953, 83091, 82115, 81008, 79755, 78336, 76749, 74975, 72998, 70799, 68361, 65711, 62842, 59749, 56432, 52895, 49204, 45377, 41442, 37433, 33390, 29419, 25565, 21874, 18392, 15163, 12226, 9612, 7342, 5428, 3863, 2632, 1705, 1040, 592, 309, 146, 60, 21, 6, 1, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1953 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94238, 94133, 94021, 93902, 93775, 93640, 93496, 93342, 93178, 93004, 92818, 92620, 92409, 92183, 91946, 91698, 91437, 91164, 90877, 90581, 90275, 89961, 89637, 89304, 88953, 88582, 88191, 87779, 87345, 86861, 86323, 85722, 85052, 84304, 83456, 82493, 81401, 80163, 78761, 77190, 75435, 73476, 71296, 68877, 66245, 63393, 60316, 57012, 53485, 49800, 45975, 42037, 38018, 33959, 29966, 26084, 22359, 18838, 15566, 12582, 9919, 7600, 5638, 4029, 2757, 1795, 1102, 631, 332, 158, 66, 24, 7, 1, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1954 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94512, 94414, 94310, 94200, 94083, 93958, 93825, 93683, 93532, 93371, 93199, 93016, 92821, 92612, 92390, 92157, 91912, 91655, 91385, 91103, 90812, 90512, 90202, 89884, 89558, 89213, 88850, 88466, 88062, 87636, 87162, 86633, 86042, 85383, 84647, 83811, 82862, 81785, 80562, 79176, 77623, 75885, 73945, 71784, 69384, 66771, 63937, 60876, 57585, 54069, 50391, 46569, 42628, 38601, 34527, 30513, 26604, 22846, 19287, 15972, 12942, 10231, 7864, 5853, 4199, 2886, 1888, 1166, 672, 357, 171, 73, 26, 8, 2, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1955 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 94772, 94681, 94585, 94483, 94375, 94259, 94136, 94005, 93865, 93716, 93558, 93389, 93209, 93016, 92811, 92592, 92362, 92120, 91867, 91602, 91324, 91038, 90742, 90438, 90126, 89806, 89468, 89111, 88735, 88339, 87921, 87455, 86936, 86356, 85708, 84983, 84160, 83224, 82161, 80954, 79584, 78048, 76329, 74407, 72265, 69885, 67291, 64475, 61429, 58154, 54649, 50979, 47160, 43217, 39183, 35095, 31062, 27126, 23337, 19741, 16383, 13308, 10548, 8132, 6073, 4373, 3020, 1985, 1233, 715, 383, 186, 80, 29, 9, 2, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1956 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95018, 94934, 94845, 94751, 94650, 94543, 94429, 94308, 94179, 94042, 93895, 93739, 93573, 93395, 93206, 93003, 92787, 92561, 92323, 92073, 91812, 91539, 91257, 90966, 90668, 90361, 90047, 89716, 89366, 88997, 88608, 88199, 87742, 87232, 86662, 86024, 85311, 84500, 83578, 82529, 81337, 79984, 78465, 76764, 74861, 72739, 70378, 67803, 65005, 61977, 58716, 55224, 51562, 47748, 43804, 39763, 35663, 31610, 27650, 23830, 20197, 16799, 13678, 10871, 8406, 6299, 4553, 3157, 2086, 1303, 761, 410, 201, 87, 33, 10, 2, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1957 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95251, 95173, 95091, 95003, 94910, 94811, 94706, 94594, 94475, 94348, 94212, 94068, 93915, 93751, 93576, 93389, 93190, 92977, 92754, 92519, 92274, 92017, 91747, 91470, 91184, 90891, 90590, 90282, 89957, 89614, 89252, 88871, 88470, 88021, 87520, 86960, 86334, 85632, 84833, 83924, 82890, 81713, 80376, 78875, 77191, 75308, 73205, 70864, 68308, 65529, 62518, 59273, 55794, 52141, 48332, 44389, 40342, 36230, 32160, 28176, 24326, 20658, 17219, 14053, 11199, 8685, 6530, 4738, 3299, 2190, 1375, 809, 439, 217, 95, 36, 11, 3, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1958 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95473, 95401, 95324, 95243, 95156, 95065, 94967, 94864, 94753, 94636, 94511, 94378, 94236, 94085, 93923, 93751, 93567, 93371, 93161, 92941, 92710, 92468, 92215, 91950, 91677, 91396, 91108, 90813, 90511, 90192, 89855, 89500, 89127, 88733, 88294, 87802, 87252, 86635, 85945, 85158, 84262, 83242, 82081, 80760, 79276, 77611, 75746, 73663, 71342, 68806, 66046, 63053, 59823, 56358, 52715, 48912, 44970, 40919, 36797, 32710, 28703, 24824, 21121, 17643, 14433, 11532, 8970, 6766, 4927, 3446, 2299, 1451, 859, 470, 234, 104, 40, 13, 3, 0, 0, 0, 0, 0, 0, 0 };
                    int[] Table1959 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95684, 95616, 95544, 95469, 95389, 95304, 95214, 95118, 95016, 94907, 94792, 94669, 94537, 94398, 94249, 94090, 93921, 93740, 93546, 93339, 93122, 92895, 92657, 92408, 92147, 91878, 91602, 91319, 91029, 90733, 90420, 90090, 89742, 89376, 88991, 88559, 88077, 87536, 86930, 86251, 85476, 84593, 83587, 82441, 81137, 79670, 78023, 76177, 74113, 71813, 69297, 66556, 63581, 60368, 56917, 53285, 49489, 45549, 41494, 37362, 33260, 29232, 25325, 21588, 18071, 14818, 11870, 9260, 7007, 5122, 3596, 2411, 1530, 911, 503, 253, 114, 44, 14, 4, 1, 0, 0, 0, 0, 0, 0 };
                    int[] Table1960 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 95884, 95821, 95754, 95683, 95609, 95530, 95447, 95358, 95263, 95163, 95056, 94942, 94821, 94692, 94555, 94408, 94252, 94085, 93907, 93716, 93512, 93299, 93075, 92840, 92595, 92338, 92074, 91802, 91524, 91240, 90949, 90643, 90319, 89978, 89619, 89241, 88818, 88344, 87813, 87218, 86549, 85787, 84917, 83925, 82794, 81506, 80056, 78427, 76601, 74557, 72276, 69781, 67059, 64103, 60907, 57470, 53850, 50061, 46124, 42068, 37927, 33810, 29761, 25827, 22058, 18502, 15207, 12213, 9555, 7254, 5321, 3752, 2527, 1613, 966, 537, 273, 124, 49, 16, 4, 1, 0, 0, 0, 0, 0, 0 };
                    int[] Table1961 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96074, 96015, 95953, 95887, 95817, 95744, 95667, 95585, 95497, 95404, 95305, 95200, 95088, 94969, 94842, 94707, 94562, 94409, 94244, 94069, 93881, 93680, 93470, 93249, 93018, 92776, 92524, 92264, 91997, 91724, 91445, 91160, 90859, 90542, 90208, 89856, 89486, 89071, 88606, 88084, 87499, 86841, 86090, 85234, 84255, 83140, 81867, 80435, 78824, 77017, 74993, 72732, 70257, 67556, 64619, 61440, 58019, 54411, 50630, 46697, 42639, 38491, 34360, 30292, 26332, 22531, 18938, 15601, 12561, 9855, 7506, 5526, 3912, 2647, 1699, 1024, 573, 294, 135, 54, 18, 5, 1, 0, 0, 0, 0, 0, 0 };
                    int[] Table1962 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96256, 96200, 96141, 96080, 96015, 95947, 95875, 95799, 95718, 95632, 95540, 95443, 95339, 95229, 95112, 94987, 94854, 94712, 94560, 94399, 94226, 94041, 93843, 93636, 93418, 93191, 92953, 92704, 92449, 92187, 91919, 91645, 91365, 91070, 90759, 90432, 90087, 89724, 89317, 88861, 88348, 87773, 87126, 86387, 85543, 84579, 83478, 82222, 80806, 79214, 77425, 75421, 73182, 70727, 68046, 65128, 61968, 58562, 54967, 51195, 47267, 43208, 39053, 34911, 30823, 26839, 23007, 19377, 15999, 12914, 10160, 7763, 5735, 4077, 2771, 1788, 1085, 612, 316, 146, 59, 20, 5, 1, 0, 0, 0, 0, 0, 0 };
                    int[] Table1963 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96431, 96376, 96321, 96263, 96203, 96139, 96072, 96001, 95926, 95846, 95762, 95672, 95576, 95474, 95366, 95250, 95127, 94996, 94857, 94708, 94548, 94378, 94196, 94001, 93797, 93583, 93359, 93125, 92880, 92628, 92371, 92108, 91839, 91565, 91276, 90971, 90650, 90312, 89956, 89557, 89109, 88606, 88041, 87404, 86677, 85846, 84895, 83809, 82569, 81170, 79596, 77827, 75843, 73624, 71190, 68529, 65631, 62489, 59100, 55518, 51756, 47833, 43775, 39615, 35460, 31356, 27347, 23485, 19820, 16401, 13272, 10471, 8025, 5950, 4246, 2899, 1880, 1148, 652, 339, 159, 65, 22, 6, 1, 0, 0, 0, 0, 0, 0 };
                    int[] Table1964 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96596, 96544, 96490, 96435, 96379, 96319, 96257, 96190, 96121, 96047, 95968, 95885, 95796, 95702, 95602, 95495, 95382, 95261, 95132, 94994, 94848, 94691, 94523, 94344, 94152, 93951, 93740, 93519, 93289, 93048, 92801, 92548, 92289, 92026, 91757, 91473, 91175, 90860, 90529, 90180, 89789, 89350, 88856, 88300, 87674, 86959, 86140, 85203, 84131, 82907, 81526, 79970, 78220, 76256, 74058, 71645, 69004, 66126, 63003, 59631, 56063, 52312, 48396, 44338, 40174, 36009, 31888, 27857, 23966, 20266, 16807, 13634, 10786, 8292, 6170, 4420, 3032, 1976, 1214, 694, 365, 172, 72, 25, 7, 1, 0, 0, 0, 0, 0, 0 };
                    int[] Table1965 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96755, 96705, 96654, 96601, 96547, 96491, 96433, 96371, 96306, 96237, 96165, 96088, 96006, 95918, 95826, 95727, 95622, 95510, 95391, 95264, 95129, 94985, 94830, 94665, 94489, 94300, 94101, 93894, 93677, 93450, 93213, 92970, 92721, 92468, 92209, 91945, 91667, 91375, 91066, 90742, 90400, 90017, 89586, 89101, 88554, 87939, 87235, 86428, 85505, 84448, 83240, 81875, 80337, 78606, 76663, 74485, 72093, 69474, 66616, 63512, 60157, 56604, 52865, 48955, 44900, 40732, 36558, 32421, 28368, 24450, 20716, 17218, 14001, 11107, 8565, 6394, 4599, 3169, 2076, 1282, 739, 391, 187, 79, 28, 8, 2, 0, 0, 0, 0, 0, 0 };
                    int[] Table1966 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 96908, 96860, 96810, 96759, 96707, 96654, 96600, 96542, 96482, 96418, 96350, 96279, 96203, 96122, 96036, 95945, 95848, 95744, 95634, 95517, 95392, 95259, 95117, 94965, 94803, 94629, 94443, 94247, 94043, 93830, 93606, 93373, 93134, 92890, 92641, 92387, 92128, 91856, 91569, 91267, 90949, 90615, 90239, 89816, 89339, 88803, 88198, 87504, 86710, 85800, 84758, 83565, 82218, 80698, 78986, 77063, 74906, 72535, 69937, 67100, 64015, 60678, 57141, 53413, 49511, 45459, 41288, 37106, 32955, 28881, 24935, 21169, 17632, 14373, 11432, 8843, 6624, 4783, 3310, 2179, 1354, 785, 419, 202, 86, 31, 9, 2, 0, 0, 0, 0, 0, 0 };
                    int[] Table1967 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 97062, 97014, 96967, 96918, 96868, 96817, 96765, 96711, 96655, 96595, 96532, 96465, 96395, 96320, 96241, 96156, 96067, 95971, 95869, 95761, 95646, 95523, 95392, 95252, 95103, 94943, 94771, 94588, 94396, 94195, 93984, 93765, 93535, 93300, 93060, 92815, 92566, 92313, 92046, 91765, 91469, 91157, 90830, 90461, 90046, 89578, 89051, 88456, 87774, 86992, 86095, 85068, 83890, 82559, 81057, 79365, 77461, 75325, 72976, 70399, 67582, 64517, 61198, 57676, 53961, 50067, 46019, 41846, 37656, 33491, 29397, 25425, 21626, 18052, 14750, 11764, 9126, 6860, 4972, 3455, 2287, 1429, 834, 449, 219, 94, 35, 10, 2, 0, 0, 0, 0, 0, 0 };
     
                    int[] Latable;
                    Latable = new int[Table1941.Length];
     
     
                    if (annee_naissance == 1941) { Latable = Table1941; }
                    else if (annee_naissance == 1942) { Latable = Table1942; }
                    else if (annee_naissance == 1943) { Latable = Table1943; }
                    else if (annee_naissance == 1944) { Latable = Table1944; }
                    else if (annee_naissance == 1945) { Latable = Table1945; }
                    else if (annee_naissance == 1946) { Latable = Table1946; }
                    else if (annee_naissance == 1947) { Latable = Table1947; }
                    else if (annee_naissance == 1948) { Latable = Table1948; }
                    else if (annee_naissance == 1949) { Latable = Table1949; }
                    else if (annee_naissance == 1950) { Latable = Table1950; }
                    else if (annee_naissance == 1951) { Latable = Table1951; }
                    else if (annee_naissance == 1952) { Latable = Table1952; }
                    else if (annee_naissance == 1953) { Latable = Table1953; }
                    else if (annee_naissance == 1954) { Latable = Table1954; }
                    else if (annee_naissance == 1955) { Latable = Table1955; }
                    else if (annee_naissance == 1956) { Latable = Table1956; }
                    else if (annee_naissance == 1957) { Latable = Table1957; }
                    else if (annee_naissance == 1958) { Latable = Table1958; }
                    else if (annee_naissance == 1959) { Latable = Table1959; }
                    else if (annee_naissance == 1960) { Latable = Table1960; }
                    else if (annee_naissance == 1961) { Latable = Table1961; }
                    else if (annee_naissance == 1962) { Latable = Table1962; }
                    else if (annee_naissance == 1963) { Latable = Table1963; }
                    else if (annee_naissance == 1964) { Latable = Table1964; }
                    else if (annee_naissance == 1965) { Latable = Table1965; }
                    else if (annee_naissance == 1966) { Latable = Table1966; }
                    else if (annee_naissance == 1967) { Latable = Table1967; }

  5. #5
    Futur Membre du Club
    Profil pro
    Inscrit en
    Juin 2007
    Messages
    15
    Détails du profil
    Informations personnelles :
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Juin 2007
    Messages : 15
    Points : 6
    Points
    6
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
     
                    int lx_TPG_3 = Latable[x];
     
                    return (lx_TPG_3);
                }
     
                public static double lx_TPG_4(String NomTable, int x, int annee_naissance, double i)
                {
     
     
                    int[] Table1968 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 97205, 97159, 97112, 97065, 97017, 96968, 96917, 96866, 96813, 96758, 96699, 96637, 96571, 96502, 96429, 96351, 96267, 96179, 96085, 95985, 95879, 95765, 95644, 95516, 95378, 95231, 95073, 94905, 94724, 94535, 94337, 94130, 93913, 93687, 93456, 93221, 92981, 92736, 92488, 92226, 91951, 91660, 91355, 91034, 90673, 90266, 89807, 89289, 88704, 88033, 87263, 86379, 85366, 84204, 82890, 81406, 79732, 77849, 75734, 73406, 70850, 68055, 65010, 61709, 58203, 54501, 50617, 46573, 42400, 38203, 34026, 29913, 25916, 22086, 18474, 15131, 12099, 9414, 7100, 5166, 3605, 2398, 1507, 886, 480, 236, 103, 38, 12, 3, 0, 0, 0, 0, 0, 0 };
                    int[] Table1969 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 97343, 97298, 97252, 97206, 97160, 97112, 97064, 97014, 96964, 96912, 96857, 96799, 96738, 96674, 96606, 96534, 96457, 96375, 96288, 96195, 96097, 95992, 95881, 95762, 95635, 95500, 95355, 95200, 95034, 94856, 94669, 94474, 94271, 94058, 93836, 93609, 93377, 93141, 92901, 92658, 92402, 92132, 91847, 91548, 91234, 90880, 90480, 90030, 89521, 88946, 88286, 87528, 86657, 85658, 84511, 83214, 81748, 80093, 78230, 76136, 73829, 71295, 68521, 65496, 62215, 58726, 55037, 51163, 47125, 42951, 38749, 34560, 30430, 26409, 22548, 18901, 15516, 12440, 9708, 7345, 5364, 3760, 2513, 1588, 940, 514, 255, 113, 43, 13, 3, 0, 0, 0, 0, 0, 0 };
                    int[] Table1970 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 97477, 97433, 97388, 97343, 97297, 97252, 97205, 97157, 97108, 97059, 97008, 96954, 96897, 96837, 96774, 96707, 96636, 96560, 96479, 96394, 96303, 96206, 96103, 95993, 95876, 95752, 95619, 95476, 95323, 95160, 94984, 94801, 94609, 94408, 94199, 93980, 93757, 93530, 93298, 93063, 92825, 92573, 92309, 92030, 91737, 91429, 91082, 90690, 90248, 89748, 89183, 88534, 87787, 86930, 85945, 84813, 83532, 82084, 80448, 78605, 76532, 74247, 71734, 68982, 65978, 62716, 59244, 55570, 51706, 47674, 43501, 39295, 35095, 30948, 26904, 23014, 19331, 15906, 12785, 10006, 7596, 5568, 3919, 2632, 1673, 996, 549, 275, 123, 47, 15, 4, 1, 0, 0, 0, 0, 0 };
                    int[] Table1971 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 97606, 97562, 97518, 97474, 97429, 97385, 97340, 97294, 97247, 97199, 97149, 97099, 97047, 96991, 96932, 96869, 96803, 96733, 96659, 96580, 96496, 96406, 96311, 96209, 96101, 95986, 95864, 95733, 95593, 95442, 95281, 95109, 94928, 94739, 94542, 94335, 94120, 93901, 93678, 93450, 93220, 92986, 92740, 92480, 92208, 91921, 91619, 91279, 90895, 90460, 89969, 89414, 88775, 88040, 87196, 86225, 85108, 83844, 82413, 80796, 78973, 76922, 74658, 72167, 69436, 66453, 63211, 59757, 56098, 52245, 48220, 44049, 39839, 35630, 31467, 27400, 23482, 19765, 16300, 13135, 10310, 7852, 5776, 4083, 2755, 1761, 1055, 586, 296, 134, 52, 17, 4, 1, 0, 0, 0, 0, 0 };
                    int[] Table1972 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 97729, 97687, 97644, 97601, 97557, 97513, 97469, 97424, 97379, 97333, 97285, 97237, 97188, 97136, 97081, 97023, 96962, 96897, 96828, 96755, 96677, 96594, 96506, 96412, 96312, 96206, 96093, 95973, 95844, 95706, 95558, 95399, 95229, 95051, 94865, 94671, 94468, 94257, 94041, 93821, 93598, 93372, 93143, 92902, 92648, 92380, 92099, 91804, 91471, 91094, 90668, 90185, 89639, 89011, 88288, 87456, 86499, 85398, 84149, 82736, 81138, 79335, 77305, 75062, 72594, 69884, 66923, 63701, 60265, 56621, 52781, 48763, 44595, 40382, 36164, 31986, 27898, 23952, 20202, 16698, 13490, 10618, 8112, 5989, 4251, 2882, 1852, 1117, 625, 319, 146, 58, 19, 5, 1, 0, 0, 0, 0, 0 };
                    int[] Table1973 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 97846, 97807, 97766, 97723, 97680, 97637, 97593, 97550, 97506, 97462, 97416, 97369, 97322, 97273, 97222, 97168, 97111, 97051, 96987, 96919, 96847, 96771, 96689, 96603, 96510, 96412, 96308, 96196, 96078, 95951, 95815, 95670, 95513, 95346, 95171, 94988, 94797, 94597, 94389, 94177, 93961, 93743, 93521, 93296, 93060, 92811, 92549, 92274, 91985, 91658, 91288, 90870, 90396, 89860, 89242, 88530, 87711, 86767, 85681, 84449, 83053, 81474, 79691, 77681, 75461, 73014, 70327, 67387, 64185, 60768, 57140, 53312, 49303, 45138, 40923, 36698, 32506, 28398, 24426, 20642, 17101, 13850, 10932, 8378, 6208, 4424, 3013, 1947, 1182, 666, 343, 158, 63, 21, 6, 1, 0, 0, 0, 0, 0 };
                    int[] Table1974 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 97959, 97921, 97882, 97842, 97799, 97757, 97714, 97671, 97628, 97585, 97541, 97496, 97450, 97404, 97356, 97306, 97253, 97196, 97137, 97074, 97008, 96937, 96861, 96781, 96696, 96605, 96509, 96406, 96297, 96180, 96055, 95922, 95778, 95625, 95460, 95287, 95107, 94919, 94723, 94518, 94309, 94098, 93883, 93665, 93445, 93214, 92970, 92713, 92444, 92161, 91840, 91478, 91068, 90603, 90075, 89467, 88767, 87960, 87030, 85958, 84743, 83364, 81804, 80041, 78052, 75853, 73429, 70764, 67845, 64665, 61266, 57655, 53840, 49840, 45680, 41464, 37231, 33027, 28900, 24901, 21086, 17507, 14214, 11250, 8649, 6432, 4602, 3149, 2045, 1249, 709, 368, 172, 70, 24, 6, 1, 0, 0, 0, 0, 0 };
                    int[] Table1975 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 98066, 98031, 97994, 97955, 97915, 97873, 97831, 97789, 97746, 97704, 97661, 97618, 97574, 97529, 97483, 97436, 97386, 97334, 97279, 97221, 97159, 97093, 97023, 96949, 96870, 96787, 96697, 96602, 96501, 96394, 96279, 96156, 96025, 95884, 95732, 95570, 95400, 95223, 95038, 94845, 94643, 94439, 94231, 94020, 93806, 93591, 93364, 93125, 92874, 92610, 92332, 92019, 91663, 91261, 90804, 90285, 89688, 88999, 88204, 87287, 86231, 85031, 83670, 82128, 80385, 78417, 76240, 73837, 71195, 68298, 65139, 61760, 58165, 54364, 50374, 46219, 42003, 37765, 33548, 29402, 25379, 21533, 17917, 14583, 11574, 8926, 6660, 4784, 3289, 2147, 1319, 754, 395, 186, 77, 27, 7, 1, 0, 0, 0, 0, 0 };
                    int[] Table1976 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 98169, 98135, 98100, 98063, 98025, 97985, 97944, 97902, 97860, 97818, 97776, 97735, 97692, 97648, 97604, 97559, 97513, 97464, 97413, 97359, 97301, 97240, 97176, 97107, 97034, 96957, 96874, 96786, 96693, 96594, 96488, 96375, 96254, 96125, 95986, 95837, 95677, 95510, 95335, 95153, 94963, 94765, 94564, 94360, 94153, 93944, 93732, 93510, 93276, 93030, 92771, 92500, 92193, 91844, 91449, 91001, 90491, 89903, 89225, 88442, 87539, 86497, 85313, 83970, 82446, 80723, 78776, 76621, 74240, 71620, 68746, 65607, 62248, 58671, 54885, 50905, 46755, 42540, 38297, 34070, 29906, 25859, 21983, 18331, 14956, 11902, 9207, 6894, 4972, 3433, 2253, 1393, 802, 424, 202, 84, 30, 8, 2, 0, 0, 0, 0, 0 };
                    int[] Table1977 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 98264, 98235, 98202, 98167, 98130, 98092, 98053, 98012, 97971, 97929, 97888, 97847, 97805, 97763, 97721, 97677, 97632, 97587, 97539, 97489, 97435, 97379, 97319, 97256, 97188, 97116, 97040, 96959, 96873, 96781, 96683, 96579, 96468, 96349, 96222, 96085, 95939, 95781, 95617, 95445, 95266, 95079, 94884, 94686, 94486, 94283, 94077, 93870, 93652, 93423, 93182, 92929, 92663, 92362, 92021, 91633, 91193, 90692, 90114, 89447, 88676, 87786, 86759, 85590, 84264, 82759, 81055, 79129, 76995, 74637, 72039, 69188, 66071, 62732, 59172, 55401, 51433, 47289, 43076, 38829, 34591, 30411, 26342, 22436, 18749, 15333, 12236, 9493, 7133, 5164, 3581, 2362, 1469, 852, 454, 218, 92, 33, 9, 2, 0, 0, 0, 0, 0 };
                    int[] Table1978 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 98352, 98328, 98299, 98266, 98231, 98195, 98157, 98118, 98078, 98037, 97996, 97955, 97914, 97874, 97832, 97790, 97747, 97703, 97659, 97612, 97562, 97510, 97454, 97395, 97333, 97266, 97196, 97121, 97041, 96956, 96866, 96770, 96667, 96558, 96442, 96316, 96182, 96037, 95882, 95720, 95551, 95375, 95191, 94999, 94805, 94608, 94409, 94208, 94005, 93791, 93567, 93331, 93083, 92823, 92528, 92193, 91812, 91380, 90888, 90320, 89664, 88905, 88028, 87015, 85862, 84552, 83066, 81381, 79477, 77365, 75029, 72453, 69624, 66529, 63210, 59669, 55913, 51957, 47821, 43609, 39359, 35113, 30918, 26826, 22892, 19170, 15715, 12574, 9785, 7377, 5361, 3734, 2476, 1549, 904, 486, 236, 101, 37, 11, 2, 0, 0, 0, 0, 0 };
                    int[] Table1979 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 98434, 98413, 98389, 98360, 98327, 98293, 98257, 98220, 98181, 98141, 98101, 98060, 98020, 97980, 97940, 97899, 97857, 97815, 97772, 97728, 97682, 97633, 97582, 97527, 97469, 97408, 97342, 97273, 97199, 97121, 97037, 96948, 96854, 96753, 96646, 96531, 96408, 96275, 96133, 95980, 95821, 95655, 95481, 95300, 95112, 94921, 94727, 94532, 94335, 94136, 93927, 93707, 93476, 93233, 92978, 92689, 92361, 91988, 91563, 91080, 90521, 89875, 89128, 88264, 87265, 86128, 84835, 83367, 81702, 79818, 77728, 75415, 72862, 70055, 66982, 63684, 60162, 56422, 52478, 48350, 44142, 39889, 35635, 31425, 27312, 23350, 19595, 16101, 12916, 10081, 7625, 5563, 3892, 2593, 1632, 959, 520, 255, 111, 41, 12, 3, 0, 0, 0, 0, 0 };
                    int[] Table1980 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 98510, 98492, 98471, 98447, 98419, 98386, 98352, 98316, 98279, 98241, 98201, 98161, 98121, 98082, 98042, 98003, 97962, 97921, 97880, 97837, 97795, 97749, 97701, 97650, 97597, 97540, 97479, 97415, 97347, 97274, 97197, 97115, 97027, 96934, 96835, 96730, 96617, 96496, 96365, 96226, 96075, 95918, 95755, 95584, 95406, 95221, 95033, 94843, 94651, 94458, 94263, 94058, 93843, 93617, 93379, 93130, 92846, 92525, 92158, 91742, 91267, 90718, 90082, 89347, 88496, 87511, 86389, 85113, 83663, 82017, 80154, 78085, 75794, 73264, 70480, 67430, 64153, 60650, 56926, 52995, 48876, 44672, 40418, 36156, 31933, 27800, 23811, 20024, 16491, 13264, 10383, 7879, 5770, 4054, 2715, 1718, 1017, 555, 275, 121, 45, 14, 3, 0, 0, 0, 0, 0 };
                    int[] Table1981 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 98581, 98566, 98548, 98527, 98503, 98476, 98443, 98409, 98374, 98337, 98299, 98260, 98221, 98181, 98142, 98103, 98064, 98024, 97984, 97943, 97901, 97859, 97814, 97767, 97717, 97664, 97609, 97549, 97486, 97419, 97347, 97271, 97191, 97105, 97013, 96916, 96812, 96701, 96582, 96454, 96316, 96168, 96013, 95852, 95684, 95509, 95327, 95143, 94956, 94768, 94578, 94388, 94187, 93976, 93754, 93522, 93278, 93000, 92685, 92326, 91916, 91450, 90910, 90285, 89561, 88722, 87751, 86645, 85385, 83953, 82327, 80485, 78438, 76169, 73662, 70901, 67873, 64617, 61133, 57427, 53509, 49399, 45200, 40946, 36677, 32441, 28289, 24275, 20456, 16886, 13616, 10689, 8139, 5982, 4221, 2840, 1808, 1077, 593, 297, 132, 50, 16, 4, 1, 0, 0, 0, 0 };
                    int[] Table1982 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 98648, 98635, 98620, 98602, 98582, 98558, 98530, 98498, 98464, 98429, 98393, 98355, 98317, 98278, 98239, 98200, 98161, 98123, 98084, 98044, 98004, 97963, 97922, 97878, 97831, 97782, 97730, 97675, 97617, 97554, 97488, 97418, 97343, 97264, 97179, 97089, 96994, 96892, 96783, 96665, 96539, 96404, 96258, 96106, 95947, 95782, 95610, 95431, 95250, 95066, 94882, 94696, 94509, 94312, 94106, 93889, 93661, 93422, 93150, 92841, 92489, 92087, 91629, 91098, 90483, 89771, 88945, 87987, 86896, 85653, 84239, 82632, 80810, 78785, 76538, 74054, 71316, 68311, 65076, 61612, 57923, 54020, 49920, 45726, 41472, 37198, 32951, 28780, 24742, 20891, 17284, 13972, 11001, 8403, 6199, 4393, 2970, 1901, 1140, 633, 320, 144, 56, 18, 4, 1, 0, 0, 0, 0 };
                    int[] Table1983 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 98711, 98699, 98686, 98671, 98654, 98634, 98610, 98583, 98551, 98517, 98483, 98447, 98410, 98371, 98333, 98294, 98256, 98218, 98180, 98142, 98102, 98063, 98023, 97982, 97939, 97893, 97845, 97794, 97739, 97682, 97621, 97556, 97487, 97413, 97335, 97252, 97163, 97069, 96969, 96862, 96746, 96622, 96489, 96345, 96196, 96040, 95877, 95708, 95532, 95354, 95174, 94993, 94810, 94627, 94435, 94233, 94020, 93797, 93563, 93297, 92994, 92648, 92254, 91804, 91282, 90677, 89976, 89162, 88219, 87142, 85915, 84519, 82931, 81130, 79126, 76902, 74440, 71726, 68743, 65531, 62087, 58416, 54527, 50438, 46250, 41997, 37719, 33461, 29273, 25210, 21329, 17686, 14334, 11317, 8672, 6421, 4569, 3104, 1998, 1206, 674, 344, 156, 61, 20, 5, 1, 0, 0, 0, 0 };
                    int[] Table1984 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 98776, 98760, 98749, 98736, 98721, 98704, 98684, 98661, 98634, 98602, 98569, 98534, 98499, 98462, 98424, 98386, 98348, 98310, 98272, 98235, 98197, 98159, 98120, 98080, 98040, 97998, 97953, 97905, 97855, 97802, 97745, 97685, 97621, 97553, 97481, 97404, 97322, 97235, 97143, 97044, 96939, 96825, 96703, 96572, 96430, 96283, 96130, 95970, 95803, 95630, 95455, 95278, 95101, 94922, 94743, 94554, 94356, 94148, 93930, 93701, 93440, 93143, 92804, 92417, 91975, 91462, 90867, 90177, 89375, 88445, 87384, 86173, 84794, 83226, 81445, 79462, 77260, 74822, 72130, 69171, 65980, 62557, 58904, 55031, 50953, 46772, 42521, 38239, 33971, 29767, 25681, 21771, 18092, 14699, 11638, 8946, 6648, 4750, 3242, 2098, 1275, 718, 369, 170, 68, 22, 6, 1, 0, 0, 0, 0 };
                    int[] Table1985 = { 0, 0, 0, 0, 0, 0, 0, 0, 98839, 98823, 98807, 98796, 98783, 98769, 98752, 98732, 98709, 98682, 98651, 98618, 98584, 98549, 98512, 98474, 98437, 98399, 98362, 98325, 98288, 98251, 98213, 98174, 98136, 98096, 98054, 98010, 97964, 97914, 97862, 97806, 97747, 97684, 97617, 97546, 97471, 97390, 97305, 97214, 97117, 97013, 96901, 96781, 96652, 96513, 96368, 96217, 96060, 95896, 95726, 95554, 95380, 95206, 95031, 94855, 94670, 94476, 94273, 94059, 93835, 93580, 93288, 92956, 92576, 92142, 91638, 91053, 90373, 89584, 88667, 87620, 86426, 85064, 83515, 81754, 79793, 77614, 75198, 72530, 69594, 66425, 63023, 59389, 55531, 51465, 47292, 43044, 38759, 34481, 30262, 26154, 22216, 18502, 15069, 11964, 9226, 6880, 4935, 3385, 2202, 1346, 764, 397, 184, 75, 25, 7, 1, 0, 0, 0, 0 };
                    int[] Table1986 = { 0, 0, 0, 0, 0, 0, 0, 98901, 98884, 98868, 98852, 98841, 98829, 98815, 98798, 98779, 98756, 98729, 98698, 98665, 98632, 98597, 98561, 98523, 98486, 98449, 98412, 98375, 98339, 98303, 98265, 98227, 98189, 98150, 98109, 98066, 98020, 97972, 97920, 97865, 97807, 97745, 97680, 97610, 97535, 97456, 97372, 97283, 97188, 97085, 96976, 96857, 96730, 96593, 96451, 96302, 96147, 95986, 95819, 95650, 95480, 95309, 95137, 94965, 94784, 94594, 94395, 94185, 93966, 93716, 93431, 93105, 92732, 92305, 91810, 91235, 90566, 89788, 88885, 87852, 86674, 85330, 83799, 82059, 80119, 77962, 75569, 72924, 70011, 66865, 63484, 59869, 56027, 51974, 47809, 43565, 39278, 34992, 30758, 26629, 22663, 18916, 15444, 12295, 9510, 7117, 5126, 3532, 2310, 1421, 813, 426, 200, 82, 28, 8, 1, 0, 0, 0, 0 };
                    int[] Table1987 = { 0, 0, 0, 0, 0, 0, 98961, 98943, 98927, 98911, 98896, 98885, 98873, 98859, 98842, 98823, 98801, 98774, 98743, 98711, 98678, 98643, 98607, 98570, 98533, 98497, 98460, 98424, 98389, 98353, 98316, 98279, 98241, 98203, 98163, 98120, 98075, 98027, 97976, 97923, 97865, 97804, 97740, 97671, 97598, 97520, 97438, 97350, 97256, 97156, 97048, 96931, 96806, 96671, 96531, 96385, 96232, 96074, 95909, 95743, 95576, 95409, 95240, 95072, 94895, 94709, 94513, 94309, 94094, 93849, 93569, 93250, 92884, 92465, 91978, 91412, 90754, 89988, 89098, 88080, 86917, 85590, 84078, 82358, 80440, 78305, 75935, 73313, 70424, 67301, 63941, 60345, 56520, 52480, 48325, 44084, 39796, 35503, 31255, 27107, 23113, 19333, 15822, 12630, 9800, 7359, 5321, 3683, 2422, 1499, 864, 456, 217, 90, 31, 9, 2, 0, 0, 0, 0 };
                    int[] Table1988 = { 0, 0, 0, 0, 0, 99019, 99001, 98984, 98968, 98953, 98938, 98927, 98915, 98901, 98885, 98866, 98844, 98818, 98787, 98755, 98722, 98688, 98652, 98616, 98579, 98543, 98507, 98471, 98436, 98401, 98365, 98328, 98291, 98254, 98214, 98172, 98128, 98081, 98031, 97978, 97922, 97862, 97798, 97731, 97659, 97582, 97501, 97415, 97323, 97224, 97117, 97003, 96880, 96747, 96609, 96465, 96315, 96160, 95998, 95835, 95671, 95506, 95341, 95176, 95003, 94820, 94629, 94429, 94219, 93979, 93705, 93391, 93032, 92621, 92143, 91586, 90938, 90184, 89307, 88303, 87156, 85846, 84353, 82653, 80755, 78642, 76296, 73697, 70832, 67731, 64393, 60817, 57009, 52983, 48837, 44602, 40313, 36014, 31754, 27586, 23566, 19754, 16205, 12971, 10094, 7606, 5522, 3839, 2537, 1580, 917, 489, 235, 99, 35, 10, 2, 0, 0, 0, 0 };
                    int[] Table1989 = { 0, 0, 0, 0, 99083, 99057, 99040, 99024, 99008, 98993, 98978, 98968, 98956, 98942, 98926, 98908, 98886, 98860, 98829, 98797, 98765, 98731, 98696, 98659, 98623, 98587, 98552, 98517, 98482, 98447, 98412, 98376, 98339, 98303, 98264, 98222, 98179, 98133, 98084, 98031, 97976, 97917, 97855, 97788, 97718, 97643, 97563, 97478, 97387, 97290, 97185, 97073, 96952, 96821, 96685, 96544, 96396, 96243, 96084, 95924, 95763, 95601, 95440, 95278, 95108, 94930, 94743, 94546, 94341, 94106, 93837, 93530, 93177, 92774, 92303, 91756, 91119, 90376, 89512, 88522, 87390, 86098, 84623, 82942, 81066, 78975, 76651, 74077, 71234, 68157, 64841, 61285, 57495, 53483, 49347, 45117, 40829, 36525, 32253, 28066, 24022, 20178, 16592, 13316, 10393, 7858, 5727, 3999, 2657, 1665, 973, 523, 254, 108, 39, 11, 2, 0, 0, 0, 0 };
                    int[] Table1990 = { 0, 0, 0, 99149, 99119, 99094, 99078, 99062, 99046, 99031, 99017, 99007, 98995, 98982, 98966, 98948, 98926, 98900, 98870, 98838, 98806, 98772, 98737, 98701, 98666, 98630, 98595, 98561, 98527, 98492, 98457, 98422, 98386, 98350, 98312, 98271, 98228, 98183, 98135, 98083, 98029, 97971, 97910, 97844, 97775, 97701, 97622, 97539, 97450, 97354, 97251, 97141, 97021, 96893, 96759, 96620, 96475, 96324, 96168, 96010, 95852, 95694, 95535, 95377, 95211, 95036, 94853, 94661, 94460, 94230, 93967, 93665, 93319, 92923, 92461, 91923, 91295, 90564, 89712, 88737, 87620, 86344, 84888, 83227, 81372, 79303, 77002, 74451, 71632, 68579, 65284, 61749, 57977, 53980, 49855, 45632, 41344, 37036, 32753, 28548, 24480, 20606, 16983, 13665, 10698, 8115, 5937, 4164, 2781, 1753, 1031, 559, 274, 118, 43, 13, 3, 0, 0, 0, 0 };
                    int[] Table1991 = { 0, 0, 99217, 99183, 99154, 99130, 99114, 99098, 99083, 99068, 99054, 99044, 99033, 99020, 99004, 98986, 98964, 98939, 98909, 98878, 98845, 98812, 98778, 98742, 98707, 98672, 98637, 98603, 98570, 98536, 98501, 98466, 98431, 98396, 98358, 98318, 98276, 98231, 98184, 98134, 98080, 98023, 97963, 97898, 97830, 97757, 97680, 97598, 97511, 97417, 97315, 97206, 97089, 96963, 96831, 96694, 96551, 96403, 96249, 96095, 95940, 95784, 95629, 95474, 95311, 95140, 94961, 94773, 94576, 94351, 94093, 93797, 93458, 93068, 92614, 92085, 91468, 90748, 89909, 88947, 87846, 86587, 85148, 83507, 81673, 79626, 77348, 74820, 72025, 68995, 65723, 62209, 58455, 54473, 50360, 46144, 41859, 37546, 33253, 29032, 24940, 21036, 17378, 14019, 11007, 8378, 6152, 4334, 2908, 1844, 1093, 597, 295, 129, 48, 15, 3, 0, 0, 0, 0 };
                    int[] Table1992 = { 0, 99450, 99248, 99215, 99187, 99164, 99148, 99133, 99118, 99104, 99090, 99080, 99069, 99056, 99041, 99023, 99001, 98976, 98946, 98915, 98883, 98850, 98816, 98781, 98746, 98712, 98678, 98644, 98611, 98578, 98544, 98509, 98475, 98440, 98403, 98364, 98322, 98278, 98232, 98182, 98129, 98074, 98014, 97951, 97884, 97812, 97736, 97656, 97570, 97477, 97378, 97271, 97155, 97031, 96901, 96766, 96626, 96480, 96329, 96177, 96025, 95873, 95720, 95568, 95409, 95242, 95066, 94882, 94689, 94469, 94216, 93926, 93593, 93211, 92765, 92245, 91637, 90929, 90102, 89154, 88067, 86825, 85404, 83783, 81969, 79944, 77689, 75185, 72414, 69407, 66158, 62664, 58930, 54963, 50862, 46654, 42372, 38056, 33754, 29518, 25403, 21470, 17776, 14377, 11321, 8645, 6372, 4508, 3040, 1939, 1157, 637, 318, 141, 53, 16, 4, 0, 0, 0, 0 };
                    int[] Table1993 = { 100000, 99471, 99277, 99246, 99220, 99197, 99182, 99167, 99152, 99138, 99124, 99115, 99104, 99091, 99076, 99058, 99037, 99012, 98983, 98952, 98920, 98887, 98854, 98819, 98784, 98750, 98717, 98684, 98651, 98618, 98585, 98551, 98517, 98483, 98446, 98408, 98367, 98324, 98278, 98229, 98177, 98122, 98064, 98002, 97936, 97866, 97791, 97711, 97627, 97536, 97438, 97333, 97219, 97097, 96969, 96836, 96699, 96555, 96407, 96258, 96108, 95959, 95809, 95661, 95504, 95341, 95169, 94989, 94800, 94584, 94337, 94052, 93726, 93350, 92912, 92400, 91803, 91105, 90290, 89356, 88285, 87058, 85656, 84054, 82261, 80258, 78025, 75544, 72797, 69814, 66588, 63116, 59400, 55450, 51362, 47162, 42883, 38566, 34255, 30004, 25868, 21907, 18179, 14740, 11640, 8917, 6597, 4687, 3177, 2038, 1224, 680, 343, 154, 59, 19, 4, 0, 0, 0, 0 };
     
     
                    int[] Latable;
                    Latable = new int[Table1968.Length];
     
                    if (annee_naissance == 1968) { Latable = Table1968; }
                    else if (annee_naissance == 1969) { Latable = Table1969; }
                    else if (annee_naissance == 1970) { Latable = Table1970; }
                    else if (annee_naissance == 1971) { Latable = Table1971; }
                    else if (annee_naissance == 1972) { Latable = Table1972; }
                    else if (annee_naissance == 1973) { Latable = Table1973; }
                    else if (annee_naissance == 1974) { Latable = Table1974; }
                    else if (annee_naissance == 1975) { Latable = Table1975; }
                    else if (annee_naissance == 1976) { Latable = Table1976; }
                    else if (annee_naissance == 1977) { Latable = Table1977; }
                    else if (annee_naissance == 1978) { Latable = Table1978; }
                    else if (annee_naissance == 1979) { Latable = Table1979; }
                    else if (annee_naissance == 1980) { Latable = Table1980; }
                    else if (annee_naissance == 1981) { Latable = Table1981; }
                    else if (annee_naissance == 1982) { Latable = Table1982; }
                    else if (annee_naissance == 1983) { Latable = Table1983; }
                    else if (annee_naissance == 1984) { Latable = Table1984; }
                    else if (annee_naissance == 1985) { Latable = Table1985; }
                    else if (annee_naissance == 1986) { Latable = Table1986; }
                    else if (annee_naissance == 1987) { Latable = Table1987; }
                    else if (annee_naissance == 1988) { Latable = Table1988; }
                    else if (annee_naissance == 1989) { Latable = Table1989; }
                    else if (annee_naissance == 1990) { Latable = Table1990; }
                    else if (annee_naissance == 1991) { Latable = Table1991; }
                    else if (annee_naissance == 1992) { Latable = Table1992; }
                    else if (annee_naissance == 1993) { Latable = Table1993; }
                    else if (annee_naissance > 1993) { Latable = Table1993; }

  6. #6
    Futur Membre du Club
    Profil pro
    Inscrit en
    Juin 2007
    Messages
    15
    Détails du profil
    Informations personnelles :
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Juin 2007
    Messages : 15
    Points : 6
    Points
    6
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    int lx_TPG_4 = Latable[x];
     
                    return (lx_TPG_4);
                }
            }
     
                public class fonctions3
                {
     
                    /** Creates a new instance of fonctions3 */
                    public static double Dx(String table, int X, int annee_naissance, double i)
                    {
                        double Dx;
                        int age_table;
                        double v;
                        v = 1 / (1 + i);
                        if (table == "TPRV93") { age_table = X + fonctions.DecalageAge(annee_naissance, i); }
                        else { age_table = X; }
                        Dx = fonctions2.lx(table, X, annee_naissance, i) * (Math.Pow(v, age_table));
                        return (Dx);
                    }
     
     
     
     
                    public static double Cx(String table, int X, int annee_naissance, double i)
                    {
     
                        double Cx;
                        int age_table;
                        double v;
                        v = 1 / (1 + i);
                        double temp;
                        temp = 0;
     
                        if (table == "TPRV93") { age_table = X + fonctions.DecalageAge(annee_naissance, i); }
                        else { age_table = X; }
     
                        temp = fonctions2.lx(table, X, annee_naissance, i) - fonctions2.lx(table, X + 1, annee_naissance, i);
                        Cx = temp * Math.Pow(v, (age_table + 0.5));
                        return (Cx);
                    }
     
     
                    public static double Mx(String table, int X, int annee_naissance, double i)
                    {
     
                        double Mx = 0;
                        double temp = 0;
     
                        for (int s = 0; s < 120 - X; s++)
                        {
                            temp = Cx(table, X + s, annee_naissance, i);
                            Mx = Mx + temp;
                        }
     
                        return (Mx);
                    }
     
                }
                public class fonctions4
                {
     
                    /** Creates a new instance of fonctions4 */
     
                    public static double Ax_deces(String table, int X, int annee_naissance, double i)
                    {
     
                        double Ax_deces = -10000000;
     
                        for (int j = 0; j < 1000; j++)
                        {
                            if (fonctions3.Dx(table, X, annee_naissance, i) == 0) { Ax_deces = 0; }
                            else { Ax_deces = fonctions3.Mx(table, X, annee_naissance, i) / fonctions3.Dx(table, X, annee_naissance, i); }
                        }
                        return (Ax_deces);
                    }
                }
     
     
     
     
            private void button1_Click(object sender, EventArgs e)
            {
                double temps1 = System.Environment.TickCount;
                textBox1.Text = Convert.ToString(fonctions.DecalageAge(1945, 0.005));
                textBox2.Text = Convert.ToString(fonctions2.lx("TPG93", 35, 1970, 0.05));
                textBox3.Text = Convert.ToString(fonctions3.Dx("TD88", 35, 1954, 0.05));
                textBox4.Text = Convert.ToString(fonctions3.Cx("TPRV93", 35, 1954, 0.05));
                textBox5.Text = Convert.ToString(fonctions3.Mx("TD88", 35, 1954, 0.05));
                textBox6.Text = Convert.ToString(fonctions4.Ax_deces("TD88", 35, 1954, 0.05));
                double temps2 = System.Environment.TickCount;
                textBox7.Text = Convert.ToString(temps2 - temps1);
            }
     
            }
     
    }

  7. #7
    Membre régulier

    Profil pro
    Inscrit en
    Mars 2006
    Messages
    90
    Détails du profil
    Informations personnelles :
    Âge : 38
    Localisation : Belgique

    Informations forums :
    Inscription : Mars 2006
    Messages : 90
    Points : 114
    Points
    114
    Par défaut
    il est sense faire quoi ton programme parce qu'on voit des tableaux partout...
    et merci de ne pas oublier le
    Please one little click on Nounou-land... Thanks !!

  8. #8
    Membre averti
    Profil pro
    Développeur informatique
    Inscrit en
    Avril 2003
    Messages
    321
    Détails du profil
    Informations personnelles :
    Âge : 40
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Avril 2003
    Messages : 321
    Points : 360
    Points
    360
    Par défaut
    Si tu souhaite etre aidé, il faut je pense faire un effort et reperer au moins sommairement les points qui posent probleme : qu'est censé faire le programme ? L'utilisation d'un profiler (tptp sous eclipse ou le profiler integré à netbean) te permettra de reperer les méthodes qui consomment le plus de temps cpu au cours de ton execution. C'est sur ces méthodes qu'il faudra t'efforcer d'apporter des optmisation (ou tout simplement des corrections)

  9. #9
    Membre actif Avatar de hydraland
    Profil pro
    Développeur Java
    Inscrit en
    Mai 2006
    Messages
    179
    Détails du profil
    Informations personnelles :
    Localisation : France, Isère (Rhône Alpes)

    Informations professionnelles :
    Activité : Développeur Java

    Informations forums :
    Inscription : Mai 2006
    Messages : 179
    Points : 239
    Points
    239
    Par défaut
    Salut,

    Je me trompe peut être mais le code que tu nous as fourni est écrit en C#. Donc sur le forum java on ne pourra pas trop t'aider. Poste ton message sur le forum adéquate.

    A+
    Hydraland

  10. #10
    Membre averti
    Profil pro
    Développeur informatique
    Inscrit en
    Avril 2003
    Messages
    321
    Détails du profil
    Informations personnelles :
    Âge : 40
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Développeur informatique

    Informations forums :
    Inscription : Avril 2003
    Messages : 321
    Points : 360
    Points
    360
    Par défaut
    c'est exact

  11. #11
    Membre chevronné
    Avatar de Piotrek
    Homme Profil pro
    Développeur .NET
    Inscrit en
    Mars 2004
    Messages
    869
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Ain (Rhône Alpes)

    Informations professionnelles :
    Activité : Développeur .NET

    Informations forums :
    Inscription : Mars 2004
    Messages : 869
    Points : 1 904
    Points
    1 904
    Par défaut
    Salut

    Heu il y a trop de code la, j'ai passe 5 min a survoler et j'ai rien vu de choquant. Essaie de chronometrer chaque methode pour savoir ce qui prend du temps, ensuite chaque bloc de code des methodes les plus lentes et viens nous dire d'ou ca vient precisement

  12. #12
    Membre expérimenté Avatar de davcha
    Profil pro
    Inscrit en
    Avril 2004
    Messages
    1 258
    Détails du profil
    Informations personnelles :
    Âge : 42
    Localisation : France

    Informations forums :
    Inscription : Avril 2004
    Messages : 1 258
    Points : 1 539
    Points
    1 539
    Par défaut
    Citation Envoyé par Adam_01
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
     
                public class fonctions4
                {
     
                    /** Creates a new instance of fonctions4 */
     
                    public static double Ax(String table, int X, int an, double i)
                    {
     
                        double Ax = -10000000;
     
                        for (int j = 0; j < 1000; j++)
                        {
                            if (fonctions3.Dx(table, X, an, i) == 0) { Ax = 0; }
                            else { Ax = fonctions3.Mx(table, X, an, i) / fonctions3.Dx(table, X, an, i); }
                        }
                        return (Ax);
                    }
                }
    Déjà, là, c'est quoi l'intérêt au juste d'avoir une boucle de 0 à 999 qui calcule toujours la même chose ?
    fonciton3.Dx et .Mx n'ont pas d'effets de bord, hein ?

    Et... if(fonction3.Dx(....)==0){...}else{.... / fonction3.Dx(...);}
    Y'a ptet moyen de sauvegarder le résultat du calcul de fonction3.Dx, histoire de pas le refaire une seconde fois ?

    Sinon, le coup des tableaux nommés, euh... Tableau bidimentionnel, plutôt, non ?

  13. #13
    Futur Membre du Club
    Profil pro
    Inscrit en
    Juin 2007
    Messages
    15
    Détails du profil
    Informations personnelles :
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Juin 2007
    Messages : 15
    Points : 6
    Points
    6
    Par défaut
    Merci pour toutes ces réponses. Je vais essayer de m'expliquer par ordre de réponse:

    - Le programme est sensé calculer des rentes viagères principalement.

    - Les 1000 boucles me permettent de comparer le temps d'exécution avec vba et Java de façon plus précise.

    - Le tableau bidimmensionnel permet-il de réduire ce temps d'exécution?

    - Enfin, il semblerait que la durée d'exécution soit liée à la machine virtuelle sur laquelle est installé C#, ce qui n'était pas le cas pou les autres logiciels.

    Merci encore

  14. #14
    Rédacteur
    Avatar de SaumonAgile
    Homme Profil pro
    Team leader
    Inscrit en
    Avril 2007
    Messages
    4 028
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Moselle (Lorraine)

    Informations professionnelles :
    Activité : Team leader
    Secteur : Conseil

    Informations forums :
    Inscription : Avril 2007
    Messages : 4 028
    Points : 6 334
    Points
    6 334
    Par défaut
    Citation Envoyé par Adam_01
    il semblerait que la durée d'exécution soit liée à la machine virtuelle sur laquelle est installé C#
    Hmm, ça ne veut pas dire grand chose...
    Tu es en train de dire que tu as fait les tests avec ton programme .NET en le faisant tourner sur une machine virtuelle de type VirtualPC ou VMWare ?
    Besoin d'un MessageBox amélioré ? InformationBox pour .NET 1.1, 2.0, 3.0, 3.5, 4.0 sous license Apache 2.0.

    Bonnes pratiques pour les accès aux données
    Débogage efficace en .NET
    LINQ to Objects : l'envers du décor

    Mon profil LinkedIn - MCT - MCPD WinForms - MCTS Applications Distribuées - MCTS WCF - MCTS WCF 4.0 - MCTS SQL Server 2008, Database Development - Mon blog - Twitter

  15. #15
    Membre actif Avatar de Luffy49
    Profil pro
    Étudiant
    Inscrit en
    Mars 2007
    Messages
    399
    Détails du profil
    Informations personnelles :
    Âge : 37
    Localisation : France

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Mars 2007
    Messages : 399
    Points : 247
    Points
    247
    Par défaut
    Oui je pense qu'il a voulu dire sa ... En tous cas sa expliquerait les lenteurs.

    Corriger moi si je me trompe mais Java est plus lent que c# normalement non ?
    La connaissance n'est rien si elle n'est pas partagé

    Citation de Confucius :
    Ceux dont la connaissance est innée sont des hommes tout à fait supérieurs. Puis viennent ceux qui acquièrent cette connaissance par l'étude. Enfin, ceux qui, même dans la détresse, n'étudient pas : c'est le peuple.

  16. #16
    Rédacteur
    Avatar de dev01
    Profil pro
    Inscrit en
    Mai 2004
    Messages
    2 451
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2004
    Messages : 2 451
    Points : 6 017
    Points
    6 017
    Par défaut
    Salut .

    Plusieurs choses :

    - Les fonctions de la classe Math ne sont pas la juste pour faire jolie tu peux donc utiliser les Min, Max, etc etc plutot que de les recoder.

    - Les Console.WriteLine sont extremement lent commentes les ça devrait être mieux.

    - Les résultats intermédaires doivent être stocké dans des variables afin d'éviter le recalcul.

    Et a part une diff de perf entre java et dotnet c'est quoi le pb ?
    - MVP C#
    -Tout problème a une solution, le vrai problème est de trouver la solution .....
    - Linux & mono : l'avenir

  17. #17
    Membre du Club
    Inscrit en
    Mars 2007
    Messages
    167
    Détails du profil
    Informations forums :
    Inscription : Mars 2007
    Messages : 167
    Points : 63
    Points
    63
    Par défaut
    Mais alors franchement pour moi le passage de Java a CS est une desolation, c'est 100 fois plus lent, les redraw sont un carnage...

    A la limite si c est pas une erreur de vitesse, Java2D gere mieux que GDI+ avec CS

    Et comment kon fait pour calculer le temps des methodes ?

  18. #18
    Rédacteur
    Avatar de SaumonAgile
    Homme Profil pro
    Team leader
    Inscrit en
    Avril 2007
    Messages
    4 028
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Moselle (Lorraine)

    Informations professionnelles :
    Activité : Team leader
    Secteur : Conseil

    Informations forums :
    Inscription : Avril 2007
    Messages : 4 028
    Points : 6 334
    Points
    6 334
    Par défaut
    Citation Envoyé par sayag
    Mais alors franchement pour moi le passage de Java a CS est une desolation, c'est 100 fois plus lent, les redraw sont un carnage...

    A la limite si c est pas une erreur de vitesse, Java2D gere mieux que GDI+ avec CS
    Ce n'est pas la peine de commencer à troller sur Java vs .NET, si tu codes en .NET comme en Java, c'est normal que tu aies ce genre de problèmes.
    Mais cela dit, ce n'est pas le débat ici.
    Besoin d'un MessageBox amélioré ? InformationBox pour .NET 1.1, 2.0, 3.0, 3.5, 4.0 sous license Apache 2.0.

    Bonnes pratiques pour les accès aux données
    Débogage efficace en .NET
    LINQ to Objects : l'envers du décor

    Mon profil LinkedIn - MCT - MCPD WinForms - MCTS Applications Distribuées - MCTS WCF - MCTS WCF 4.0 - MCTS SQL Server 2008, Database Development - Mon blog - Twitter

  19. #19
    Futur Membre du Club
    Profil pro
    Inscrit en
    Juin 2007
    Messages
    15
    Détails du profil
    Informations personnelles :
    Localisation : France, Paris (Île de France)

    Informations forums :
    Inscription : Juin 2007
    Messages : 15
    Points : 6
    Points
    6
    Par défaut
    Hmm, ça ne veut pas dire grand chose...
    Tu es en train de dire que tu as fait les tests avec ton programme .NET en le faisant tourner sur une machine virtuelle de type VirtualPC ou VMWare ?
    C'est une machine virtuelle de type VirtualPC mais j'ai contourner le pb:

    Corriger moi si je me trompe mais Java est plus lent que c# normalement non ?
    en créeant des fichiers d'installation pour les 2 et en les faisant tourner sur un PC, c'est C# le plus rapide ... à moins d'une erreur (pour 1000 boucles 13s pour C# et 62 pour Java)

    Les fonctions de la classe Math ne sont pas la juste pour faire jolie tu peux donc utiliser les Min, Max, etc etc plutot que de les recoder.
    Merci, je viens de les enlever et de les remplacer par Math.Max et Min.

    - Les Console.WriteLine sont extremement lent commentes les ça devrait être mieux.

    - Les résultats intermédaires doivent être stocké dans des variables afin d'éviter le recalcul.
    Je vais essayer de suivre ton conseil, merci.

Discussions similaires

  1. [EG] Temps d'exécution très long
    Par Invité dans le forum Outils BI
    Réponses: 18
    Dernier message: 18/11/2010, 21h56
  2. Proc ASSIGN temps d'exécution très, trop long
    Par bdbdb dans le forum SAS STAT
    Réponses: 1
    Dernier message: 02/03/2009, 16h39
  3. Temps d'exécution très long : jointure
    Par ddazou dans le forum SQL
    Réponses: 18
    Dernier message: 28/10/2008, 21h59
  4. temps d'exécution trop long trés bizarre
    Par fatjoe dans le forum C++
    Réponses: 0
    Dernier message: 09/05/2008, 02h42
  5. Temps d'affichage très long
    Par linar009 dans le forum PostgreSQL
    Réponses: 38
    Dernier message: 14/08/2006, 10h00

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo