[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-patch-tracker] [patch #10288] Implementation of Matlab function

From: John W. Eaton
Subject: [Octave-patch-tracker] [patch #10288] Implementation of Matlab function tensorprod
Date: Mon, 24 Oct 2022 11:58:32 -0400 (EDT)

Follow-up Comment #9, patch #10288 (project octave):

It's probably best to limit the inputs to be floating point.

For example, what happens for things like

a = int64 (flintmax) + int64 (1);
b = int64 (5);
assert (a * b, tensorprod (a, b))

?  It seems bad to silently return incorrect/inaccurate results when simple
multiplication can return an exact result.


Reply to this item at:


Message sent via Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]