This file is indexed.

/usr/share/octave/packages/3.2/statistics-1.0.10/gamlike.m is in octave-statistics 1.0.10-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
13
14
15
16
17
18
## -*- texinfo -*-
## @deftypefn {Function File} {} X = gamlike ([@var{A} @var{B}], @var{R})
## Calculates the negative log-likelihood function for the Gamma
## distribution over vector R, with the given parameters A and B.
## @seealso{gampdf, gaminv, gamrnd, gamfit}
## @end deftypefn

## Written by Martijn van Oosterhout <kleptog@svana.org> (Nov 2006)
## This code is public domain

function res = gamlike(P,K)

a=P(1);
b=P(2);

res = -sum( log( gampdf(K, a, b) ) )