comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Mathematical manipulations
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Mathematical manipulations [message #37947] Sat, 07 February 2004 06:35
khromova2001 is currently offline  khromova2001
Messages: 2
Registered: February 2004
Junior Member
David Fanning <david@dfanning.com> wrote in message news:<MPG.1a8d68a4d4548fc09897dc@news.frii.com>...

> http://www.dfanning.com/math_tips/sky_is_falling.html
> http://www.dfanning.com/math_tips/double.html
>
> Cheers,
>
> David

Thank you David as usual! Your cite is very usiful. Today in the
night I found everything and solved this problem!
Sincerely,Anastasiya
Re: Mathematical manipulations [message #37950 is a reply to message #37947] Fri, 06 February 2004 08:03 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Anastasiya writes:

> Me is already couple of month in IDL and already understood that here
> exist huge amount of stones under the water-:(
> I am currently working on the multiple scattering of X-rays in 3D.
> Everythin seems was O.K. But...
> The initial parameters ray direction and initial position, spheres
> centers and radiuses. Using Snell's law, vector product of unit
> vectors(incident direction and normal to the surface or refracted
> direction and normal) I found incident and refracted angles.
> I need also to find angle between refracted ray direction and initial
> direction(all rays was parallel to OX [1,0,0]. Let's say t[0]
> x-coordinate of refraction direction is 1.0000. Acos(1.0000)=0.0000.
> But me recieving 2.7905781e-006!!!!!!!
> What does it mean, may be somebody may explaine me where to check?.
> May be me using not correctly mathematics in IDL.
> P.S.Loops I will eliminate in future

You will probably get more useful advice in a few minutes,
but while you are waiting, here are a couple of articles
I think you might find interesting:

http://www.dfanning.com/math_tips/sky_is_falling.html
http://www.dfanning.com/math_tips/double.html

Cheers,

David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Mathematical manipulations
Next Topic: color PS output error??

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 10:25:07 PDT 2025

Total time taken to generate the page: 1.19720 seconds