lbfgsb 0.4.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/LICENSE.txt +1 -1
- data/README.md +16 -2
- data/ext/lbfgsb/extconf.rb +12 -3
- data/ext/lbfgsb/lbfgsbext.c +48 -17
- data/ext/lbfgsb/lbfgsbext.h +1 -1
- data/ext/lbfgsb/src/blas.c +25 -25
- data/ext/lbfgsb/src/blas.h +5 -5
- data/ext/lbfgsb/src/common.h +16 -0
- data/ext/lbfgsb/src/lbfgsb.c +260 -281
- data/ext/lbfgsb/src/lbfgsb.h +45 -43
- data/ext/lbfgsb/src/linpack.c +23 -24
- data/ext/lbfgsb/src/linpack.h +3 -3
- data/lib/lbfgsb/version.rb +1 -1
- data/lib/lbfgsb.rb +3 -2
- metadata +8 -16
- data/.clang-format +0 -149
- data/.github/workflows/build.yml +0 -21
- data/.gitignore +0 -17
- data/.rspec +0 -3
- data/.yardopts +0 -1
- data/Gemfile +0 -10
- data/Rakefile +0 -15
- data/Steepfile +0 -20
- data/lbfgsb.gemspec +0 -33
- data/sig/patch.rbs +0 -11
data/lbfgsb.gemspec
DELETED
@@ -1,33 +0,0 @@
|
|
1
|
-
require_relative 'lib/lbfgsb/version'
|
2
|
-
|
3
|
-
Gem::Specification.new do |spec|
|
4
|
-
spec.name = 'lbfgsb'
|
5
|
-
spec.version = Lbfgsb::VERSION
|
6
|
-
spec.authors = ['yoshoku']
|
7
|
-
spec.email = ['yoshoku@outlook.com']
|
8
|
-
|
9
|
-
spec.summary = 'Lbfgsb.rb is a Ruby binding for L-BFGS-B.'
|
10
|
-
spec.description = <<~MSG
|
11
|
-
Lbfgsb.rb is a Ruby binding for L-BFGS-B that is a limited-memory algorithm for
|
12
|
-
solving large nonlinear optimization problems subject to simple bounds on the variables.
|
13
|
-
MSG
|
14
|
-
spec.homepage = 'https://github.com/yoshoku/lbfgsb.rb'
|
15
|
-
spec.license = 'BSD-3-Clause'
|
16
|
-
|
17
|
-
spec.metadata['homepage_uri'] = spec.homepage
|
18
|
-
spec.metadata['source_code_uri'] = 'https://github.com/yoshoku/lbfgsb.rb'
|
19
|
-
spec.metadata['changelog_uri'] = 'https://github.com/yoshoku/lbfgsb.rb/blob/main/CHANGELOG.md'
|
20
|
-
spec.metadata['documentation_uri'] = 'https://yoshoku.github.io/lbfgsb.rb/doc/'
|
21
|
-
|
22
|
-
# Specify which files should be added to the gem when it is released.
|
23
|
-
# The `git ls-files -z` loads the files in the RubyGem that have been added into git.
|
24
|
-
spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
|
25
|
-
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
26
|
-
end
|
27
|
-
spec.bindir = 'exe'
|
28
|
-
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
29
|
-
spec.require_paths = ['lib']
|
30
|
-
spec.extensions = ['ext/lbfgsb/extconf.rb']
|
31
|
-
|
32
|
-
spec.add_runtime_dependency 'numo-narray', '>= 0.9.1'
|
33
|
-
end
|