Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Apl > Re: A vector to...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 4 of 7 Topic 919 of 1019
Post > Topic >>

Re: A vector to an array

by Phil Last <phil.last@[EMAIL PROTECTED] > Dec 17, 2007 at 09:24 AM

On Dec 17, 5:20 pm, Phil Last <phil.l...@[EMAIL PROTECTED]
> wrote:
> On Dec 17, 4:53 pm, Lance <Lanc...@[EMAIL PROTECTED]
> wrote:
>
> > Say you have a 100 element vector.  You want to take that vector and
> > duplicate it, say 20 times such that you get a 100 20 matrix where all
> > 20 columns are identical.  I know that you can just do:
>
> > {transpose}20 100{rho}vector.
>
> > I'm looking for other ways to accomplish the same thing in APL.  Can
> > you use an outer product or some other form of assignment?
>
> > Thanks,
> > Lance
>
> vector=E2=88=98.+20=E2=8D=B40  =E2=8D=9D if it's numeric but don't bank
on=
 the efficiency!

vector=E2=88=98.{=E2=8D=BA}20=E2=8D=B40  =E2=8D=9D in Dyalog but with the
sa=
me caution




 7 Posts in Topic:
A vector to an array
Lance <LanceMD@[EMAIL   2007-12-17 08:53:57 
Re: A vector to an array
Phil Last <phil.last@[  2007-12-17 09:20:50 
Re: A vector to an array
aleph0 <apl68000@[EMAI  2007-12-17 09:22:46 
Re: A vector to an array
Phil Last <phil.last@[  2007-12-17 09:24:05 
Re: A vector to an array
aleph0 <apl68000@[EMAI  2007-12-17 09:38:47 
Re: A vector to an array
Ted Edwards <Ted_Espam  2007-12-17 18:24:25 
Re: A vector to an array
Lance <LanceMD@[EMAIL   2007-12-18 07:32:44 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 0:54:16 CDT 2008.