lbfgsb 0.4.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
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
data/sig/patch.rbs DELETED
@@ -1,11 +0,0 @@
1
- module Numo
2
- class NArray
3
- def self.zeros: (*untyped) -> untyped
4
- def size: () -> Integer
5
- end
6
-
7
- class DFloat < NArray
8
- def []: (*untyped) -> untyped
9
- def []=: (*untyped) -> untyped
10
- end
11
- end