Apache Commons Math library အသံုးျပဳ ျခင္း (1)

Apache Commons Math library အသံုးျပဳ ျခင္း (1)
==============
Apache Commons Math library က သခ်ၤာဆိုင္ရာ တြက္ခ်က္မႈေတြ လုပ္ႏိုင္ေအာင္ ဖန္တီးထားတဲ့ဟာ ျဖစ္ပါတယ္။ AIDE မွာ ဒီ lib add ဖို႔ ေအာက္ကအတိုင္း လုပ္ပါ။
၁။ AIDE Project အသစ္တခု စလိုက္ပါ။
၂။ build.gradle dependencies မွာ ဒါျဖည့္ပါ။
compile 'org.apache.commons:commons-math3:3.6.1'
၃။ Internet ဖြင့္ၿပီး save လုပ္လိုက္ရင္ lib ကို download ခ်ပါလိမ့္မယ္။
ၿပီးရင္ ဒီ lib ကို သံုးႏိုင္ပါၿပီ။
=========
Apache Commons Math မွာ ပါတဲ့ package ေတြကို ေအာက္မွာ ျပထားပါတယ္။ ကိုယ့္တြက္ခ်က္မႈအတြက္ လိုအပ္မဲ့ package ကို import လုပ္ၿပီး သံုးရပါမယ္။
org.apache.commons.math3.stat – statistics and statistical tests
org.apache.commons.math3.distribution – probability distributions
org.apache.commons.math3.random – random numbers, strings and data generation
org.apache.commons.math3.analysis – root finding, integration, interpolation, polynomials, etc.
org.apache.commons.math3.linear – matrices, solving linear systems
org.apache.commons.math3.geometry – geometry (Euclidean spaces and binary space partitioning)
org.apache.commons.math3.transform – transform methods (fast Fourier)
org.apache.commons.math3.ode – ordinary differential equations integration
org.apache.commons.math3.fitting – curve fitting
org.apache.commons.math3.optim – function maximization or minimization
org.apache.commons.math3.genetics – genetic algorithms
org.apache.commons.math3.ml – machine learning (clustering and neural networks)
org.apache.commons.math3.util – common math/stat functions extending java.lang.Math
org.apache.commons.math3.special – special functions (Gamma, Beta)
org.apache.commons.math3.complex – complex numbers
org.apache.commons.math3.fraction – rational numbers
==========
လက္ေတြ႕ အသံုးျပဳပံုေတြကို ဆက္ေလ့လာပါမယ္။

Comments

Popular posts from this blog

Android Spinner (Drop Down) Example

Programming ႏွင့္ Database

ဒသမကိန္း (double) တခုကို ဒသမ ေနရာ ဘယ္ႏွစ္လံုးနဲ႔ အနီးဆံုး round တန္ဖိုး ျဖတ္ယူခ်င္ပါတယ္ ဆိုတာမ်ိဳး သံုးဖို႔ method တခု ေရးေပးလိုက္ပါတယ္။