2
3
4
8#include "./concepts.hpp"
10#include "./mapped_functions.hpp"
11#include "./traits.hpp"
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
82
83
84
100 })(std::forward<A>(a));
114 })(std::forward<A>(a));
128 })(std::forward<A>(a));
139 [](
auto const &x) {
return real(x); })(std::forward<A>(a));
150 [](
auto const &x) {
return abs2(x); })(std::forward<A>(a));
161 [](
auto const &x) {
return isnan(x); })(std::forward<A>(a));
170 auto exp(A &&a)
requires(get_algebra<A> !=
'M') {
175 })(std::forward<A>(a));
184 auto cos(A &&a)
requires(get_algebra<A> !=
'M') {
189 })(std::forward<A>(a));
198 auto sin(A &&a)
requires(get_algebra<A> !=
'M') {
203 })(std::forward<A>(a));
212 auto tan(A &&a)
requires(get_algebra<A> !=
'M') {
217 })(std::forward<A>(a));
226 auto cosh(A &&a)
requires(get_algebra<A> !=
'M') {
231 })(std::forward<A>(a));
240 auto sinh(A &&a)
requires(get_algebra<A> !=
'M') {
245 })(std::forward<A>(a));
254 auto tanh(A &&a)
requires(get_algebra<A> !=
'M') {
259 })(std::forward<A>(a));
268 auto acos(A &&a)
requires(get_algebra<A> !=
'M') {
273 })(std::forward<A>(a));
282 auto asin(A &&a)
requires(get_algebra<A> !=
'M') {
287 })(std::forward<A>(a));
296 auto atan(A &&a)
requires(get_algebra<A> !=
'M') {
301 })(std::forward<A>(a));
310 auto log(A &&a)
requires(get_algebra<A> !=
'M') {
315 })(std::forward<A>(a));
324 auto sqrt(A &&a)
requires(get_algebra<A> !=
'M') {
329 })(std::forward<A>(a));
auto cos(A &&a)
Lazy, coefficient-wise cos function for non-matrix nda::Array types.
auto sinh(A &&a)
Lazy, coefficient-wise sinh function for non-matrix nda::Array types.
auto tanh(A &&a)
Lazy, coefficient-wise tanh function for non-matrix nda::Array types.
auto sin(A &&a)
Lazy, coefficient-wise sin function for non-matrix nda::Array types.
auto log(A &&a)
Lazy, coefficient-wise log function for non-matrix nda::Array types.
auto floor(A &&a)
Lazy, coefficient-wise floor function for nda::Array types.
auto abs(A &&a)
Lazy, coefficient-wise abs function for nda::Array types.
auto tan(A &&a)
Lazy, coefficient-wise tan function for non-matrix nda::Array types.
auto atan(A &&a)
Lazy, coefficient-wise atan function for non-matrix nda::Array types.
auto real(A &&a)
Lazy, coefficient-wise real function for nda::Array types.
auto sqrt(A &&a)
Lazy, coefficient-wise sqrt function for non-matrix nda::Array types.
auto imag(A &&a)
Lazy, coefficient-wise imag function for nda::Array types.
auto isnan(A &&a)
Lazy, coefficient-wise isnan function for nda::Array types.
auto cosh(A &&a)
Lazy, coefficient-wise cosh function for non-matrix nda::Array types.
auto abs2(A &&a)
Lazy, coefficient-wise abs2 function for nda::Array types.
auto asin(A &&a)
Lazy, coefficient-wise asin function for non-matrix nda::Array types.
auto acos(A &&a)
Lazy, coefficient-wise acos function for non-matrix nda::Array types.
auto exp(A &&a)
Lazy, coefficient-wise exp function for non-matrix nda::Array types.