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

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

[Octave-bug-tracker] [bug #65413] Missing function: pagesvd


From: anonymous
Subject: [Octave-bug-tracker] [bug #65413] Missing function: pagesvd
Date: Mon, 4 Mar 2024 13:41:40 -0500 (EST)

URL:
  <https://savannah.gnu.org/bugs/?65413>

                 Summary: Missing function: pagesvd
                   Group: GNU Octave
               Submitter: None
               Submitted: Mon 04 Mar 2024 06:41:40 PM UTC
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
                 Release: 8.4.0
         Discussion Lock: Any
        Operating System: Any
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Mon 04 Mar 2024 06:41:40 PM UTC By: Anonymous
The function pagesvd (and various others in the pagexxx family) was introduced
in Matlab 2021. It's used to do lots of small svd calculations in parallel.
E.g. do svd on N 4x4 matrices

``
>> N=100;
>> A=rand(4,4,N);
>> [U S V]=pagesvd(A,'econ');
>> whos
  Name      Size               Bytes  Class     Attributes

  A         4x4x100            12800  double              
  N         1x1                    8  double              
  S         4x4x100            12800  double              
  U         4x4x100            12800  double              
  V         4x4x100            12800  double            
``
I have a self-written implementation that uses calls to LAPACKC and OPENBLAS.
It may be too tied to these libraries for general use on all platforms but
gives an outline for how to do it. Just putting it out there :)






    _______________________________________________________
File Attachments:


-------------------------------------------------------
Name: pagesvd.cpp  Size: 9KiB
<http://savannah.gnu.org/bugs/download.php?file_id=55781>

    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://git.savannah.nongnu.org/cgit/administration/savane.git/snapshot/savane-04b18e1179b14c0ef710c8e9c8e59d1e4bcd7bd0.tar.gz

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?65413>

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




reply via email to

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