⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
Ruby master
All Projects
Ruby
»
Ruby master
Overview
Activity
Roadmap
Issues
Repository
Like
Download (454 Bytes)
Bug #10133
» calculateSamplesize.rb
lxh37 (Liz Huang)
, 08/20/2014 07:30 PM
class
Samplesize
require
'fiddle/import'
module
Libm
extend
Fiddle
::
Importer
dlload
'/Library/WebServer/smart/lib/libsamplesize.dylib'
extern
'long Calculate(long, double, double, char*)'
end
def
compute
require
'fiddle'
errmsg
=
" "
puts
"before call external library"
puts
Libm
.
Calculate
(
1000
,
0.2
,
0.9
,
errmsg
)
end
end
« Previous
1
2
3
4
5
6
Next »
(4-4/6)
Loading...