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