alglib 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,4 @@
1
1
  #include "alglib_util.h"
2
- #include <iostream>
3
2
 
4
3
  VALUE real1d_to_array(ap::real_1d_array *x) {
5
4
  VALUE ar=rb_ary_new2(x->gethighbound()-x->getlowbound());
@@ -40,7 +40,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40
40
  #include <string>
41
41
  #include <cstring>
42
42
  #include <math.h>
43
-
43
+ #include <cstdio>
44
44
  #ifdef __BORLANDC__
45
45
  #include <list.h>
46
46
  #include <vector.h>
@@ -1,6 +1,7 @@
1
1
  require 'mkmf'
2
+ require 'fileutils'
2
3
  $CFLAGS+=" -DEBUG "
3
4
  $libs = append_library($libs, "supc++")
4
5
  $libs = append_library($libs, "stdc++")
5
6
  create_makefile("alglib_ext","alglib")
6
-
7
+ FileUtils.mv("Makefile","Makefile.#{RUBY_VERSION}")
@@ -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
- version: 0.1.1
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: 2009-10-06 00:00:00 -04:00
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: hoe
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
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
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
- version: 2.3.3
24
- version:
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.5
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