TRIQS/nda 1.3.0
Multi-dimensional array library for C++
Loading...
Searching...
No Matches
math.hpp
Go to the documentation of this file.
1// Copyright (c) 2020-2021 Simons Foundation
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0.txt
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14//
15// Authors: Olivier Parcollet, Nils Wentzell
16
22#pragma once
23
24#include "../clef.hpp"
25
26#include <cmath>
27#include <complex>
28
29namespace nda::clef {
30
36#define CLEF_MAKE_STD_FNT_LAZY(name) \
37 using std::name; \
38 \
39 CLEF_MAKE_FNT_LAZY(name)
40
41 // FIXME use vim generation
42 CLEF_MAKE_STD_FNT_LAZY(cos)
43 CLEF_MAKE_STD_FNT_LAZY(sin)
44 CLEF_MAKE_STD_FNT_LAZY(tan)
45 CLEF_MAKE_STD_FNT_LAZY(cosh)
46 CLEF_MAKE_STD_FNT_LAZY(sinh)
47 CLEF_MAKE_STD_FNT_LAZY(tanh)
48 CLEF_MAKE_STD_FNT_LAZY(acos)
49 CLEF_MAKE_STD_FNT_LAZY(asin)
50 CLEF_MAKE_STD_FNT_LAZY(atan)
51 CLEF_MAKE_STD_FNT_LAZY(exp)
52 CLEF_MAKE_STD_FNT_LAZY(log)
53 CLEF_MAKE_STD_FNT_LAZY(sqrt)
54 CLEF_MAKE_STD_FNT_LAZY(abs)
55 CLEF_MAKE_STD_FNT_LAZY(floor)
56 CLEF_MAKE_STD_FNT_LAZY(pow)
57 CLEF_MAKE_STD_FNT_LAZY(conj)
58
61} // namespace nda::clef
Includes all relevant headers for the core clef library.