libsbml-draw
src
include
sig.h
Go to the documentation of this file.
1
/* MIT License
2
*/
3
4
//== FILEDOC =========================================================================
5
10
//== BEGINNING OF CODE ===============================================================
11
12
#ifndef __SBNW_MATH_SIG_H_
13
#define __SBNW_MATH_SIG_H_
14
15
//== INCLUDES ========================================================================
16
17
#include "
SagittariusCore.h
"
18
19
//-- C++ code --
20
#ifdef __cplusplus
21
22
namespace
LibsbmlDraw {
23
24
inline
Real
sig(
const
Real
t) {
25
return
1./(1. + exp(-t));
26
}
27
28
}
29
30
#endif
31
32
#endif
Real
SAGITTARIUS_REAL Real
Make Real visible to C. Consider letting Real lie in top namespace.
Definition:
SagittariusCommon.h:112
SagittariusCore.h
First file included.
Generated on Tue Jul 2 2019 15:58:54 for libsbml-draw by
1.8.15