Post Reply 
PPL: element-wise operations on Vector
04-26-2016, 07:35 AM (This post was last modified: 04-26-2016 07:39 AM by Martin Hepperle.)
Post: #5
RE: PPL: element-wise operations on Vector
(04-25-2016 10:50 AM)DrD Wrote:  Which mode [Home] or [CAS]?

As shown it works in [CAS], but you need to add a space after the x (before the ".^" ) in [HOME]"

x := [1, 2, 3, 4, 5];
y := x .^2 * 9.8765; // x [space] .^2 in [HOME]


Thank you for pointing this out, Dale,

I have this problem inside a program. Not directly in HOME or CAS expressions.

I had simply saved and restored my program which worked in the previous release without the space. I do not think that I was in CAS mode when I ran the program before. At least the behavior should be consistent and documented.

I also found that many programs had some gibberish (far east) characters (thanks to Unicode) attached behind the end of the programs after restoring. Of course the programs then failed the "Check".

Obviously the length of the file read back was longer than the original length and the content of some read buffer was appended.
I used drag and drop in the connectivity toolkit to copy these files from the emulator to the hardware.
I had to remove the (one to three) lines manually after restoring the programs.

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

Messages In This Thread
RE: PPL: element-wise operations on Vector - Martin Hepperle - 04-26-2016 07:35 AM

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