boost_distributions 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -1
- data/Rakefile +1 -1
- data/ext/boost_distributions/BoostDistributions/BoostDistributions_wrap.cxx +3 -1
- data/ext/boost_distributions/extconf.rb +2 -0
- data/ext/ninja-scan-light/tool/swig/BoostDistributions.i +3 -1
- data/lib/boost_distributions/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 35dec0969618b0f79bd22560ead41dd79f7188eb6edfe96fd21b9405a42f75cc
|
4
|
+
data.tar.gz: c4ef8d115bec49ec8aff483396f603a8f63162d4900b845fc0ce3fb54eada2f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5016680f7798264272473b75558e9003359ad364e248ecb41553197303d84036a3482fd1290d5c7bdb38f9ff593a57e5fed204bea0d47d89bb08be55625f2947
|
7
|
+
data.tar.gz: e1ed6f5fe216511aaf667f4fa15043e7dbd7ac0b4d68a39b5c10688f6d180ae694be53abff3b492975e208be335397d5a3450118f29b85ea89b4d2d986786659
|
data/README.md
CHANGED
@@ -31,16 +31,25 @@ After installation of boost headers, install the gem as:
|
|
31
31
|
|
32
32
|
$ gem install boost_distributions
|
33
33
|
|
34
|
+
Note that if your boost headers are not in the standard path, the following alternative are helpful for each method.
|
35
|
+
|
36
|
+
$ gem install boost_distributions -- --with-boost-include=/path/to/parent_directory_of_boost_header
|
37
|
+
|
34
38
|
Or if you want to include it into your application, add this line to Gemfile:
|
35
39
|
|
36
40
|
```ruby
|
37
41
|
gem 'boost_distributions'
|
38
42
|
```
|
39
|
-
|
40
43
|
and execute:
|
41
44
|
|
42
45
|
$ bundle install
|
43
46
|
|
47
|
+
following
|
48
|
+
|
49
|
+
$ bundle config build.boost_distributions --with-boost-include=/path/to/parent_directory_of_boost_header
|
50
|
+
|
51
|
+
if your boost headers are in the non-standared path.
|
52
|
+
|
44
53
|
## Usage
|
45
54
|
|
46
55
|
Example usage is as the followings:
|
data/Rakefile
CHANGED
@@ -3289,7 +3289,9 @@ SWIGINTERN boost::math::hyperexponential_distribution< double,policies::policy<
|
|
3289
3289
|
prob.begin(), prob.end(), range.begin(), range.end());
|
3290
3290
|
}
|
3291
3291
|
SWIGINTERN boost::math::hyperexponential_distribution< double,policies::policy< > > *new_boost_math_hyperexponential_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg___SWIG_2(std::vector< double > const &range){
|
3292
|
-
return new hyperexponential_distribution(range
|
3292
|
+
return new hyperexponential_distribution(range);
|
3293
|
+
// two argument constructors have an overload problem. It is checked with 1.82.0.
|
3294
|
+
//return new hyperexponential_distribution(range.begin(), range.end());
|
3293
3295
|
}
|
3294
3296
|
SWIGINTERN boost::math::hyperexponential_distribution< double,policies::policy< > >::value_type boost_math_hyperexponential_distribution_Sl_double_Sc_policies_policy_Sl__Sg__Sg__pdf(boost::math::hyperexponential_distribution< double,policies::policy< > > const *self,boost::math::hyperexponential_distribution< double,policies::policy< > >::value_type const &x){
|
3295
3297
|
return boost::math::distribution_shim_t<105700>::pdf(*self, x);
|
@@ -297,7 +297,9 @@ struct dist_name ## _distribution { // dummy
|
|
297
297
|
}
|
298
298
|
hyperexponential_distribution(
|
299
299
|
const std::vector<RealT> &range){
|
300
|
-
return new hyperexponential_distribution(range
|
300
|
+
return new hyperexponential_distribution(range);
|
301
|
+
// two argument constructors have an overload problem. It is checked with 1.82.0.
|
302
|
+
//return new hyperexponential_distribution(range.begin(), range.end());
|
301
303
|
}
|
302
304
|
#endif
|
303
305
|
};
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: boost_distributions
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- fenrir(M.Naruoka)
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|