Borderbasix
Main Page
Related Pages
Classes
Files
File List
File Members
borderbasix
include
borderbasix
arithm
has_sign.hpp
Go to the documentation of this file.
1
#ifndef ARITHM_PRINT_HPP
2
#define ARITHM_PRINT_HPP
3
4
template
<
class
X>
5
bool
has_positive_sign
(
const
X&
x
) {
6
return
true
;
7
}
8
9
bool
has_positive_sign
(
const
int
&
x
) {
10
return
(x>0);
11
}
12
13
bool
has_positive_sign
(
const
double
&
x
) {
14
return
(x>0);
15
}
16
17
bool
has_positive_sign
(
const
long
double
&
x
) {
18
return
(x>0);
19
}
20
21
#endif
x
MSKaccmodee MSKint32t MSKsoltypee MSKstakeye MSKrealt * x
Definition:
mosek.h:3209
has_positive_sign
bool has_positive_sign(const X &x)
Definition:
has_sign.hpp:5
Home
|
Download & Install
|
Contributions
Generated on Tue Sep 29 2015 11:43:19 for Borderbasix by 1.8.9.1