20 lines
381 B
Mathematica
20 lines
381 B
Mathematica
|
function resultats = recherche_simplifiee(identifiants, bdd)
|
||
|
|
||
|
resultats = [];
|
||
|
|
||
|
for i = 1:length(identifiants)
|
||
|
|
||
|
if isKey(bdd, identifiants(i))
|
||
|
entry = bdd(identifiants(i));
|
||
|
|
||
|
if length(entry) == 0
|
||
|
continue;
|
||
|
end
|
||
|
|
||
|
resultats = [ resultats ; entry(:, 2) ];
|
||
|
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
|