This file is indexed.

/usr/share/doc/octave-lhapdf/examples/lhapdf-octave-example1.m is in octave-lhapdf 5.9.1-3build1.

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
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# A brief example of how to use the Octave LHAPDF wrapper.
# Original author: Philip Ilten

# First let's read the helpfile
help lhapdf

# Now we print some information about the PDF set we select
dataset = 'cteq5l.LHgrid';
subset  = 0;
alphasorder = lhapdf('alphasorder',dataset,subset)
pdforder    = lhapdf('pdforder',dataset,subset)
xmin        = lhapdf('xmin',dataset,subset)
xmax        = lhapdf('xmax',dataset,subset)

# Next we plot the structure for a gluon in a nucleon at a momentum transfer
# of 20 GeV.
x = [0:.01:1];
Q = 20*ones(size(x));
f = zeros(size(x));
xfx = lhapdf(x,Q,f,dataset,subset);
semilogy(x,xfx);
xlabel('x');
ylabel('xf(x)');


# Finally we plot the running of the strong coupling constant
Q = [0:0.1:1000];
alphas = lhapdf('alphas',Q,dataset,subset);
figure(2)
loglog(Q,alphas)
xlabel('Q');
ylabel('\alpha_s(Q)');
ylim([0.05 1]);