DACE 2.0 API Manual
Differential Algebra Core Engine
MathExtension.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  * MathExtension.h
24  *
25  * Created on: Sep. 22, 2014
26  * Author: Dinamica Srl
27  */
28 
29 #ifndef DINAMICA_MATHEXTENSION_H_
30 #define DINAMICA_MATHEXTENSION_H_
31 
32 namespace DACE{
33 
34 DACE_API double cons(const double x);
35 DACE_API double logb(const double x, const double b = 10.0);
36 DACE_API double isrt(const double x);
37 DACE_API double sqr(const double x);
38 DACE_API double minv(const double x);
39 DACE_API double root(const double x, const int p = 2);
40 
41 }
42 
43 #endif /* DINAMICA_MATHEXTENSION_H_ */
DA logb(const DA &da, const double b)
Definition: DA.cpp:2233
DA isrt(const DA &da)
Definition: DA.cpp:2170
#define DACE_API
Definition: dace_s.h:33
DA sqr(const DA &da)
Definition: DA.cpp:2150
Definition: AlgebraicMatrix.cpp:39
double cons(const DA &da)
Definition: DA.cpp:1970
DA minv(const DA &da)
Definition: DA.cpp:2140
DA root(const DA &da, int p)
Definition: DA.cpp:2129