Epstein Zeta Library 0.5.0
Calculates the Epstein Zeta function
Loading...
Searching...
No Matches
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
18double errAbs(double complex ref, double complex comp);
19
26double errRel(double complex ref, double complex comp);
27
34void printVectorUnitTest(const char *name, const double *vec, unsigned int dim);
35
42void printMultiindexUnitTest(const char *name, const unsigned int *vec,
43 unsigned int dim);
44
51void printMatrixUnitTest(const char *name, const double *mat, unsigned int dim);
52#endif