Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
The C# Excel Library 2020.5
dbForge Studio for MySQL 9.0
LinkedIn Clone 2.2
Uber clone Apps 4.0
Cab Booking Script 1.3.2
Airbnb Clone HomestayDNN 3.0
Magento Language switcher 1.2.1
The .Net PDF Library 2020.3.2
IP2Location Geolocation Database 2020.5
ODBC Driver for MailChimp 2.0
ODBC Driver for NetSuite 2.0
ODBC Driver for SQL Azure 3.1
dbForge Schema Compare for Oracle 4.1
dbForge Data Compare for Oracle 5.1
dbForge Studio for Oracle 4.1
Top Code
dbForge Studio for MySQL 8.1
dbForge Studio for Oracle 3.10
dbForge Schema Compare for Oracle 2.7
dbForge Data Compare for Oracle 3.7
IP2Location Geolocation Database 2020.5
azar's knights tour 1.0
PDF Chart Creator DLL
PDF Chart Creator Dynamic Link Library 1.0
Form creator 1.0
FormMail Lite 1.0
SocketTimesheet
BS/1 Professional - Time Billing and Accounting
Online Video Rental Software System Alpha
Bullschmidt ASP Web Database Sample 2.0
Easy PCB Design Software in Java 1.0
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
RANDSPHERE: RANDOM POINTS ON THE SURFACE OF AN nD SPHERE 1.0
File ID: 79363






RANDSPHERE: RANDOM POINTS ON THE SURFACE OF AN nD SPHERE 1.0
Download RANDSPHERE: RANDOM POINTS ON THE SURFACE OF AN nD SPHERE 1.0http://www.advancedmcode.org/poker-predictor-a-free-texas-holdem-odds-and-probability-computer.htmlReport Error Link
License: Freeware
File Size: 10.0 KB
Downloads: 21
User Rating:1 Stars  (1 rating)
Submit Rating:
RANDSPHERE: RANDOM POINTS ON THE SURFACE OF AN nD SPHERE 1.0 Description
Description: A few days ago I was in need of uniformly random points generation on the surface of sphere. I suddenly discovered that common parametrization with 2 angles is useless, it gathers too many points in the poles. At MathWorld you can find the complete demonstration, here the main lines:

To pick a random point on the surface of a unit sphere, it is incorrect to select spherical coordinates theta and phi from uniform distributions theta in [0,2pi) and phi in [0,pi], since the area element dOmega=sinphidthetadphi is a function of phi, and hence points picked in this way will be d-deDUbunchedd-deDt near the poles (left figure above).

License: Freeware

Related: mathworld, area element, Angles, phi, bunched, Find, coordinates theta, complete demonstration, common parametrization, and hence, 0pi since, points, select spherical, this way will, theta phi, uniform distributions theta, uniformly random points, 02pi an

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 21



More Similar Code

Computes the haversine (great circle) distance in metres between successive points on the surface of the Earth. These points are specified as vectors of latitudes and longitudes.



CYLINDER: A function to draw a N-sided cylinder based on the
generator curve in the vector R. It is based on file exchange 5468. I changed a little bit so that it can generate more points on the surface of the cylinder.



for Lebedev quadratures on the surface of the unit sphere at double precision.
**********Relative error is generally expected to be ~2.0E-14 [1]********
Lebedev quadratures are superbly accurate and efficient quadrature rules for...



This function returns statistics on the intensity of an image, including the sum, mean, standard deviation, min and max. A rectangular region of interest can be selected by the user by using 'r' as the 2nd parameter. Alternatively, the region of...



Displays random psots on the sidebar of your blog, ideal for keeping visitors on your site longer and offering more reading.
Displays random psots on the sidebar of your blog, ideal for keeping visitors on your site longer and offering more...



The Touch Icons module allows site administrators and themers to specify icons for use as Web Clip bookmarks on the homescreen of an iPhone or iPod Touch.

Extra theme settings are provided so that iPhone/iPod Touch icons can be...



Research on the design of an innovative application framework that implement ideas inspired by biological systems.



Calculating Distances between points on the image



The function "mydepfun" determines the dependencies of an
M-file, ignoring files inside the MATLAB "toolbox" directory. Skipping these files gives significant performance improvements over calling "depfun"...



GINPUTPLOT finds points on the 2-D plot nearest to the mouse click

[XI,YI] = GINPUTPLOT(N) gets N points from the current axes and
returns the nearest points on the plot of Y versus X, in length N
vectors XI and YI, where X...

User Review for RANDSPHERE: RANDOM POINTS ON THE SURFACE OF AN nD SPHERE
- required fields
     

Please enter text on the image