Post Reply 
Constant Vector as Argument in PPL
06-18-2024, 06:39 PM (This post was last modified: 06-18-2024 07:14 PM by ftneek.)
Post: #3
RE: Constant Vector as Argument in PPL
(06-17-2024 07:53 PM)NumericDavid Wrote:  Hello Prime Friends,
...
SIZE(bla) equals 6 and the numbers don't seem to make a sense. I'd expect bla = [0,0,-1] since normalize(v) should be v/abs(v).

Are you using the physical calculator or Virtual Calculator, and which revision number?

In macOS VC revision 14425 SIZE(bla()) returns {3} in Home and 3 in CAS view, and bla() returns [0,0,-1] in both views.

(06-18-2024 10:00 AM)BruceH Wrote:  No but I've had problems in the past passing vectors/matrices directly as arguments to functions causing syntax errors. The work-around was to assign them to variables and then use those as the function arguments.

Maybe this is linked to that same general 'bugginess'?

Such as the issue described in this thread? I wonder if anything can be done to improve this behavior on the Prime.

- neek
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Constant Vector as Argument in PPL - ftneek - 06-18-2024 06:39 PM



User(s) browsing this thread: 2 Guest(s)