function w = bitreplicate(u, ~)
% MATLAB Code Generation Library function.

%   Copyright 2002-2014 The MathWorks, Inc.
%#codegen

if eml_ambiguous_types
    w = eml_guessdouble(eml_not_const(reshape(zeros(size(u)),size(u))));
    return;
end

eml_invariant(false, ...
    'fixed:coder:functionNotDefinedFor1stArgType', 'BITREPLICATE', class(u));

w = 0;
