/usr/include/givaro/modular-general.h is in libgivaro-dev 4.0.2-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 | // ========================================================================
// Copyright(c)'1994-2015 by The Givaro group
// This file is part of Givaro.
// Givaro is governed by the CeCILL-B license under French law
// and abiding by the rules of distribution of free software.
// see the COPYRIGHT file for more details.
// Authors: A. Breust
// Time-stamp: <28 May 15 09:40:00 Alexis.Breust@imag.fr>
// ========================================================================
// Description:
// Forward declarations for Givaro::Modular and associated functions
#pragma once
namespace Givaro
{
/*! Forward declaration for Givaro::Modular.
* Elements will be stored in the storage type.
* While arithmetics will occur on the unsigned version of COMP type.
* Example: Modular<int32_t, uint64_t>
*/
template<typename Storage_t, typename COMP = Storage_t> class Modular;
//! Generalized extended GCD used by specialized Modular.
template<typename Storage_t>
inline Storage_t& gcdext(Storage_t& d, Storage_t& u, Storage_t& v, const Storage_t a, const Storage_t b);
//! Generalized inversion used by specialized Modular.
template<typename Storage_t>
inline Storage_t& invext(Storage_t& u, const Storage_t a, const Storage_t b);
//! Generalized inversion used by specialized Modular.
template<typename Storage_t>
inline Storage_t invext(const Storage_t a, const Storage_t b);
}
#include "givaro/modular-general.inl"
|