32 #include "ope_elementary.h" 41 Matrice _cl_sec_order_pas_prevu (
const Matrice& so) {
42 cout <<
"CL Sec_order not implemented" << endl ;
52 Matrice _cl_sec_order_r_cheb (
const Matrice& source) {
55 assert (n==source.get_dim(1)) ;
57 Matrice barre(source) ;
59 for (
int i=0 ; i<n-2 ; i++) {
60 for (
int j=0 ; j<n ; j++)
61 barre.set(i, j) = ((1+dirac)*source(i, j)-source(i+2, j))
67 for (
int i=0 ; i<n-4 ; i++)
68 for (
int j=0 ; j<n ; j++)
69 res.set(i, j) = barre(i, j)-barre(i+2, j) ;
90 cl_sec_order[i] = _cl_sec_order_pas_prevu ;
93 cl_sec_order[
R_CHEB >>
TRA_R] = _cl_sec_order_r_cheb ;
Matrice * ope_cl
Pointer on the banded-matrix of the operator.
virtual void do_ope_cl() const
Computes the banded-matrix of the operator.
Matrice * ope_mat
Pointer on the matrix representation of the operator.
int base_r
Radial basis of decomposition.
#define TRA_R
Translation en R, used for a bitwise shift (in hex)
int get_dim(int i) const
Returns the dimension of the matrix.
virtual void do_ope_mat() const
Computes the matrix of the operator.
#define MAX_BASE
Nombre max. de bases differentes.
#define R_CHEB
base de Chebychev ordinaire (fin)