This is a class written in vb.net. It has 8 Functions
How to use it ...
Step 1-Add this class to your project. (Add Existing Items )
Step 2-Create an instance :
dim Ins_name as new statistic
call the functions you need from Ins_name.
Min and Max :
You can calculate the Min (max) of byte,integer or double arrays
of one,two or three dimention.
each functions has 9 Overload.
you can calculate the mea of byte,integer or double array. BUT have you ever think if you could be able to calculate the mean of several or more arrays at the same time.
I means that you do not need to call the class several times to calculate the mean of them. you can create an jagged array and use it as input so you will find the result as an array!
Example : you want to calculate the mean of to arrays ( array1, array2)
dim jagged_array(1)() as double
dim mean_array() as double=statistic.mean(jagged_array)
dim mean1 as double = mean_array(0)
dim mean2 as double = mean_array(1)
You can do the same for variance.
as you see my English is not very well so please tell me if you had any problem using this class.
Enjoy it. (YA ALI)