2 // Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 // Copyright (C) 2012-2012 - Scilab Enterprises - Bruno JOFRET
5 // This file must be used under the terms of the CeCILL.
6 // This source file is licensed as described in the file COPYING, which
7 // you should have received as part of this distribution. The terms
8 // are also available at
9 // http://www.cecill.info/licences/Licence_CeCILL_V2.1-en.txt
12 function demo_bubbleSort()
13 function res=bubbleSort(in, polyline)
14 for (i = 1:size(in, "*"))
20 polyline.data(:,2) = in';
28 x = floor(rand(1, nbValues) * nbValues);
30 demo_viewCode(SCI+"/modules/graphics/demos/anim/bubbleSort/bubbleSort.sci");
33 e = a.children(1).children(1);