/usr/include/wvstreams/wvmatrix.h is in libwvstreams-dev 4.6.1-11.
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 | /* -*- Mode: C++ -*- */
#ifndef __WVMATRIX_H
#define __WVMATRIX_H
#include "wvstring.h"
class WvMatrix
{
public:
int *data;
int m;
int n;
WvMatrix(const int _m, const int _n, const int *_data = 0);
~WvMatrix();
WvMatrix(const WvMatrix& mx);
WvMatrix& operator= (const WvMatrix& mx);
int& operator() (const int row, const int col)
{ return data[n*row + col]; }
int operator() (const int row, const int col) const
{ return data[n*row + col]; }
WvMatrix operator+ (const WvMatrix &rhs) const;
WvMatrix operator* (const WvMatrix &rhs) const;
WvString printable();
};
#endif // __WVMATRIX_H
|