/usr/include/linbox/blackbox/ntl-hankel.h is in liblinbox-dev 1.1.6~rc0-4.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 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 | /* -*- mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */
/* *******************************************************************
* ntl-hankel.h
* Copyright (C) 2003 Austin Lobo, B. David Saunders
* Template for Hankel specification for ntl Arithmetic
* Linbox version 2001 and 2002 from a version
* Designed by A.Lobo and B.D. Saunders in 4/98
*-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+*/
#ifndef NTL_HANKEL_H
#define NTL_HANKEL_H
#include <linbox/blackbox/blackbox-interface.h>
#include "toeplitz.h" // we inherit everything from ntl-toeplitz
//#define DBGMSGS 1
/*-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
* Partial Specialization of Hankel for Dense vectors from
* an FFT based on Shoup's NTL library. Extends toeplitz matrix
*-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+*/
namespace LinBox
{
/// \ingroup blackbox
template <class _Field>
class Hankel: public Toeplitz<_Field>
{
public:
typedef _Field Field;
typedef typename Field::Element Element;
template<typename _Tp1>
struct rebind
{ typedef Hankel<_Tp1> other; };
//------- CONSTRUCTORS AND DESTRUCTORS
~Hankel(); // Destructor
Hankel(); // Zero Param Constructor
Hankel( const Field F, // Cnstr. with Field and STL vec. of elems
const std::vector<Element>&v);
// Hankel(char *dataFileName ); // read from a file
//------- INHERITED READ-ONLY ACCESSOR, and OBSERVER METHODS
void print( std::ostream& os = std::cout) const; // Print to stdout
void print( char *outFileName) const; // Print to file
/* inline size_t this->rowdim() const;// Number of Rows
* inline size_t this->coldim() const;// Number of Cols
* inline size_t sysdim() const;// Max of rows & columns;
*/
//------- MUTATOR METHODS
void setToUniModUT() ; // Convert to UTriang matrix with det 1
void setToUniModLT() ; // Convert to LTriang matrix with det 1
//------ SERVICE METHODS
template<class OutVector, class InVector>
OutVector& apply( OutVector &v_out, const InVector& v_in) const;
template<class OutVector, class InVector>
OutVector& applyTranspose( OutVector &v_out, const InVector& v_in) const;
}; // class Hankel
} // namespace Linbox
#include <linbox/blackbox/ntl-hankel.inl>
#endif
|