[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Sum of vector values
From: |
Brian Gough |
Subject: |
Re: [Help-gsl] Sum of vector values |
Date: |
Sat, 28 Jul 2007 20:25:31 +0100 |
User-agent: |
Wanderlust/2.14.0 (Africa) Emacs/22.1 Mule/5.0 (SAKAKI) |
At Fri, 27 Jul 2007 14:53:08 +0200,
Benjamin Otto wrote:
> is there a function in GSL returning the sum of the values in a vector?
No, we only have vector norms (the sum of elements is not really a
natural property of a vector). If you need it, it's better to use
arrays and do a simple loop.
--
Brian Gough
Network Theory Ltd,
Publishing the GSL Manual - http://www.network-theory.co.uk/gsl/manual/