Jeroewnutjuhhh

10 Reputation

One Badge

11 years, 307 days

MaplePrimes Activity


These are questions asked by Jeroewnutjuhhh

Hi,

I have a function of n variables

y := (a,b .. n) → ....

For this function I need also n input values

y(x1,x2, ... ,xn)

The vector x has the input values ("x1,x2, ... ,xn") but how can I call them without typing them one by one?

Any ideas?

Hi!

Within a for-loop I want to sum a column for a matrix, but using the column number j gives a error:

"Error, (in tools/add) bad index into Matrix"

 

script:

for j from 1 to J do

<<>>

Y[1, j] := sum('X[i,j]', i = 1 .. n)

<<>>

end do

 

Any solutions? Thanks!

Page 1 of 1