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 = %b_f_sp(a, b)
12    //  [boolean ; sparse]
13    r = [sparse(bool2s(a)) ; b]
14endfunction
15