Skip to content
Snippets Groups Projects
Commit 26514030 authored by Stefan Wunsch's avatar Stefan Wunsch
Browse files

[TMVA experimental] Clean-up RTensor tutorial

parent 331d02da
No related merge requests found
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
/// \author Stefan Wunsch /// \author Stefan Wunsch
using namespace TMVA::Experimental; using namespace TMVA::Experimental;
using namespace ROOT::VecOps;
void tmva001_RTensor() void tmva001_RTensor()
{ {
...@@ -23,10 +22,10 @@ void tmva001_RTensor() ...@@ -23,10 +22,10 @@ void tmva001_RTensor()
cout << x << endl; cout << x << endl;
// Assign some data // Assign some data
x({0, 0}) = 1; x(0, 0) = 1;
x({0, 1}) = 2; x(0, 1) = 2;
x({1, 0}) = 3; x(1, 0) = 3;
x({1, 1}) = 4; x(1, 1) = 4;
// Apply transformations // Apply transformations
auto x2 = x.Reshape({1, 4}).Squeeze(); auto x2 = x.Reshape({1, 4}).Squeeze();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment