DACE 2.0 API Manual
Differential Algebra Core Engine
Monomial.h
Go to the documentation of this file.
1 /******************************************************************************
2 * *
3 * DIFFERENTIAL ALGEBRA CORE ENGINE *
4 * *
5 *******************************************************************************
6 * *
7 * Copyright 2016 Politecnico di Milano (2014 Dinamica Srl) *
8 * Licensed under the Apache License, Version 2.0 (the "License"); *
9 * you may not use this file except in compliance with the License. *
10 * You may obtain a copy of the License at *
11 * *
12 * http://www.apache.org/licenses/LICENSE-2.0 *
13 * *
14 * Unless required by applicable law or agreed to in writing, software *
15 * distributed under the License is distributed on an "AS IS" BASIS, *
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
17 * See the License for the specific language governing permissions and *
18 * limitations under the License. *
19 * *
20 *******************************************************************************/
21 
22 /*
23  * Monomial.h
24  *
25  * Created on: Mar 10, 2014
26  * Author: Dinamica Srl
27  */
28 
29 #ifndef DINAMICA_MONOMIAL_H_
30 #define DINAMICA_MONOMIAL_H_
31 
32 // C++ stdlib classes used in this public interface
33 #include <vector>
34 #include <string>
35 #include <ostream>
36 
37 namespace DACE{
38 
41 {
42 public:
43  std::vector<unsigned int> m_jj;
44  double m_coeff;
46  Monomial();
48  unsigned int order() const;
49  std::string toString() const;
50 };
51 
52 DACE_API std::ostream& operator<< (std::ostream &out, const Monomial &m);
54 }
55 
56 #endif /* DINAMICA_MONOMIAL_H_ */
double m_coeff
Definition: Monomial.h:44
std::vector< unsigned int > m_jj
Definition: Monomial.h:43
Definition: Monomial.h:40
std::ostream & operator<<(std::ostream &out, const AlgebraicMatrix< DA > &obj)
DA specialization of output stream operator.
Definition: AlgebraicMatrix.cpp:44
#define DACE_API
Definition: dace_s.h:33
Definition: AlgebraicMatrix.cpp:39
std::string toString(const DA &da)
Definition: DA.cpp:2716