Is there an array shorthand for this?



I am adding a 1 dimensional array to the 4th column of a 2 dimensional
array. I know there is a shorthand for adding two 1 dimensional arrays
like x0 = x1 + x2, which is equivalent to x0(1:n) = x1(1:n) + x2(1:n)

eg.

real*8 x0(10)
real*8 a0(10,20)

the longhand is:
x0(1:10) = x0(1:10) + a0(1:10,4)

is there a shorthand?
x0 = x0 + a0(1,4) doesn't work, this only adds element a0(1,4) to
each element of x0, it doesn't cycle through the first index of a0.

.



Relevant Pages

  • Code for form question
    ... I have a form with a lenghty If Then Else code that works perfectly however ... I have to open the form and cycle through all of the records to update each ... ElseIf IsNullThen ... Prev by Date: ...
    (microsoft.public.access.formscoding)
  • Re: Neeeed Help!!
    ... have a column in the data that is cycle date...those have the number of ... luckyt22's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=24270 ... Prev by Date: ...
    (microsoft.public.excel.worksheet.functions)
  • Re: PING: Gunner
    ... How fast does this piece cycle? ... The cylinder goes ball-to-the-wall and feeds in about 100ms, my window is ... Prev by Date: ...
    (rec.crafts.metalworking)
  • Re: OT-Lance Armstrong
    ... Those guys just can't cycle that much just out of ... mangi la merda e muoia :-) ... Someone likes every shot* ... Prev by Date: ...
    (rec.sport.golf)
  • Re: Accident (was: Victim
    ... >> woman's cycle really works so doesn't realise there are very obvious ... Goodness knows. ... Prev by Date: ...
    (alt.usage.english)