This file is indexed.

/usr/include/hmat/compression.hpp is in libhmat-oss-dev 1.2.0-2ubuntu1.

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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/*
  HMat-OSS (HMatrix library, open source software)

  Copyright (C) 2014-2015 Airbus Group SAS

  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License
  as published by the Free Software Foundation; either version 2
  of the License, or (at your option) any later version.

  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.

  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.

  http://github.com/jeromerobert/hmat-oss
*/

#ifndef _COMPRESSION_HPP
#define _COMPRESSION_HPP
/* Implementation of the algorithms of blocks compression */
#include "data_types.hpp"

/** Choice of the compression method.
 */
#include "assembly.hpp"

namespace hmat {

enum CompressionMethod {
  Svd, AcaFull, AcaPartial, AcaPlus, NoCompression
};
class IndexSet;

/** Compress a FullMatrix into an RkMatrix.

    The compression uses the reduced SVD, and the accurarcy is
    controlled by \a RkMatrix::approx.

    \param m The matrix to compress. It is modified but not detroyed by the function.
    \param rows The block rows
    \param cols The block colums
    \return A RkMatrix approximationg the argument \a m.
*/
template<typename T>
RkMatrix<T>* compressMatrix(FullMatrix<T>* m, const IndexSet* rows,
                            const IndexSet* cols);

/** Compress a block into an RkMatrix.

    \param method The compression method
    \param f The assembly functions used to compute block elements
    \param rows The block rows
    \param cols The block colums
    \return A RkMatrix representation of the rows x cols block.
*/
template<typename T>
RkMatrix<typename Types<T>::dp>*
compress(CompressionMethod method, const Function<T>& f,
         const ClusterData* rows, const ClusterData* cols,
         const AllocationObserver & = AllocationObserver());

}  // end namespace hmat
#endif