01.05.2013 Views

C++ et éléments finis Note de cours de DEA (version provisoire)

C++ et éléments finis Note de cours de DEA (version provisoire)

C++ et éléments finis Note de cours de DEA (version provisoire)

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

16 CHAPITRE 3. LES CLASSES TABLEAUX<br />

#inclu<strong>de</strong> "RNM.hpp"<br />

#inclu<strong>de</strong> "assert.h"<br />

using namespace std ;<br />

type<strong>de</strong>f double R ;<br />

type<strong>de</strong>f KN Rn ;<br />

type<strong>de</strong>f KN_ Rn_ ;<br />

type<strong>de</strong>f KNM Rnm ;<br />

type<strong>de</strong>f KNM_ Rnm_ ;<br />

type<strong>de</strong>f KNMK Rnmk ;<br />

type<strong>de</strong>f KNMK_ Rnmk_ ;<br />

R f(int i){r<strong>et</strong>urn i ;}<br />

R g(int i){r<strong>et</strong>urn -i ;}<br />

int main()<br />

{<br />

const int n= 8 ;<br />

// <strong>de</strong>finition <strong>de</strong>s 6 types <strong>de</strong> base <strong>de</strong>s tableaux a 1,2 <strong>et</strong> 3 param<strong>et</strong>res<br />

cout

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!