MathGroup Archive 2004

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

Search the Archive

Re: vector problem I'm not sure how to express

  • To: mathgroup at smc.vnet.net
  • Subject: [mg49098] Re: [mg49084] vector problem I'm not sure how to express
  • From: DrBob <drbob at bigfoot.com>
  • Date: Thu, 1 Jul 2004 05:25:45 -0400 (EDT)
  • References: <200406300934.FAA05433@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

If u and v are vectors of the same length, we can define the convex combinations by

f[t_]/;0<=t<=1 := t u + (1-t) v

and compute a few with, for instance:

Table[f[t],{t,0,1,0.1}]

Bobby

On Wed, 30 Jun 2004 05:34:29 -0400 (EDT), AngleWyrm <no_spam_anglewyrm at hotmail.com> wrote:

> I have two 5d vectors of equal length, a current and a target. The coordinates
> are integer values, and the problem is to transform the one towards the other by
> incrementing. This seems like a dot-product kind of problem, and knowing they
> will always be the same length should simplify things.
>
> Currently, I'm subtracting 1 from the coordinate with the largest difference,
> and then adding 1 to the coordinate with the smallest difference. This is sort
> of an approximation of the arc between them?
>



-- 
DrBob at bigfoot.com
www.eclecticdreams.net


  • Prev by Date: Re: A question about derivatives of quadratic products
  • Next by Date: RE: Bug in parsing expression?
  • Previous by thread: RE: A question about derivatives of quadratic products
  • Next by thread: Re: function IF with several equality conditions