Polymetic
1.1
A c++ library for polynomial and matrix arithmetic, focused on applications in Kinematics.
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
Pages
gmpsupport.hpp
Go to the documentation of this file.
1
// Copyright 2018 Dhruvesh Nikhilkumar Patel
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
//
20
#ifndef _GMPSUPPORT_HPP_
21
#define _GMPSUPPORT_HPP_
22
#include "../include/Polynomial.hpp"
23
#include "../include/PolynomialMultiplicationSimple.hpp"
24
#include <gmpxx.h>
25
/******************** Explicit template "declarations" ******************************/
26
extern
template
27
class
Polynomial <double>
;
28
extern
template
29
Polynomial<double>
operator*
(
const
Polynomial<double>
& p1,
const
Polynomial<double>
& p2);
30
31
32
extern
template
33
class
Polynomial<mpz_class>
;
34
extern
template
35
class
Polynomial<mpq_class>
;
36
extern
template
37
class
Polynomial<mpf_class>
;
38
extern
template
39
Polynomial<mpz_class>
operator*
(
const
Polynomial<mpz_class>
& p1,
const
Polynomial<mpz_class>
& p2);
40
extern
template
41
Polynomial<mpq_class>
operator*
(
const
Polynomial<mpq_class>
& p1,
const
Polynomial<mpq_class>
& p2);
42
extern
template
43
Polynomial<mpf_class>
operator*
(
const
Polynomial<mpf_class>
& p1,
const
Polynomial<mpf_class>
& p2);
44
45
extern
template
46
class
PolynomialMultiplicationInterface<double>
;
47
extern
template
48
class
PolynomialMultiplicationInterface<mpz_class>
;
49
extern
template
50
class
PolynomialMultiplicationInterface<mpq_class>
;
51
extern
template
52
class
PolynomialMultiplicationInterface<mpf_class>
;
53
54
extern
template
55
class
PolynomialMultiplicationSimple<double>
;
56
extern
template
57
class
PolynomialMultiplicationSimple<mpz_class>
;
58
extern
template
59
class
PolynomialMultiplicationSimple<mpq_class>
;
60
extern
template
61
class
PolynomialMultiplicationSimple<mpf_class>
;
62
#endif //_GMPSUPPORT_HPP_
63
operator*
template Polynomial< double > operator*(const Polynomial< double > &p1, const Polynomial< double > &p2)
PolynomialMultiplicationSimple
Simple O(n^2) field/ring operations algorithm for univariate polynomial multiplication.
Definition:
PolynomialMultiplicationSimple.hpp:24
PolynomialMultiplicationInterface
Polynomial and related classes.
Definition:
Polynomial.hpp:29
Polynomial
Contains the definition for the abstract base class which will be used by different multiplication al...
Definition:
Polynomial.hpp:40
include
gmpsupport.hpp
Generated on Thu Aug 23 2018 12:24:47 for Polymetic by
1.8.6