Post Reply 
another BUG [ .^ ]
02-12-2014, 12:27 AM
Post: #8
RE: another BUG [ .^ ]
Yes, but that is easy: just use SIZE() and then you know the length of the second vector to be filled with the constant.

Actually, I believe that element-by-element operations are the idea behind the ./ .+ .- .* .^ operators - - so that is how it appears to be designed.

What you attempted to do is a shortcut - - and I agree, it is a shortcut that makes sense and should also work in Home - - and it works in CAS, as we know!

Of course, you can always change your vector to a list and do this in Home: {2,4,6}^3 returns the correct answer.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
another BUG [ .^ ] - churichuro - 02-11-2014, 02:56 AM
RE: another BUG [ .^ ] - eried - 02-11-2014, 04:12 AM
RE: another BUG [ .^ ] - John P - 02-11-2014, 12:18 PM
RE: another BUG [ .^ ] - Marcelo Vanti - 02-11-2014, 01:05 PM
RE: another BUG [ .^ ] - Marcelo Vanti - 02-11-2014, 01:19 PM
RE: another BUG [ .^ ] - Helge Gabert - 02-11-2014, 09:09 PM
RE: another BUG [ .^ ] - churichuro - 02-11-2014, 10:59 PM
RE: another BUG [ .^ ] - Helge Gabert - 02-12-2014 12:27 AM
RE: another BUG [ .^ ] - John P - 02-12-2014, 05:47 PM



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