cheshirekow
v0.1.0
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
polynomial.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2012 Josh Bialkowski (jbialk@mit.edu)
3
*
4
* This file is part of mpblocks.
5
*
6
* mpblocks is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation, either version 3 of the License, or
9
* (at your option) any later version.
10
*
11
* mpblocks is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with mpblocks. If not, see <http://www.gnu.org/licenses/>.
18
*/
27
#ifndef MPBLOCKS_POLYNOMIAL_H_
28
#define MPBLOCKS_POLYNOMIAL_H_
29
30
namespace
mpblocks {
31
33
namespace
polynomial {
34
35
static
const
int
Dynamic
= -0x01;
36
static
const
int
Sparse = -0x02;
37
38
40
template
<
typename
T>
int
sgn
(T val)
41
{
42
return
(T(0) < val) - (val < T(0));
43
}
44
45
46
}
// polynomial
47
}
// mpblocks
48
49
#include <cassert>
50
#include <cmath>
51
#include <mpblocks/linalg.h>
52
#include <
mpblocks/polynomial/Min.h
>
53
#include <
mpblocks/polynomial/Max.h
>
54
#include <
mpblocks/polynomial/StreamAssignment.h
>
55
#include <
mpblocks/polynomial/RValue.h
>
56
#include <
mpblocks/polynomial/LValue.h
>
57
#include <
mpblocks/polynomial/Polynomial.h
>
58
#include <
mpblocks/polynomial/SparsePolynomial.h
>
59
#include <
mpblocks/polynomial/polyval.h
>
60
#include <
mpblocks/polynomial/differentiate.h
>
61
#include <
mpblocks/polynomial/Sum.h
>
62
#include <
mpblocks/polynomial/Difference.h
>
63
#include <
mpblocks/polynomial/Product.h
>
64
#include <
mpblocks/polynomial/Quotient.h
>
65
#include <
mpblocks/polynomial/Normalized.h
>
66
#include <
mpblocks/polynomial/Negative.h
>
67
#include <
mpblocks/polynomial/SturmSequence.h
>
68
#include <
mpblocks/polynomial/ostream.h
>
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
#endif // POLY_H_
Max.h
polyval.h
mpblocks::polynomial::sgn
int sgn(T val)
signum
Definition:
polynomial.h:40
SturmSequence.h
StreamAssignment.h
ostream.h
Quotient.h
Polynomial.h
Product.h
Sum.h
mpblocks::clarkson93::Dynamic
const int Dynamic
Definition:
clarkson93.h:58
RValue.h
SparsePolynomial.h
LValue.h
Normalized.h
differentiate.h
Difference.h
Negative.h
Min.h
include
mpblocks
polynomial.h
Generated on Sun Mar 22 2015 22:47:44 for cheshirekow by
1.8.6