1// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
2// Copyright (C) Samuel GOUGEON - Le Mans Université
3//
4// This file is hereby licensed under the terms of the GNU GPL v2.0,
5// pursuant to article 5.3.4 of the CeCILL v.2.1.
6// This file was originally licensed under the terms of the CeCILL v2.1,
7// and continues to be available under such terms.
8// For more information, see the COPYING file which you should have received
9// along with this program.
10
11function r = %sp_f_b(a, b)
12    //  [sparse ; boolean]
13    r = [a ; sparse(bool2s(b))]
14endfunction
15