This file is indexed.

/usr/include/sc_lapack.h is in libp4est-dev 1.1-5.

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
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
/*
  This file is part of the SC Library.
  The SC Library provides support for parallel scientific applications.

  Copyright (C) 2010 The University of Texas System

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

  The SC Library 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
  Lesser General Public License for more details.

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

#ifndef SC_LAPACK_H
#define SC_LAPACK_H

#include <sc_blas.h>

SC_EXTERN_C_BEGIN;

typedef enum sc_jobz
{
  SC_EIGVALS_ONLY,
  SC_EIGVALS_AND_EIGVECS,
  SC_JOBZ_ANCHOR
}
sc_jobz_t;

extern const char   sc_jobzchar[];

#ifdef SC_WITH_LAPACK

#ifndef SC_F77_FUNC
#define SC_F77_FUNC(small,CAPS) small ## _
#endif

#define SC_LAPACK_DGELS   SC_F77_FUNC(dgels,DGELS)
#define SC_LAPACK_DGETRF  SC_F77_FUNC(dgetrf,DGETRF)
#define SC_LAPACK_DGETRS  SC_F77_FUNC(dgetrs,DGETRS)
#define SC_LAPACK_DSTEV   SC_F77_FUNC(dstev,DSTEV)
#define SC_LAPACK_DTRSM   SC_F77_FUNC(dtrsm,DTRSM)
#define SC_LAPACK_DLAIC1  SC_F77_FUNC(dlaic1,DLAIC1)
#define SC_LAPACK_ILAENV  SC_F77_FUNC(ilaenv,ILAENV)

void                SC_LAPACK_DGELS (const char *trans,
                                     const sc_bint_t * m, const sc_bint_t * n,
                                     const sc_bint_t * nrhs, double *a,
                                     const sc_bint_t * lda, double *b,
                                     const sc_bint_t * ldb, double *work,
                                     const sc_bint_t * lwork,
                                     sc_bint_t * info);
void                SC_LAPACK_DGETRF (const sc_bint_t * m,
                                      const sc_bint_t * n, double *a,
                                      const sc_bint_t * lda, sc_bint_t * ipiv,
                                      sc_bint_t * info);

void                SC_LAPACK_DGETRS (const char *trans, const sc_bint_t * n,
                                      const sc_bint_t * nrhs, const double *a,
                                      const sc_bint_t * lda,
                                      const sc_bint_t * ipiv, double *b,
                                      const sc_bint_t * ldx,
                                      sc_bint_t * info);

void                SC_LAPACK_DSTEV (const char *jobz,
                                     const sc_bint_t * n,
                                     double *d,
                                     double *e,
                                     double *z,
                                     const sc_bint_t * ldz,
                                     double *work, sc_bint_t * info);

void                SC_LAPACK_DTRSM (const char *side,
                                     const char *uplo,
                                     const char *transa,
                                     const char *diag,
                                     const sc_bint_t * m,
                                     const sc_bint_t * n,
                                     const double *alpha,
                                     const double *a,
                                     const sc_bint_t * lda,
                                     const double *b, const sc_bint_t * ldb);

void                SC_LAPACK_DLAIC1 (const int *job,
                                      const int *j,
                                      const double *x,
                                      const double *sest,
                                      const double *w,
                                      const double *gamma,
                                      double *sestpr, double *s, double *c);

int                 SC_LAPACK_ILAENV (const sc_bint_t * ispec,
                                      const char *name,
                                      const char *opts,
                                      const sc_bint_t * N1,
                                      const sc_bint_t * N2,
                                      const sc_bint_t * N3,
                                      const sc_bint_t * N4,
                                      sc_buint_t name_length,
                                      sc_buint_t opts_length);

#else /* !SC_WITH_LAPACK */

#define SC_LAPACK_DGELS    (void) sc_lapack_nonimplemented
#define SC_LAPACK_DGETRF   (void) sc_lapack_nonimplemented
#define SC_LAPACK_DGETRS   (void) sc_lapack_nonimplemented
#define SC_LAPACK_DSTEV    (void) sc_lapack_nonimplemented
#define SC_LAPACK_DTRSM    (void) sc_lapack_nonimplemented
#define SC_LAPACK_DLAIC1   (void) sc_lapack_nonimplemented
#define SC_LAPACK_ILAENV   (int)  sc_lapack_nonimplemented

int                 sc_lapack_nonimplemented ();

#endif

SC_EXTERN_C_END;

#endif /* !SC_LAPACK_H */