[Tutor] Loops and matrices'
Prasad, Ramit
ramit.prasad at jpmorgan.com
Tue Aug 30 00:44:09 CEST 2011
Hi Danny,
Most likely you want
delta_temp(i,j) = (LS_JULY_11(i,j) - LS_JULY_11(i,j-1))/TIME_STEP
to become (changed the character from '()' to '[]':
delta_temp[i,j] = (LS_JULY_11(i,j) - LS_JULY_11(i,j-1))/TIME_STEP
Basically it thinks "delta_temp(i,j) " is a function call and function calls cannot be assigned a value.
Ramit
Ramit Prasad | JPMorgan Chase Investment Bank | Currencies Technology
712 Main Street | Houston, TX 77002
work phone: 713 - 216 - 5423
This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.
More information about the Tutor
mailing list