octave-patch-tracker
[Top][All Lists]
Advanced

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

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


From: Kasper H. Filtenborg
Subject: [Octave-patch-tracker] [patch #10288] Implementation of Matlab function tensorprod
Date: Thu, 20 Oct 2022 18:40:31 -0400 (EDT)

URL:
  <https://savannah.gnu.org/patch/?10288>

                 Summary: Implementation of Matlab function tensorprod
                 Project: GNU Octave
               Submitter: filtenborg
               Submitted: Thu 20 Oct 2022 10:40:30 PM UTC
                Category: Core : new function
                Priority: 5 - Normal
                  Status: None
                 Privacy: Private
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Thu 20 Oct 2022 10:40:30 PM UTC By: Kasper H. Filtenborg <filtenborg>
I have implemented the Matlab function tensorprod. The implementation is
inspired by tensordot from numpy
(https://github.com/numpy/numpy/blob/main/numpy/core/numeric.py), but is
changed significantly to match the expected behaviour according to the Matlab
documentation (https://se.mathworks.com/help/matlab/ref/tensorprod.html) as
well as to make better use of functions in Octave.

The function has not been compared directly against Matlab since I do not have
access to Matlab.

Kind regards,
Kasper H. Filtenborg

PS If you find this contribution worthwhile, it would be an honour to be
listed as a contributor in the Octave documentation.






    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Thu 20 Oct 2022 10:40:30 PM UTC  Name: tensorprod.m  Size: 5KiB   By:
filtenborg

<http://savannah.gnu.org/patch/download.php?file_id=53889>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?10288>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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