This file is indexed.

/usr/include/rheolef/blas1-sparse-no-tmpl.h is in librheolef-dev 5.93-2.

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
127
128
129
130
131
132
133
134
135
136
137
#ifndef _SKIT_BLAS1_SPARSE_NO_TMPL_H
#define _SKIT_BLAS1_SPARSE_NO_TMPL_H
//
// sparse vectors
// blas 1 expressions without template expression
//
// author: Pierre.Saramito@imag.fr
//
// date: 11 march 1997
//
# include "avec.h"
# include "blas-algorithm.h"
namespace rheolef { 

// unary operators
template <class T>
inline
avec<T>
operator + (const avec<T>& sx)
{
    return sx;
}   
template <class T>
inline
avec<T>
operator - (const avec<T>& sx)
{
    avec<T> sz(sx.n());
    szassignopsx (sz, std::negate<T>(), sx.begin(), sx.end());
    return sz;
}
// unary functions: only f such that f(0) = 0 !


// binary operators + and -
template<class T>
inline
avec<T>
operator + (const avec<T>& sx, const avec<T>& sy)
{
    check_length(sx,sy);
    avec<T> sz(sx.n());
    sxaddopsy_ (sz, add_op<T, T, T>(), sx.begin(), sx.end(), sy.begin(), sy.end());
    return sz;
}
template<class T>
inline
avec<T>
operator - (const avec<T>& sx, const avec<T>& sy)
{
    check_length(sx,sy);
    avec<T> sz(sx.n());
    sxaddopsy_ (sz, sub_op<T, T, T>(), sx.begin(), sx.end(), sy.begin(), sy.end());
    return sz;
}

// binary operators * and /
template<class T>
inline
avec<T>
operator * (const avec<T>& sx, const avec<T>& sy)
{
    check_length(sx,sy);
    avec<T> sz(sx.n());
    sxmulsy (sz, sx.begin(), sx.end(), sy.begin(), sy.end());
    return sz;
}
template<class T>
inline
avec<T>
operator *= (avec<T>& sz, const avec<T>& sx)
{
    check_length(sz, sx);
    szmulassignsx (sz, sx.begin(), sx.end());
    return sz;
}
template<class T>
inline
avec<T>
operator * (const avec<T>& sx, const T& lambda)
{
    avec<T> sz(sx.n());
    szassignopsx (sz, my_bind2nd(mul_op<T, T, T>(), lambda), sx.begin(), sx.end());
    return sz;
}
template<class T>
inline
avec<T>
operator * (const T& lambda, const avec<T>& sy)
{
    avec<T> sz(sy.n());
    szassignopsx (sz, my_bind1st(mul_op<T, T, T>(), lambda), sy.begin(), sy.end());
    return sz;
}
#ifdef TODO /* sx *= lambda; sx /= lambda;  */
template<class T>
inline
avec<T>
operator *= (avec<T>& sz, const & lambda)
{
    szopassignr (sz.begin(), sz.end(), lambda, mul_assign<T,>());
    return sz;
}
#endif // TODO

template<class T>
inline
avec<T>
operator / (const avec<T>& sx, const T& lambda)
{
    avec<T> sz(sx.n());
    szassignopsx (sz, my_bind2nd(div_op<T, T, T>(), lambda), sx.begin(), sx.end());
    return sz;
}
template<class T>
inline
avec<T>
operator / (const T& lambda, const avec<T>& sy)
{
    avec<T> sz(sy.n());
    szassignopsx (sz, my_bind1st(div_op<T, T, T>(), lambda), sy.begin(), sy.end());
    return sz;
}
#ifdef TODO /* sx *= lambda; sx /= lambda;  */
template<class T>
inline
avec<T>
operator /= (avec<T>& sz, const & lambda)
{
    szopassignr (sz.begin(), sz.end(), lambda, div_assign<T,>());
    return sz;
}
#endif // TODO


}// namespace rheolef
#endif // _SKIT_BLAS1_SPARSE_NO_TMPL_H