alglib 0.1.1 → 0.1.2
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.
- data/Rakefile +16 -7
- data/ext/Rakefile +6 -7
- data/ext/alglib.i +4 -3
- data/ext/alglib/alglib.cpp +223 -155
- data/ext/alglib/alglib_util.cpp +0 -1
- data/ext/alglib/ap.h +1 -1
- data/ext/extconf.rb +2 -1
- data/test/test_linreg.rb +0 -16
- metadata +49 -10
data/ext/alglib/alglib_util.cpp
CHANGED
data/ext/alglib/ap.h
CHANGED
data/ext/extconf.rb
CHANGED
data/test/test_linreg.rb
CHANGED
@@ -2,22 +2,6 @@ $:.unshift(File.expand_path(File.dirname(__FILE__)+"/../lib"))
|
|
2
2
|
$:.unshift(File.expand_path(File.dirname(__FILE__)+"/../ext"))
|
3
3
|
|
4
4
|
require "test/unit"
|
5
|
-
begin
|
6
|
-
require 'statsample'
|
7
|
-
HAS_SS=true
|
8
|
-
rescue
|
9
|
-
HAS_SS=false
|
10
|
-
end
|
11
|
-
|
12
|
-
if(HAS_GSL.nil?)
|
13
|
-
begin
|
14
|
-
require 'rbgsl'
|
15
|
-
HAS_GSL=true
|
16
|
-
rescue
|
17
|
-
HAS_GSL=false
|
18
|
-
end
|
19
|
-
end
|
20
|
-
|
21
5
|
require "alglib"
|
22
6
|
require 'matrix'
|
23
7
|
class TestAlglibLinreg < Test::Unit::TestCase
|
metadata
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: alglib
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
prerelease: false
|
5
|
+
segments:
|
6
|
+
- 0
|
7
|
+
- 1
|
8
|
+
- 2
|
9
|
+
version: 0.1.2
|
5
10
|
platform: ruby
|
6
11
|
authors:
|
7
12
|
- Claudio Bustos
|
@@ -9,19 +14,51 @@ autorequire:
|
|
9
14
|
bindir: bin
|
10
15
|
cert_chain: []
|
11
16
|
|
12
|
-
date:
|
17
|
+
date: 2010-03-22 00:00:00 -03:00
|
13
18
|
default_executable:
|
14
19
|
dependencies:
|
15
20
|
- !ruby/object:Gem::Dependency
|
16
|
-
name:
|
21
|
+
name: rubyforge
|
22
|
+
prerelease: false
|
23
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
24
|
+
requirements:
|
25
|
+
- - ">="
|
26
|
+
- !ruby/object:Gem::Version
|
27
|
+
segments:
|
28
|
+
- 2
|
29
|
+
- 0
|
30
|
+
- 4
|
31
|
+
version: 2.0.4
|
32
|
+
type: :development
|
33
|
+
version_requirements: *id001
|
34
|
+
- !ruby/object:Gem::Dependency
|
35
|
+
name: gemcutter
|
36
|
+
prerelease: false
|
37
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
segments:
|
42
|
+
- 0
|
43
|
+
- 5
|
44
|
+
- 0
|
45
|
+
version: 0.5.0
|
17
46
|
type: :development
|
18
|
-
|
19
|
-
|
47
|
+
version_requirements: *id002
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: hoe
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
20
52
|
requirements:
|
21
53
|
- - ">="
|
22
54
|
- !ruby/object:Gem::Version
|
23
|
-
|
24
|
-
|
55
|
+
segments:
|
56
|
+
- 2
|
57
|
+
- 5
|
58
|
+
- 1
|
59
|
+
version: 2.5.1
|
60
|
+
type: :development
|
61
|
+
version_requirements: *id003
|
25
62
|
description: ALGLIB - is a multilingual collection of algorithms designed to solve problems in the field of numeric analysis and data processing. ALGLIB is distributed under a 3-clause BSD license. This license is unrestrictive and allows using the package both in open and proprietary programs and even relicensing the code (if the new license doesn't conflict with the terms of the 3-clause BSD license).
|
26
63
|
email:
|
27
64
|
- clbustos@gmail.com
|
@@ -302,18 +339,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
302
339
|
requirements:
|
303
340
|
- - ">="
|
304
341
|
- !ruby/object:Gem::Version
|
342
|
+
segments:
|
343
|
+
- 0
|
305
344
|
version: "0"
|
306
|
-
version:
|
307
345
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
308
346
|
requirements:
|
309
347
|
- - ">="
|
310
348
|
- !ruby/object:Gem::Version
|
349
|
+
segments:
|
350
|
+
- 0
|
311
351
|
version: "0"
|
312
|
-
version:
|
313
352
|
requirements: []
|
314
353
|
|
315
354
|
rubyforge_project: ruby-statsample
|
316
|
-
rubygems_version: 1.3.
|
355
|
+
rubygems_version: 1.3.6
|
317
356
|
signing_key:
|
318
357
|
specification_version: 3
|
319
358
|
summary: ALGLIB - is a multilingual collection of algorithms designed to solve problems in the field of numeric analysis and data processing
|