This file is indexed.

/usr/share/psychtoolbox-3/PsychProbability/NormalCumulative.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 prob = NormalCumulative(x,u,var)
% function prob = NormalCumulative(x,u,var)
% 
% Compute the probability that a draw from a N(u,var) distribution is less
% than x.
%
% 6/25/96  dhb  Fixed for new erf convention.
% 7/24/04  awi  Cosmetic

[m,n] = size(x);
z = (x - u*ones(m,n))/sqrt(var);
prob = 0.5 + erf(z/sqrt(2))/2;