forked from translunar/nmatrix
-
Notifications
You must be signed in to change notification settings - Fork 133
/
nmatrix.rb
42 lines (40 loc) · 1.13 KB
/
nmatrix.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# = NMatrix
#
# A linear algebra library for scientific computation in Ruby.
# NMatrix is part of SciRuby.
#
# NMatrix was originally inspired by and derived from NArray, by
# Masahiro Tanaka: http://narray.rubyforge.org
#
# == Copyright Information
#
# SciRuby is Copyright (c) 2010 - 2014, Ruby Science Foundation
# NMatrix is Copyright (c) 2012 - 2014, John Woods and the Ruby Science Foundation
#
# Please see LICENSE.txt for additional copyright notices.
#
# == Contributing
#
# By contributing source code to SciRuby, you agree to be bound by
# our Contributor Agreement:
#
# * https://github.com/SciRuby/sciruby/wiki/Contributor-Agreement
#
# == nmatrix.rb
#
# This file loads the C extension for NMatrix and all the ruby files.
#
# For some reason nmatrix.so ends up in a different place during gem build.
if File.exist?("lib/nmatrix/nmatrix.so") #|| File.exist?("lib/nmatrix/nmatrix.bundle")
# Development
require "nmatrix/nmatrix.so"
else
# Gem
require "nmatrix.so"
end
require 'nmatrix/nmatrix.rb'
require 'nmatrix/version.rb'
#require 'nmatrix/nvector.rb'
require 'nmatrix/blas.rb'
require 'nmatrix/monkeys'
require "nmatrix/shortcuts.rb"