Dear Users

I have an array a, and I am running a formula which is simply 1+Delt(a)

Is it possible to get an output vector which will have sequential values of 1+Delt(a) please?

I tried 1+Delt(a[1: (length(a)-1)]) and it works. But then every time I need the previous value I need to write this which is not ideal.

I could solve this using a loop but to try and use the power of vectorisation I wish to avoid loops.


Can you kindly help please?

Thanks
Raman
Jefferies archives and monitors outgoing and incoming e-mail. The contents of this email, including any attachments, are confidential to the ordinary user of the email address to which it was addressed. If you are not the addressee of this email you may not copy, forward, disclose or otherwise use it or any part of it in any form whatsoever. Since the confidentiality of Internet e-mail cannot be guaranteed, please do not include private or confidential information (such as account numbers) or instructions requiring your authorization (such as orders or funds transfers) in your e-mail communication to us. This email may be produced at the request of regulators or in connection with civil litigation. Jefferies accepts no liability for any errors or omissions arising as a result of transmission. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by Jefferies, its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. In the United Kingdom, Jefferies operates as Jefferies International Limited; registered in England: no. 1978621; and Jefferies Bache Limited; registered in England: no. 114226; registered office for both: Vintners Place, 68 Upper Thames Street, London EC4V 3BJ. Jefferies International Limited and Jefferies Bache Limited are authorised and regulated by the Financial Services Authority. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you.

	[[alternative HTML version deleted]]

