MathGroup Archive 2010

[Date Index] [Thread Index] [Author Index]

Search the Archive

Using NMinimize on a vector

  • To: mathgroup at smc.vnet.net
  • Subject: [mg108130] Using NMinimize on a vector
  • From: cool-RR <ram.rachum at gmail.com>
  • Date: Tue, 9 Mar 2010 06:20:08 -0500 (EST)

Hello,

I want to run this: `NMinimize[Distances[x, seq, z], x]` But x should
be a vector whose dimensions will only be known at run time. How can I
do this? I know I could put vectors into NMinimize, but how to do it
when the dimension isn't known until runtime?

Thanks,
Ram.


  • Prev by Date: Re: Re: learning calculus through mathematica
  • Next by Date: Dynamically set variable name and value
  • Previous by thread: Re: Problems with lexical scoping
  • Next by thread: Re: Using NMinimize on a vector