GSLib v1.0 released!

by

GSLib is a COM(ActiveX) component which can be use to solve linear equations using Gauss–Seidel iterative method!You can use this library from any language which has support for COM technology! (ex: C++, VB, C# …)

Description:

CalculateRoots method has 3 parameters!

equationCount = number of equations you have
params = array of constants with assumption values of roots
roots = output buffer which receive value of roots

for instance, suppose you want to solve following three linear equations:

12x+3y-5z=1 ———-(1)
x+5y+3z=28  ———-(2)
3x+7y+13z=76———-(3)

so, equationCount=3

params= array [12,3,-5,1,1,5,3,28,3,7,13,76,0,0,0]  ( last three zeros are assumption values of roots! usually we use zeros…)

roots = array to hold root values! for this example, array size should be enough to hold three numbers.
Installation:
 put GSLib.dll into somewhere then call “regsvr32.exe GSLib.dll”

Uninstallation:
 call “regsvr32.exe /u GSLib.dll”

Download

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: