%% %CopyrightBegin%
%%
%% SPDX-License-Identifier: Apache-2.0
%%
%% Copyright Ericsson AB 2021-2025. All Rights Reserved.
%%
%% %CopyrightEnd%

[;1m  image(BinRel, Set1)[0m

  Returns the image of set [;;4mSet1[0m under the binary relation [;;4mBinRel[0m.

[;1mExamples[0m

    1> R = sofs:relation([{1,a},{2,b},{2,c},{3,d}]).
    2> S1 = sofs:set([1,2]).
    3> S2 = sofs:image(R, S1).
    4> sofs:to_external(S2).
    [a,b,c]
