You are on page 1of 7

Advanced mathematical functions (102 modules) in Visual Basic 6.0 (201... http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeI...

(http://domain.com/PlanetSourceCode/default.asp)

Dream it. Code it. ™


Login (http://domain.com/vb/authentication/Login.asp?lngWId=1&
txtReturnURL=%2Fvb%2Fscripts%2FShowCode%2Easp%3FtxtCodeId%3D74940%26lngWId%3D1)

.Net (VB and C#) (http://domain.com/vb/default.asp?lngWId=10)


PHP (http://domain.com/vb/default.asp?lngWId=8)
Javascript (http://domain.com/vb/default.asp?lngWId=14)
Java (http://domain.com/vb/default.asp?lngWId=2)
C/C++ (http://domain.com/vb/default.asp?lngWId=3)
SQL (http://domain.com/vb/default.asp?lngWId=5)
Perl (http://domain.com/vb/default.asp?lngWId=6)
ASP classic (http://domain.com/vb/default.asp?lngWId=4)
VB classic (http://domain.com/vb/default.asp?lngWId=1)
Delphi (http://domain.com/vb/default.asp?lngWId=7)
Cold Fusion (http://domain.com/vb/default.asp?lngWId=9)

Code/Articles (#)
Newest (http://domain.com/vb/scripts/BrowseCategoryOrSearchResults.asp?grpCategories=-1&optSort=DateDescending&
txtMaxNumberOfEntriesPerPage=10&blnNewestCode=TRUE&blnResetAllVariables=TRUE&lngWId=1)
Browse categories (http://domain.com/vb/scripts/BrowseAllCategories.asp?lngWId=1)
Search (http://domain.com/vb/scripts/search.asp?lngWId=1)
----------------------- (#)
Upload code / articles (http://domain.com/vb/authors/determine_author_type.asp?lngWId=1)
Open letter from moderators (http://domain.com/vb/misc/OpenLetterFromPSCModerators.asp?lngWId=1)
----------------------- (#)
Articles & tutorials (http://domain.com/vb/Tutorial/default.asp?lngWId=1)
Recommended reading (http://domain.com/vb/Bookstore/default.asp?lngWId=1)
Top Code (#)
Coding contest (http://domain.com/vb/contest/ContestInfo.asp?lngWId=1)
Coding contest leader board (http://domain.com/vb/contest/ContestAndLeaderBoard.asp?lngWId=1)
Coding contest 'All-Time Hall of Fame' (http://domain.com/vb/scripts
/BrowseCategoryOrSearchResults.asp?grpCategories=-1&txtMaxNumberOfEntriesPerPage=10&blnTopCode=True&
blnResetAllVariables=TRUE&lngWId=1)
----------------------- (#)
Code of the day newsletter (http://domain.com/vb/CodeOfTheDay/signup.asp?lngWId=1)
Community (#)
Ask a pro discussion forum (http://domain.com/vb/discussion/default.asp?lngWId=1)
Code of the day newsletter (http://domain.com/vb/CodeOfTheDay/signup.asp?lngWId=1)
Open letter from moderators (http://domain.com/vb/misc/OpenLetterFromPSCModerators.asp?lngWId=1)
Jobs (#)
Search for a job (http://domain.com/vb/jobs/SearchJobs.asp?lngWId=1)
Post a job (http://domain.com/vb/jobs/PostJob.asp?lngWId=1)
Other (#)
My profile (http://domain.com/vb/authentication/MyPlanetSourceCode/CustomizeInfo.asp?lngWId=1)
How to link to us (http://domain.com/vb/LinkToUs/default.asp?lngWId=1)
Awards/Reviews/Raves! (http://domain.com/vb/about/Awards.asp?lngWId=1)
Advertising/Media kit (http://domain.com/vb/advertisement/scripts/rates.asp?lngWId=1)
Feedback (http://domain.com/vb/feedback/feedback.asp?lngWId=1)
About the site (http://domain.com/vb/about/AboutTheSiteAndAuthor.asp?lngWId=1)
Goto… (#)
Visual Basic home (http://domain.com/vb/default.asp?lngWId=1)
Site home (http://domain.com/PlanetSourceCode/default.asp?lngWId=-1)
(http://domain.com/URLSEO/entrancegeneric/ShowWorldSeOnly!asp/lngWId!1/anyn
Other sites (http://domain.com/vb/scripts/OtherLinks.asp?lngWId=1)

Important alert: (current site time 11/17/2013 9:52:28 AM EDT)

They're finally here! Check out our new 7 Source Code CDs (http://www.exhedra.com/exhedra/PlanetSourceCode/CD.aspx) !

1 of 7 17/11/2013 14:53
Advanced mathematical functions (102 modules) in Visual Basic 6.0 (201... http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeI...

The brand newrevamped discussion board (http://questions.planet-source-code.com/osqa) is here.

(#zip) Like 3 Send


(http://domain.com/vb/scripts/EmailToFriend.asp?lngWId=1&txtCodeId
txtCodeDescription=Here%2520I%2520upload%2520102%2520modules%2520containing%2520
%2B%2B%29%2E%2520To%2520show%2520our%2520appreciation%2520for%2520Sergey%2
%2520%0AK%2Dmeans%2B%2B%2520clustering%2C%2520%0ALinear%2520discriminant%2
%2C%2520%0APrincipal%2520component%2520analysis%2C%2520%09%0AOrdinary%2520d
%2C%0AAdaptive%25201%2Ddimensional%2520integration%2C%0AGauss%2DKronrod%252
%2C%0AParametric%2520spline%2520interpolation%2C%0ARational%2520interpolation%2Ffi
%2C%0ASherman%2DMorrison%2520update%2520of%2520the%2520inverse%2520matrix%2C
Advanced %2C%0ACondition%2520number%2520estimate%2C%0ASchur%2520decomposition%2C%0AD
%2C%0ALU%2520and%2520Cholesky%2520decompositions%2C%0AASA%2520bound%2520
mathematical %2C%0ADense%2520linear%2520system%2520solver%2C%0ASymmetric%2520dense%2520l
%2C%0AGamma%2520function%2C%0AHermite%2520polynomials%2C%0AIncomplete%2520
functions %2C%0AChi%2DSquare%2520distribution%2C%0APearson%2FSpearman%2520correlation%2
%2C%0AHypothesis%2520testing%3A%2520Jarque%2DBera%2520test%2C%0AHypothesis%2
(102 %3A%2520Student%27s%2520t%2Dtest%2C%0AHypothesis%2520testing%3A%2520F%2Dtes
txtCodeName=Advanced%2520mathematical%2520functions%2520%28102%2520modules%29%
txtCodeDescription=Here%2520I%2520upload%2520102%2520modules%2520containing%2520
modules) in %2B%2B%29%2E%2520To%2520show%2520our%2520appreciation%2520for%2520Sergey%2
(About the author) (http://domain.com/vb/authors
%2520%0AK%2Dmeans%2B%2B%2520clustering%2C%2520%0ALinear%2520discriminant%2
Visual Basic /ShowBio.asp?lngAuthorId=19585504478&
%2C%2520%0APrincipal%2520component%2520analysis%2C%2520%09%0AOrdinary%2520d
lngWId=1)
%2C%0AAdaptive%25201%2Ddimensional%2520integration%2C%0AGauss%2DKronrod%252
6.0 (2013) %2C%0AParametric%2520spline%2520interpolation%2C%0ARational%2520interpolation%2Ffi
%2C%0ASherman%2DMorrison%2520update%2520of%2520the%2520inverse%2520matrix%2C
%2C%0ACondition%2520number%2520estimate%2C%0ASchur%2520decomposition%2C%0AD
%2C%0ALU%2520and%2520Cholesky%2520decompositions%2C%0AASA%2520bound%2520
%2C%0ADense%2520linear%2520system%2520solver%2C%0ASymmetric%2520dense%2520l
%2C%0AGamma%2520function%2C%0AHermite%2520polynomials%2C%0AIncomplete%2520
%2C%0AChi%2DSquare%2520distribution%2C%0APearson%2FSpearman%2520correlation%2
%2C%0AHypothesis%2520testing%3A%2520Jarque%2DBera%2520test%2C%0AHypothesis%2
%3A%2520Student%27s%2520t%2Dtest%2C%0AHypothesis%2520testing%3A%2520F%2Dtes

Submitted on: 10/1/2013 7:24:14 PM


BioMeg (http://domain.com/vb/authors
By: /ShowBio.asp?lngAuthorId=19585504478&
lngWId=1)
Level: Advanced
User Rating: By 9 Users
Compatibility: VB 6.0
Views: 3009

Here I upload 102 modules containing several hundred advanced mathematical functions written by Sergey Bochkanov between 2005 and 2013 (some of
these functions are not found even in C or C++). To show our appreciation for Sergey Bochkanov's impressive work in VB6, please vote this code. Some of
the functions , include: Decision forest classifier (regression model), K-means++ clustering, Linear discriminant analysis, Linear models, Logit models,
Basic neural network (#) operations, Neural network ensemble models, Neural network training, Principal component analysis, Ordinary differential equation
solver, Fast real/complex convolution, Fast real/complex cross-correlation, Real/complex FFT, Real Fast Hartley Transform, Adaptive 1-dimensional
integration, Gauss-Kronrod quadrature generator, Gaussian quadrature generator, Inverse distance weighting: interpolation/fitting, Linear and nonlinear least-
squares solvers, Polynomial interpolation/fitting, Parametric spline interpolation, Rational interpolation/fitting, 1D spline interpolation/fitting, 2D spline
interpolation, Level 2 and Level 3 BLAS operations, Bidiagonal SVD, Eigensolvers, Sherman-Morrison update of the inverse matrix, LDLT decomposition,
Determinant calculation, Random matrix generation, Matrix inverse, Real/complex QR, LQ, bi(tri)diagonal, Hessenberg decompositions, Condition number
estimate, Schur decomposition, Determinant of a symmetric matrix, Symmetric inversion, Generalized symmetric eigensolver, Condition number estimate for
symmetric matrices, Singular value decomposition, LU and Cholesky decompositions, ASA bound constrained optimizer, Conjugate gradient optimizer,
Limited memory BFGS optimizer, Improved Levenberg-Marquardt optimizer, Nearest neighbor search: approximate and exact, Dense linear system solver,
Symmetric dense linear system solver, Airy functions, Bessel functions, Beta function, Chebyshev polynomials, Dawson integral, Elliptic integrals,
Exponential integrals, Fresnel integrals, Gamma function, Hermite polynomials, Incomplete beta function, Incomplete gamma function, Jacobian elliptic
functions, Laguerre polynomials, Legendre polynomials, Psi function, Trigonometric integrals, Binomial distribution, Chi-Square distribution,
Pearson/Spearman correlation coefficients, Hypothesis testing: correlation tests, Descriptive statistics: mean, variance, etc., F-distribution, High quality
random numbers generator, Hypothesis testing: Jarque-Bera test, Hypothesis testing: Mann-Whitney-U test, Normal distribution, Poisson distribution,
Hypothesis testing: sign test, Student's t-distribution, Hypothesis testing: Student's t-test, Hypothesis testing: F-test and one-sample variance test, Hypothesis
testing: Wilcoxon signed rank test.

2 of 7 17/11/2013 14:53
Advanced mathematical functions (102 modules) in Visual Basic 6.0 (201... http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeI...

Download code (http://domain.com/vb/scripts/ShowZip.asp?lngWId=1&lngCodeId=74940&strZipAccessCode=tp%2FA749402692)


Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip (http://www.winzip.com) to
decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safe ty,
please:

1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
3. Scan the source code with Minnow's (http://domain.com/vb/scripts/ShowCode.asp?txtCodeId=22222&lngWId=1) Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com (http://click.linksynergy.com/fs-bin/stat?id=yV5pn3d6VCs&offerid=13772&type=3&subid=0)

Terms of Agreement:
By using this code, you agree to the following terms...

1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
3. You may link to this code from another website, but ONLY if it is not wrapped in a frame.
4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.

3 of 7 17/11/2013 14:53
Advanced mathematical functions (102 modules) in Visual Basic 6.0 (201... http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeI...

Other 5 submission(s) by this author (http://domain.com/vb/scripts/BrowseCategoryOrSearchResults.asp?lngWId=1&blnAuthorSearch=TRUE&


lngAuthorId=19585504478&strAuthorName=BioMeg&txtMaxNumberOfEntriesPerPage=25)

Report Bad Submission


Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?


(The code with your highest vote will win this month's coding contest!) (http://domain.com/vb/contest/contest.asp?lngWId=1)
Excellent Good Average Below Average Poor (See voting log ... (http://domain.com
/vb/scripts/voting/VoteLog.asp?txtCodeId=74940&
txtCodeName=Advanced%20mathematical%20functions%20(102%20modules)%20in%20Visual%20Basic%206.0%20(2013)&
intUserRatingTotal=45&intNumOfUserRatings=9&lngWid=1) )

Other User Comments

10/1/2013 9:08:58 PM: Noob13 (http://domain.com/vb/feedback/EmailUser.asp?lngWId=1&lngToPersonId=22110895721&txtReferralPage=http%3A%2F


%2Fwww%2Eplanet%2Dsource%2Dcode%2Ecom%2Fvb%2Fscripts%2FShowCode%2Easp%3FtxtCodeId%3D74940%26lngWId%3D1)

Please Add Demo Form


(If this comment was disrespectful, please report it (#) .)

10/1/2013 11:11:02 PM: A. G. Violette (http://domain.com/vb/feedback/EmailUser.asp?lngWId=1&lngToPersonId=4425889693&txtReferralPage=http%3A%2F


%2Fwww%2Eplanet%2Dsource%2Dcode%2Ecom%2Fvb%2Fscripts%2FShowCode%2Easp%3FtxtCodeId%3D74940%26lngWId%3D1)

Invaluable! 5 ***** from me!


(If this comment was disrespectful, please report it (#) .)

10/1/2013 11:16:44 PM: BioMeg (http://domain.com/vb/feedback/EmailUser.asp?lngWId=1&lngToPersonId=19585504478&txtReferralPage=http%3A%2F


%2Fwww%2Eplanet%2Dsource%2Dcode%2Ecom%2Fvb%2Fscripts%2FShowCode%2Easp%3FtxtCodeId%3D74940%26lngWId%3D1)

I apologize, this is VBA code. However, these modules can be used as they are in VB6. In the coming months I will make several demo projects in VB6 by using these modules.
(If this comment was disrespectful, please report it (#) .)

10/1/2013 11:29:14 PM: BioMeg (http://domain.com/vb/feedback/EmailUser.asp?lngWId=1&lngToPersonId=19585504478&txtReferralPage=http%3A%2F


%2Fwww%2Eplanet%2Dsource%2Dcode%2Ecom%2Fvb%2Fscripts%2FShowCode%2Easp%3FtxtCodeId%3D74940%26lngWId%3D1)

Besides the 102 modules, the archive also contains 60 test modules. Again, hese modules can be used as they are in VB6.

4 of 7 17/11/2013 14:53
Advanced mathematical functions (102 modules) in Visual Basic 6.0 (201... http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeI...

(If this comment was disrespectful, please report it (#) .)

10/19/2013 3:08:26 PM: aanbarasan (http://domain.com/vb/feedback/EmailUser.asp?lngWId=1&lngToPersonId=33150144622&txtReferralPage=http%3A%2F


%2Fwww%2Eplanet%2Dsource%2Dcode%2Ecom%2Fvb%2Fscripts%2FShowCode%2Easp%3FtxtCodeId%3D74940%26lngWId%3D1)

really super,thanks rate added


(If this comment was disrespectful, please report it (#) .)

11/17/2013 9:16:03 AM: jorge f. p. (http://domain.com/vb/feedback/EmailUser.asp?lngWId=1&lngToPersonId=19583902178&txtReferralPage=http%3A%2F


%2Fwww%2Eplanet%2Dsource%2Dcode%2Ecom%2Fvb%2Fscripts%2FShowCode%2Easp%3FtxtCodeId%3D74940%26lngWId%3D1)

gracias espero que algo se util para usar, saludos y gracias por compartir!!!
(If this comment was disrespectful, please report it (#) .)

Add Your Feedback


Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you,
so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here
(http://domain.com/vb/feedback/feedback.asp?lngWId=1&intTypeOfInquiry=3) instead.)

To post feedback, first please login (http://domain.com/vb/authentication/Login.asp?lngWId=1&


txtReturnURL=%2Fvb%2Fscripts%2FShowCode%2Easp%3FtxtCodeId%3D74940%26lngWId%3D1#AddYourFeedback) .

Search:

Newest postings for Visual Basic.

5 of 7 17/11/2013 14:53
Advanced mathematical functions (102 modules) in Visual Basic 6.0 (201... http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeI...

(http://domain.com
/Upload_PSC
/ScreenShots
/PIC2013111682376275.jpg

(javascript:ShowPopupWindowXYWithScrollbars
/misc/NewUpdateIconExplanation.asp',200,300)

Retro Games Pack


(http://domain.com
/vb/scripts
/ShowCode.asp?txtCodeId=75060&
lngWId=1)

By Jack Spade on
Add this ticker to my site (http://domain.com/vb/LinkToUs/default.asp?lngWId=1#NewCodeTicker)
11/17
Daily(Screen
code email
Shot
(http://domain.com
/Upload_PSC
/ScreenShots
/PIC2013111682376275.jpg Click here to join the 'Code of the Day' mailing list
) (http://domain.com/vb/CodeOfTheDay/signup.asp?lngWId=1) !
(http://domain.com
/vb/CodeOfTheDay/signup.asp?lngWId=1)
(http://domain.com
/Upload_PSC
/ScreenShots
This site on CD
/PIC2013111679535508.jpg

(javascript:ShowPopupWindowXYWithScrollbars
/misc/NewUpdateIconExplanation.asp',200,300) Over 7,000 submissions on a super fast CD
(http://www.exhedra.com/exhedra/PlanetSourceCode/CD.aspx)
Arcade Classics (http://www.exhedra.com/exhedra !
(http://domain.com
/PlanetSourceCode/CD.aspx)
/vb/scripts
/ShowCode.asp?txtCodeId=75070&
lngWId=1)

About (http://domain.com/vb/about/AboutTheSiteAndAuthor.asp?lngWId=1)
By Jack Spade on
Contact (http://domain.com/vb/feedback/feedback.asp?lngWId=1)
11/17
Awards (http://domain.com/vb/about/Awards.asp?lngWId=1)
Link
(Screento us (http://domain.com/vb/LinkToUs/default.asp?lngWId=1)
Shot
Privacy (http://domain.com/vb/scripts/privacy.asp?lngWId=1)
(http://domain.com
Advertising
/Upload_PSC(http://domain.com/vb/advertisement/scripts/rates.asp?lngWId=1)
/ScreenShots
/PIC2013111679535508.jpg

lngWId=1)

Code/Articles
By Mike Morrow on
11/17

6 of 7 17/11/2013 14:53
Advanced mathematical functions (102 modules) in Visual Basic 6.0 (201... http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeI...

Newest (http://domain.com/vb/scripts/BrowseCategoryOrSearchResults.asp?grpCategories=-1&optSort=DateDescending&
txtMaxNumberOfEntriesPerPage=10&blnNewestCode=TRUE&blnResetAllVariables=TRUE&lngWId=1)
Browse categories (http://domain.com/vb/scripts/BrowseAllCategories.asp?lngWId=1)
Search (http://domain.com/vb/scripts/search.asp?lngWId=1)
Upload code / articles (http://domain.com/vb/authors/determine_author_type.asp?lngWId=1)
Open letter from moderators (http://domain.com/vb/misc/OpenLetterFromPSCModerators.asp?lngWId=1)
Articles & tutorials (http://domain.com/vb/Tutorial/default.asp?lngWId=1)
Recommended reading (http://domain.com/vb/Bookstore/default.asp?lngWId=1)

Top Code

Coding contest (http://domain.com/vb/contest/ContestInfo.asp?lngWId=1)


Coding contest leader board (http://domain.com/vb/contest/ContestAndLeaderBoard.asp?lngWId=1)
Coding contest 'All-Time Hall of Fame' (http://domain.com/vb/scripts/BrowseCategoryOrSearchResults.asp?grpCategories=-1&
txtMaxNumberOfEntriesPerPage=10&blnTopCode=True&blnResetAllVariables=TRUE&lngWId=1)
Code of the day newsletter (http://domain.com/vb/CodeOfTheDay/signup.asp?lngWId=1)

Community

Ask a pro discussion forum (http://domain.com/vb/discussion/default.asp?lngWId=1)


Code of the day newsletter (http://domain.com/vb/CodeOfTheDay/signup.asp?lngWId=1)

Jobs

Search for a job (http://domain.com/vb/jobs/SearchJobs.asp?lngWId=1)


Post a job (http://domain.com/vb/jobs/PostJob.asp?lngWId=1)

Other

My profile (http://domain.com/vb/authentication/MyPlanetSourceCode/CustomizeInfo.asp?lngWId=1)
How to link to us (http://domain.com/vb/LinkToUs/default.asp?lngWId=1)
Awards/Reviews/Raves! (http://domain.com/vb/about/Awards.asp?lngWId=1)
Advertising/Media kit (http://domain.com/vb/advertisement/scripts/rates.asp?lngWId=1)
Feedback (http://domain.com/vb/feedback/feedback.asp?lngWId=1)
About the site (http://domain.com/vb/about/AboutTheSiteAndAuthor.asp?lngWId=1)

Goto…

Visual Basic home (http://domain.com/vb/default.asp?lngWId=1)


Site home (http://domain.com/PlanetSourceCode/default.asp?lngWId=-1)
Other sites (http://domain.com/vb/scripts/OtherLinks.asp?lngWId=1)

Copyright© 1997-2013 by Exhedra Solutions, Inc. (http://www.exhedra.com/) All Rights Reserved.


By using this site you agree to its Terms and Conditions (http://domain.com/vb/scripts/TermsAndConditions.asp?lngWId=1) . Planet
Source Code™ and the phrase "Dream It. Code It"™ are trademarks of Exhedra Solutions, Inc. (http://www.exhedra.com/)

7 of 7 17/11/2013 14:53

You might also like