00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 char ope_elementary_C[] = "$Header: /cvsroot/Lorene/C++/Source/Ope_elementary/ope_elementary.C,v 1.1 2003/12/11 14:48:50 p_grandclement Exp $" ;
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034 #include "proto.h"
00035 #include "ope_elementary.h"
00036
00037
00038 Ope_elementary::Ope_elementary (int nbr, int base, double alf, double bet) :
00039 nr (nbr), base_r (base), alpha(alf), beta(bet),
00040 ope_mat(0x0), ope_cl (0x0), non_dege(0x0) {}
00041
00042
00043 Ope_elementary::Ope_elementary (const Ope_elementary& so) :
00044 nr (so.nr), base_r(so.base_r), alpha(so.alpha), beta(so.beta),
00045 ope_mat(0x0), ope_cl (0x0), non_dege(0x0) {
00046
00047 if (so.ope_mat != 0x0)
00048 ope_mat = new Matrice (*so.ope_mat) ;
00049
00050 if (so.ope_cl != 0x0)
00051 ope_cl = new Matrice (*so.ope_cl) ;
00052
00053 if (so.non_dege != 0x0)
00054 non_dege = new Matrice (*so.non_dege) ;
00055 }
00056
00057
00058 Ope_elementary::~Ope_elementary() {
00059 if (ope_mat != 0x0)
00060 delete ope_mat ;
00061
00062 if (ope_cl != 0x0)
00063 delete ope_cl ;
00064
00065 if (non_dege != 0x0)
00066 delete non_dege ;
00067 }
00068