v0.14.0
Loading...
Searching...
No Matches
one_over_1_minus_x3.cpp
Go to the documentation of this file.
2#include <iostream>
3
4int main()
5{
6 Tensor1<double, 3> y(0., 1., 2.);
7 Tensor1<double, 3> a1(2., 3., 4.);
8 Tensor1<double, 3> a2(5., 6., 7.);
9 Tensor1<double, 3> a3(8., 9., 10.);
10
11 for(int ii = 0; ii < 1000000000; ii++)
12 {
13 func3(y, a1, a2, a3);
14 }
15 std::cout << y(0) << " " << y(1) << " " << y(2) << std::endl;
16}
constexpr double a2
constexpr double a3
constexpr double a1
int main()
void func3(Tensor1< double, 3 > &y, Tensor1< double, 3 > &a1, Tensor1< double, 3 > &a2, Tensor1< double, 3 > &a3)