Iterate variables in vector
Iterate variables in vector
(OP)
Hello,
Are there any examples of including functions of several variables in a program to perform integrations over a vector? Maybe attachment can explain better. Can't get the program to iterate over different f(x) functions to perform the integration.
Thanks
Are there any examples of including functions of several variables in a program to perform integrations over a vector? Maybe attachment can explain better. Can't get the program to iterate over different f(x) functions to perform the integration.
Thanks
RE: Iterate variables in vector
z <- z[k
Change z to any other letter and it executes. The trouble is that within the program, the first time the loop executes, it re-defines z as a scalar (equal to z[1 ). The second time through the loop it sees that z is a scalar (there is no z[2 within the scope of the program after the first loop) and hangs.
Peter