/usr/share/psychtoolbox-3/PsychGamma/ComputeGammaPolyR.m is in psychtoolbox-3-common 3.0.11.20140816.dfsg1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | function output = ComputeGammaPolyR(x,input)
% output = ComputeGammaPolyR(x,input)
%
% Compute gamma table using polynomial function.
% Relies on Matlab's built-in polyeval. No normalization
% or non-negativity constraint.
%
% 10/20/93 dhb Created from ComputeGammaPoly
% Compute output on full range, make it monotonic.
xP = [x ; 0];
output = polyval(xP',input);
|