From 1d53afd25719d8a7238b068490adf88be14c0630 Mon Sep 17 00:00:00 2001 From: Jiri Pittner Date: Tue, 27 Jan 2026 17:41:47 +0100 Subject: [PATCH] tensor: indexmatrix() and zero index detection --- t.cc | 2 ++ tensor.cc | 62 ++++++++++++++++++++++++++++++++++++++++++++++++------- tensor.h | 15 +++++++++++--- 3 files changed, 68 insertions(+), 11 deletions(-) diff --git a/t.cc b/t.cc index b27c65a..dd1612c 100644 --- a/t.cc +++ b/t.cc @@ -4597,6 +4597,8 @@ Tensor x(shape); x.randomize(1.); x.defaultnames(); cout <<"x= "<