void Craig_etal_L1 ( Im2D_REAL8 A, Im1D_REAL8 B, REAL TOLER, Im1D_REAL8 SOL, Im1D_REAL8 RESIDU ) { INT n = SOL.tx(); INT m = B.tx(); BENCH_ASSERT ( (A.tx() == n+2) && (A.ty() == m+2) && (B.tx() == m) && (SOL.tx() == n) && (RESIDU.tx() == m) ); Craig_Barrodale_Roberts_l1 ( m,n, A.data_lin(), B.data(), TOLER, SOL.data(), RESIDU.data() ); }
void cDbleGrid::SauvDataGrid ( const std::string & aNameDir, Im2D_REAL8 anIm, const std::string & aName ) { std::string aFullName = aNameDir + aName + ".dat"; ELISE_fp aFp(aFullName.c_str(),ELISE_fp::WRITE); aFp.write(anIm.data_lin(),sizeof(double),anIm.tx()*anIm.ty()); aFp.close(); }