MCPcopy Create free account
hub / github.com/SeisSol/SeisSol / rangeProduct

Function rangeProduct

src/Numerical/Functions.cpp:9–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace seissol::functions {
8
9uint64_t rangeProduct(uint64_t from, uint64_t to) {
10 uint64_t product = 1;
11 for (; from <= to; ++from) {
12 product *= from;
13 }
14 return product;
15}
16
17double JacobiP(unsigned n, unsigned a, unsigned b, double x) {
18 if (n == 0) {

Callers 1

factorialFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected