Skip to main content
1-Visitor
December 27, 2014
Question

Is it impossible to apply following method?

  • December 27, 2014
  • 1 reply
  • 1310 views

40.PNG

I expressded "mu" = "mu[1", "mu[2"...."mu[17" accoding to each "if" fuction.

I got error continually. error message said me that value need to be vecotor.

But I can't understand

1 reply

25-Diamond I
December 27, 2014

How should we and Prime know what you mean by that?

1.png

How could the first ELEMENT of a vector be identical to the VECTOR itself???

Furthermore - as you call CL() vectorized, the argument mu will be a single scalar. So there is no mu[1 and therefore the error.

If the mu at the left and the mu at the right should denote different variables, you will have to rename the argument mu of your function.

jlee-21-VisitorAuthor
1-Visitor
December 27, 2014

thank you for advice