GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
gap4r8 / pkg / NormalizInterface-1.0.2 / Normaliz.git / source / libnormaliz / libnormaliz-templated.cpp
563624 views/*1* Normaliz2* Copyright (C) 2007-2014 Winfried Bruns, Bogdan Ichim, Christof Soeger3* This program is free software: you can redistribute it and/or modify4* it under the terms of the GNU General Public License as published by5* the Free Software Foundation, either version 3 of the License, or6* (at your option) any later version.7*8* This program is distributed in the hope that it will be useful,9* but WITHOUT ANY WARRANTY; without even the implied warranty of10* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the11* GNU General Public License for more details.12*13* You should have received a copy of the GNU General Public License14* along with this program. If not, see <http://www.gnu.org/licenses/>.15*16* As an exception, when this program is distributed through (i) the App Store17* by Apple Inc.; (ii) the Mac App Store by Apple Inc.; or (iii) Google Play18* by Google Inc., then that store may impose any digital rights management,19* device limits and/or redistribution restrictions that are required by its20* terms of service.21*/2223#ifdef NMZ_MIC_OFFLOAD24#pragma offload_attribute (push, target(mic))25#endif2627#include "libnormaliz/libnormaliz.cpp"28#include "libnormaliz/integer.cpp"29#include "libnormaliz/vector_operations.cpp"30#include "libnormaliz/cone_helper.cpp"31#include "libnormaliz/matrix.cpp"32#include "libnormaliz/simplex.cpp"33#include "libnormaliz/list_operations.cpp"34#include "libnormaliz/sublattice_representation.cpp"35#include "libnormaliz/reduction.cpp"36#include "libnormaliz/full_cone.cpp"37#include "libnormaliz/cone_dual_mode.cpp"38#include "libnormaliz/cone.cpp"3940namespace libnormaliz {4142#ifndef NMZ_MIC_OFFLOAD //offload with long is not supported43template class Cone<long>;44// template class Matrix<long>;45template class Sublattice_Representation<long>;46template class Full_Cone<long>;47#endif48template class Matrix<long>;4950template class Cone<long long>;51template class Matrix<long long>;52template class Sublattice_Representation<long long>;53template class Full_Cone<long long>;5455template class Cone<mpz_class>;56template class Matrix<mpz_class>;57template class Sublattice_Representation<mpz_class>;58template class Full_Cone<mpz_class>;5960template size_t decimal_length<long>(long);61template size_t decimal_length<long long int>(long long int);62template size_t decimal_length<mpz_class>(mpz_class);6364template long gcd<long>(const long& a, const long& b);65template long lcm<long>(const long& a, const long& b);66template long permutations<long>(const size_t& a, const size_t& b);67template long long gcd<long long>(const long long& a, const long long& b);68template long long lcm<long long>(const long long& a, const long long& b);69template long long permutations<long long>(const size_t& a, const size_t& b);70//template mpz_class gcd<mpz_class>(const mpz_class& a, const mpz_class& b);71//template mpz_class lcm<mpz_class>(const mpz_class& a, const mpz_class& b);72template mpz_class permutations<mpz_class>(const size_t& a, const size_t& b);7374template ostream& operator<< <long>(ostream& out, const vector<long>& v);75template ostream& operator<< <long long>(ostream& out, const vector<long long>& v);76template ostream& operator<< <mpz_class>(ostream& out, const vector<mpz_class>& v);7778}7980#ifdef NMZ_MIC_OFFLOAD81#pragma offload_attribute (pop)82#endif838485