comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Concatenating arrays across chosen dimension
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Concatenating arrays [message #45373 is a reply to message #31266] Sun, 04 September 2005 12:06 Go to previous message
Wonko[3] is currently offline  Wonko[3]
Messages: 9
Registered: February 2003
Junior Member
RPF@lol.com (RPF) wrote:

> If I have a = [2 3] and i wish to repeat these two elements for say 1000
> times so my final array is 2000 elements long is there a quick way?

Have a look at REPLICATE().

> Also is there an easy way to make an upper triangular matrix i.e.
> make all entries below the diagonal zero ?

I think CHOLDC does this.

Alex
--
Alex Schuster Wonko@wonkology.org
alex@pet.mpin-koeln.mpg.de
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: constraining parameters in multi-Gaussian 1D fitting
Next Topic: Re: constraining parameters in multi-Gaussian 1D fitting

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Tue Oct 21 22:42:55 PDT 2025

Total time taken to generate the page: 1.68566 seconds