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
OrgChart JS 7.6.13
EXE Stealth Protector 4.26
EXE Bundle - The file joiner 3.15
Flowrigami 1.0.1
Database Workbench Pro 5.7.8.353
IP2Location Geolocation Database Feb.2021
The C# Excel Library 2020.12.2
The C# Barcode Library 2020.12.2
Vue Injector 3.3.1
The C# OCR Library 2020.11
SentiVeillance SDK Trial 7.3.2020.11.30
VaxVoIP WebPhone SDK 4.0.6.0
SentiMask SDK Trial 2.0_193121
C# QR Code Generator 2020.12
How to Read Text from an Image in C# 2020.12
Top Code
IcrediBB Bulletin Board System 1.0
Azizi search engine script PHP 4.1.10
NES Rom Maker 1.0
OpenGL 3D Temple for Graphics and Animations 1.1
C# QR Code Generator 2020.12
BS/1 Accounting - Accounting Source Code
OrgChart JS 7.6.13
Uber Clone with Safety Measure Addons 2.0
phpEnter 5.1.
AJ Matrix v2.6
Restaurant Table Reservation System 1.0
Time Slot Booking Calendar PHP 1.0
School Management Script 1.0.4
Sportsbook software by BOOKIE Software 3.01
PID Tuning Using Genetic Algorithm 1.1
Top Rated
Uber Clone with Safety Measure Addons 2.0
Answers phpSoftPro 3.12
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Apphitect Airbnb Clone Script 1.0
Deals and Discounts Website Script 1.0.2
Pro MLM 1
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
ICPennyBid Penny Auction Script 4.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