|
[Date Index]
[Thread Index]
[Author Index]
Re: calculate de Jong function
- To: mathgroup at smc.vnet.net
- Subject: [mg56985] Re: calculate de Jong function
- From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
- Date: Thu, 12 May 2005 02:32:18 -0400 (EDT)
- Organization: Uni Leipzig
- References: <d5skfb$nv0$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi,
your vector is a list and the dimension of the
vector is the
length of the list
f[x_]:=x.x
does what you want.
Regards
Jens
"Stefan Schuster"
<bi1169*delete_from_star_to_star* at fh-weihenstephan.de>
schrieb im Newsbeitrag
news:d5skfb$nv0$1 at smc.vnet.net...
> Hello,
>
> I don't know how I should implement the first de
> jong function:
>
> f(x)=Sum((x_i)^2)
> where x is a Vector with n dimensions and x_i is
> the value of the i-th
> Dimension.
> i.e. all Values of the Vector are squared and
> added.
>
> My problem is that I don't know how many
> Dimensions there are, so I
> can't define the borders of the SUM function.
>
> thanks in advance for help
>
> Stefan
>
Prev by Date:
Reading in a file
Next by Date:
Re: calculate de Jong function
Previous by thread:
Re: calculate de Jong function
Next by thread:
Re: calculate de Jong function
|