function m = addTwo2OneRev(m, from1, from2, to, fwd, rev)
% ADDTWO2ONEREV adds a x(1) + x(2) <--> x(3) reaction to the model.
%
% m = addTwo2One(m, from1, from2, to, fwd, rev) adds a reaction to the model m of the 
% form:
%                       p(fwd)
% x(from1) + x(from2) <--------> x(to)
%                       p(rev)
%
% See also
%   addTwo2One
%   addOne2Two
%   addOne2OneRev
%   addInputTwo2OneRev

% This work is licensed under the Creative Commons Attribution-Noncommercial-No Derivative 
% Works 3.0 United States License. To view a copy of this license, visit 
% http://creativecommons.org/licenses/by-nc-nd/3.0/us/ or send a letter to Creative Commons,
% 171 Second Street, Suite 300, San Francisco, California, 94105, USA.

    m = addTwo2One(m, from1, from2,    to, fwd);
    m = addOne2Two(m,    to, from1, from2, rev);
end