Epstein Zeta Library
0.5.0
Calculates the Epstein Zeta function
Loading...
Searching...
No Matches
src
tests
utils.h
1
// SPDX-FileCopyrightText: 2024 Jonathan Busse <jonathan@jbusse.de>
2
// SPDX-FileCopyrightText: 2024 Ruben Gutendorf
3
// <ruben.gutendorf@uni-saarland.de>
4
//
5
// SPDX-License-Identifier: AGPL-3.0-only
6
7
#include <complex.h>
8
9
#ifndef UTILS_H
10
#define UTILS_H
11
18
double
errAbs(
double
complex ref,
double
complex comp);
19
26
double
errRel(
double
complex ref,
double
complex comp);
27
34
void
printVectorUnitTest(
const
char
*name,
const
double
*vec,
unsigned
int
dim);
35
42
void
printMultiindexUnitTest(
const
char
*name,
const
unsigned
int
*vec,
43
unsigned
int
dim);
44
51
void
printMatrixUnitTest(
const
char
*name,
const
double
*mat,
unsigned
int
dim);
52
#endif
Generated by
1.10.0