How to use DescriptiveStatistics class

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

How to use DescriptiveStatistics class

Santosh Malviya-3
Hello all,
I have to use DescriptiveStatistics class of package
org.apache.commons.math.stat.descriptive.DescriptiveStatistics in groovy in
order to use its methods like addValue and getStandardDeviation. So how can
I use it. Please help.

Thanks in advance.

Thanks and Regards
Santosh Malviya

**
Reply | Threaded
Open this post in threaded view
|

Re: How to use DescriptiveStatistics class

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I created a test java class and put in
import org.apache.commons.math.stat.descriptive.DescriptiveStatistics
and it does not show as being in ofbiz currently.
So find the Jar that has it in it
I use google an search for
org.apache.commons.math.stat.descriptive.DescriptiveStatistics jar
got this link
http://www.java2s.com/Code/Jar/Apache-Common/Downloadcommonsmath11jar.htm
so put that in you lib folder of you component you are doing and make
sure the
    <classpath type="jar" location="lib/*"/>
in
ofbiz-component.xml
for that componet is included

santosh malviya sent the following on 3/13/2009 10:07 AM:

> Hello all,
> I have to use DescriptiveStatistics class of package
> org.apache.commons.math.stat.descriptive.DescriptiveStatistics in groovy in
> order to use its methods like addValue and getStandardDeviation. So how can
> I use it. Please help.
>
> Thanks in advance.
>
> Thanks and Regards
> Santosh Malviya
>
> **
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJuph5rP3NbaWWqE4RAm7DAKDJaemKSic/OyLRsfbFKWWa5aS/ggCeJ1mO
7oKerWJo55/33Rz/z0UNUvw=
=+EUg
-----END PGP SIGNATURE-----
Reply | Threaded
Open this post in threaded view
|

Re: How to use DescriptiveStatistics class

santosh malviya-2
Thanks you BJ, it works for me.

Thanks and Regards
Santosh Malviya

BJ Freeman wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I created a test java class and put in
import org.apache.commons.math.stat.descriptive.DescriptiveStatistics
and it does not show as being in ofbiz currently.
So find the Jar that has it in it
I use google an search for
org.apache.commons.math.stat.descriptive.DescriptiveStatistics jar
got this link
http://www.java2s.com/Code/Jar/Apache-Common/Downloadcommonsmath11jar.htm
so put that in you lib folder of you component you are doing and make
sure the
    <classpath type="jar" location="lib/*"/>
in
ofbiz-component.xml
for that componet is included

santosh malviya sent the following on 3/13/2009 10:07 AM:
  
Hello all,
I have to use DescriptiveStatistics class of package
org.apache.commons.math.stat.descriptive.DescriptiveStatistics in groovy in
order to use its methods like addValue and getStandardDeviation. So how can
I use it. Please help.

Thanks in advance.

Thanks and Regards
Santosh Malviya

**

    
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJuph5rP3NbaWWqE4RAm7DAKDJaemKSic/OyLRsfbFKWWa5aS/ggCeJ1mO
7oKerWJo55/33Rz/z0UNUvw=
=+EUg
-----END PGP SIGNATURE-----

  


smime.p7s (4K) Download Attachment