This is the mail archive of the gsl-discuss@sourceware.cygnus.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

2, 3d euclidian geometry, forces, etc



Are there any plans to support euclidian vector algebra in n
dimensions? Preferably with user-defined physical field properties?

Specifically I want to be able to do things like define two vectors,
v_1, and v_2, have v_1 radiate a force decreasing at 1/distance^2, and
calculate the the force vector across all of v_2. This is more complex
than simple point sources, but there doesn't even seem to be support
for those. It could be argued that a two body case is so trivial it
doesn't need supporting, which is probably true, but n body cases and
non point sources are hard work and useful in many (even non-physics)
applications. i.e the v_1, v2 example I mentioned above forms part of
an optimisation solution I have for laying out 2d chemical labels
(part-of-molecule number, atomic weight, charge, etc) over a 3d
polynucleartide in such a way as to avoid the labels writing accross
each other. If there is some simple way to do this with gsl that
I've missed, please let me know.

Cheers,
Julian.

--
   Warren Air Force Base in Cheyenne, Wyoming, recorded a message that
   one of its Minuteman III intercontinental ballistic missiles was
   about to launch from its silo due to a computer malfunction. To
   prevent the possible launch, an armored car was parked on top of
   the silo.

     - Shaun Gregory, The Hidden Cost of Deterrence: Nuclear Weapons
       Accidents, Brassey's UK, London, 1990, pp. 181-182.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]