Sha256: f1ad3da9bf1141e182fecddf9eb84ef215aa0463ea5b3b08ca1f19d5654412ae

Contents?: true

Size: 1.32 KB

Versions: 1

Compression:

Stored size: 1.32 KB

Contents

# = 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 - 2012, Ruby Science Foundation
# NMatrix is Copyright (c) 2012, 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 adds an autoload for the
# NMatrix and NVector classes.


#############
# Autoloads #
#############


############
# Requires #
############

# NMatrix

require 'nmatrix/nmatrix.rb'
require 'nmatrix/version.rb'
require 'nmatrix/nvector.rb'
require 'nmatrix/blas.rb'

# For some reason nmatrix.so ends up in a different place during gem build.
if File.exist? 'lib/nmatrix/nmatrix.so'
	# Development
	require 'nmatrix/nmatrix.so'
else
	# Gem
	require 'nmatrix.so'
end

# Monkey patches.
require 'nmatrix/monkeys'

#############
# Autoloads #
#############

autoload :NMatrix, 'nmatrix/nmatrix'
autoload :NVector, 'nmatrix/nvector'

require "nmatrix/shortcuts.rb"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nmatrix-0.0.3 lib/nmatrix.rb