v0.14.0
Loading...
Searching...
No Matches
src
ftensor
tests
speed
one_over_1_minus_x_fast2.cpp
Go to the documentation of this file.
1
#include "
one_over_1_minus_x_fast.hpp
"
2
#include <iostream>
3
4
int
main
()
5
{
6
double
y[] = {0, 1, 2};
7
double
a1
[] = {2, 3, 4};
8
double
a2
[] = {5, 6, 7};
9
10
for
(
int
ii = 0; ii < 1000000000; ii++)
11
{
12
func2
(y,
a1
,
a2
);
13
}
14
std::cout << y[0] <<
" "
<< y[1] <<
" "
<< y[2] << std::endl;
15
}
a2
constexpr double a2
Definition
hcurl_check_approx_in_2d.cpp:39
a1
constexpr double a1
Definition
hcurl_check_approx_in_2d.cpp:38
func2
void func2(Tensor1< double, 3 > &y, Tensor1< double, 3 > &a1, Tensor1< double, 3 > &a2)
Definition
one_over_1_minus_x.hpp:14
main
int main()
Definition
one_over_1_minus_x_fast2.cpp:4
one_over_1_minus_x_fast.hpp
Generated by
Doxygen
1.12.0 and hosted at