[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #66440] have structfun accept multiple structu
From: |
Muhali |
Subject: |
[Octave-bug-tracker] [bug #66440] have structfun accept multiple structures as argument |
Date: |
Thu, 14 Nov 2024 07:48:45 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?66440>
Summary: have structfun accept multiple structures as
argument
Group: GNU Octave
Submitter: muhali
Submitted: Thu 14 Nov 2024 04:48:40 AM PST
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Feature Request
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Thu 14 Nov 2024 04:48:40 AM PST By: Muhali <muhali>
It would be nice to have structfun accept more than one argument, similar to
cellfun. It should work along the following lines:
a.a = 1 ; a.b = 0 ;
b.a = 0 ; b.b = 1 ;
structfun ("atan2", a, b) = cellfun ("atan2", {a.a, a.b}, {b.a, b.b}) ;
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?66440>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
signature.asc
Description: PGP signature
- [Octave-bug-tracker] [bug #66440] have structfun accept multiple structures as argument,
Muhali <=