Closed marty1885 closed 5 years ago
Implements #35 Now Tensor and Shape will print useful information in cling/ROOT's prompt.
Ex:
root [0] #pragma cling load("/usr/local/lib/libEtaler.so") root [1] #include <Etaler/Etaler.hpp> root [2] using namespace et; root [3] t = ones({4,4}) (et::Tensor &) {{ 1, 1, 1, 1}, { 1, 1, 1, 1}, { 1, 1, 1, 1}, { 1, 1, 1, 1}} root [4] t.shape() (et::Shape) {4, 4} root [5]
Implements #35 Now Tensor and Shape will print useful information in cling/ROOT's prompt.
Ex: