[Scilab-users] atomsLoad

Samuel Gougeon sgougeon at free.fr
Tue Jan 5 11:32:37 CET 2021


Le 04/01/2021 à 15:55, Jean-Yves Baudais a écrit :
> .../...
> 5) boundary_conditions_emd.sci file, the function moc_fliplr should be added at the end of the file
> function y = moc_fliplr(x)
> //  Copyright Aldo I Maalouf
> if ndims(x)~=2,
> disp('X must be a 2-D matrix!')
> end
> y = x(:,$:-1:1);
> endfunction
>
> The modification 1) is really a minor one. The remove of moc_fliplr() function in boundary_conditions_emd.sci file is very strange (this function exists in older emd_toolbox version!).

flipdim() does the same and is available since Scilab 5.0. Keeping 
useless external dependencies (here on the moc_ toolbox) complicates a 
lot the maintenance -- and so the actual availability -- of external 
modules.

Samuel




More information about the users mailing list