Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

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

Search the Archive

Re: RE:Beginner--getting rid of dot products with zero

  • To: mathgroup at smc.vnet.net
  • Subject: [mg66920] Re: RE:Beginner--getting rid of dot products with zero
  • From: "sigmundv" <sigmund at ostenfeld.dk>
  • Date: Sun, 4 Jun 2006 01:09:47 -0400 (EDT)
  • References: <e5ot50$i6t$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

smanky at gmx.de wrote:
>
> finish = 2;
> i = Table[i, {i, finish}];
>
> d1[k1_, k2_] = Exp[k1*i + k2*i^2];
> d2[k1_, k2_] = Total[Exp[k1*i + k2*i^2]];
>
> w[k1_, k2_, i] = d1[k1, k2]/d2[k1, k2];
>
> q[k1_, k2_] = x.w[k1, k2, i];

What are you trying to do here? W is a vector, right? What is x? You
have not defined it yet! Is x supposed to be a vector? You try to
calculate the dot product between x and w, but is this what you want?
Or do you want to multiply each element of w by x?

I have put forward many questions, sure, but it is very unclear what
you want to achieve. For example, you have not told us what x is.


  • Prev by Date: Re: Mathematica Font problems
  • Next by Date: Re: calling mathematica functions from a c++ program
  • Previous by thread: Re: RE:Beginner--getting rid of dot products with zero
  • Next by thread: Re: Beginner--getting rid of dot products with zero