STORMM Source Documentation
Loading...
Searching...
No Matches
src
Math
formulas.h
1
// -*-c++-*-
2
#ifndef STORMM_FORMULAS_H
3
#define STORMM_FORMULAS_H
4
5
#include "copyright.h"
6
#include "DataTypes/common_types.h"
7
#include "DataTypes/stormm_vector_types.h"
8
9
namespace
stormm {
10
namespace
stmath {
11
16
int
factorial(
int
x);
17
22
llint factoriall(llint x);
23
28
double
factoriald(
int
x);
29
35
int
ipow(
int
x,
int
p);
36
42
llint ipowl(llint x,
int
p);
43
61
double4 sigmoid(
double
r,
double
crossover,
double
intensity);
62
double
sigmoid(
double
r,
double
crossover,
double
intensity,
int
order);
64
68
float4 sigmoidf(
float
r,
float
crossover,
float
intensity);
69
float
sigmoidf(
float
r,
float
crossover,
float
intensity,
int
order);
71
78
double
angleOnAxes(
double
x,
double
y);
79
82
float
angleOnAxesf(
float
x,
float
y);
83
84
}
// namespace stmath
85
}
// namespace stormm
86
87
#endif
Generated by
1.13.2