diff libinterp/corefcn/dot.cc @ 31547:212cc32100f5

Add new function 'tensorprod' (patch #10288) * scripts/linear-algebra/tensorprod.m: New function to compute tensor product. * scripts/linear-algebra/module.mk: Add tensorprod.m to file list. * doc/interpreter/linalg.txi: Link to docstring for tensorprod. * libinterp/corefcn/data.cc(mtimes), dot.cc, kron.cc: Add tensorprod seealso. * etc/NEWS.9.md: Note new function tensorprod.
author Kasper H. Filtenborg <kasper.filtenborg@gmail.com>
date Fri, 25 Nov 2022 13:58:54 -0500
parents 32d2b6604a9f
children dfa5d9c3ae72
line wrap: on
line diff
--- a/libinterp/corefcn/dot.cc	Fri Nov 25 09:41:12 2022 -0800
+++ b/libinterp/corefcn/dot.cc	Fri Nov 25 13:58:54 2022 -0500
@@ -91,7 +91,7 @@
 the result is equivalent to @code{@var{X}' * @var{Y}}.  Although, @code{dot}
 is defined for integer arrays, the output may differ from the expected result
 due to the limited range of integer objects.
-@seealso{cross, divergence}
+@seealso{cross, divergence, tensorprod}
 @end deftypefn */)
 {
   int nargin = args.length ();