mdarray 0.4.3.pre-java → 0.5.0-java
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/README.md +82 -14
- data/Rakefile +8 -2
- data/doc/BinaryOperator.html +227 -0
- data/doc/BitwiseOperators.html +135 -0
- data/doc/BooleanFunctions.html +135 -0
- data/doc/BooleanMDArray.html +193 -0
- data/doc/ByteMDArray.html +271 -0
- data/doc/Colt.html +269 -0
- data/doc/ComparisonOperators.html +135 -0
- data/doc/Const.html +490 -0
- data/doc/Csv.html +589 -0
- data/doc/DDescriptive.html +4373 -0
- data/doc/DoubleMDArray.html +555 -0
- data/doc/DoubleStatList.html +256 -0
- data/doc/FastBinaryOperator.html +743 -0
- data/doc/FastBoolean.html +512 -0
- data/doc/FastUnaryOperator.html +583 -0
- data/doc/FloatMDArray.html +237 -0
- data/doc/FunctionCreation.html +520 -0
- data/doc/FunctionMap.html +813 -0
- data/doc/GenericFunctions.html +135 -0
- data/doc/IntMDArray.html +259 -0
- data/doc/LongMDArray.html +257 -0
- data/doc/MDArray.html +9639 -0
- data/doc/MDArray/Counter.html +2767 -0
- data/doc/MDArray/IteratorFast.html +872 -0
- data/doc/MDArray/IteratorFastBoolean.html +384 -0
- data/doc/MDArray/IteratorFastByte.html +373 -0
- data/doc/MDArray/IteratorFastChar.html +384 -0
- data/doc/MDArray/IteratorFastDouble.html +384 -0
- data/doc/MDArray/IteratorFastFloat.html +384 -0
- data/doc/MDArray/IteratorFastInt.html +384 -0
- data/doc/MDArray/IteratorFastLong.html +384 -0
- data/doc/MDArray/IteratorFastShort.html +384 -0
- data/doc/MDArrayTest.html +125 -0
- data/doc/NonNumericalMDArray.html +177 -0
- data/doc/NumericFunctions.html +297 -0
- data/doc/NumericalMDArray.html +278 -0
- data/doc/Operator.html +826 -0
- data/doc/Proc.html +1097 -0
- data/doc/RubyBinaryOperator.html +526 -0
- data/doc/RubyFunctions.html +232 -0
- data/doc/RubyMath.html +135 -0
- data/doc/RubyStats.html +135 -0
- data/doc/RubyUnaryOperator.html +510 -0
- data/doc/ShortMDArray.html +267 -0
- data/doc/StatList.html +1176 -0
- data/doc/StringMDArray.html +181 -0
- data/doc/StructureMDArray.html +181 -0
- data/doc/UnaryOperator.html +227 -0
- data/doc/UserFunction.html +297 -0
- data/doc/_index.html +467 -0
- data/doc/class_list.html +53 -0
- data/doc/css/common.css +1 -0
- data/doc/css/full_list.css +57 -0
- data/doc/css/style.css +338 -0
- data/doc/file.README.html +173 -0
- data/doc/file_list.html +55 -0
- data/doc/frames.html +28 -0
- data/doc/index.html +173 -0
- data/doc/js/app.js +214 -0
- data/doc/js/full_list.js +173 -0
- data/doc/js/jquery.js +4 -0
- data/doc/method_list.html +2524 -0
- data/doc/top-level-namespace.html +114 -0
- data/lib/colt/colt.rb +56 -0
- data/lib/colt/colt_mdarray.rb +95 -0
- data/lib/colt/double_descriptive.rb +636 -0
- data/lib/colt/probability.rb +12 -0
- data/lib/colt/stat_list.rb +192 -0
- data/lib/env.rb +5 -1
- data/lib/mdarray.rb +5 -0
- data/lib/mdarray/access.rb +2 -2
- data/lib/mdarray/creation.rb +34 -19
- data/lib/mdarray/csv.rb +61 -0
- data/lib/mdarray/fast_operators.rb +241 -0
- data/lib/mdarray/operators.rb +18 -0
- data/lib/mdarray/ruby_operators.rb +2 -18
- data/lib/mdarray/ruby_stats.rb +1 -1
- data/lib/mdarray/views.rb +8 -8
- data/target/helper.jar +0 -0
- data/test/colt/VALE3.csv +3437 -0
- data/test/colt/VALE3.xlsx +0 -0
- data/test/colt/VALE3_short-err.csv +20 -0
- data/test/colt/VALE3_short.csv +20 -0
- data/test/colt/VALE3_short.xlsx +0 -0
- data/test/colt/test_complete.rb +25 -0
- data/test/colt/test_stat_list.rb +128 -0
- data/test/colt/test_statistics.rb +114 -0
- data/test/complete.rb +25 -0
- data/test/env.rb +54 -30
- data/test/{arithmetic_casting.rb → mdarray/arithmetic_casting.rb} +0 -0
- data/test/{test_access.rb → mdarray/test_access.rb} +0 -0
- data/test/{test_boolean.rb → mdarray/test_boolean.rb} +0 -2
- data/test/{test_comparison.rb → mdarray/test_comparison.rb} +0 -0
- data/test/{test_complete.rb → mdarray/test_complete.rb} +3 -14
- data/test/{test_counter.rb → mdarray/test_counter.rb} +0 -0
- data/test/{test_creation.rb → mdarray/test_creation.rb} +0 -0
- data/test/{test_error.rb → mdarray/test_error.rb} +8 -5
- data/test/{test_operator.rb → mdarray/test_operator.rb} +6 -2
- data/test/{test_speed.rb → mdarray/test_performance.rb} +74 -39
- data/test/{test_printing.rb → mdarray/test_printing.rb} +0 -1
- data/test/{test_shape.rb → mdarray/test_shape.rb} +0 -0
- data/test/mdarray/test_statistics.rb +80 -0
- data/test/{test_trigonometry.rb → mdarray/test_trigonometry.rb} +0 -0
- data/test/{test_views.rb → mdarray/test_views.rb} +0 -0
- data/vendor/parallelcolt-0.10.0.jar +0 -0
- data/version.rb +1 -1
- metadata +122 -39
- data/test/test_lazy.rb +0 -52
- data/test/test_statistics.rb +0 -38
data/README.md
CHANGED
|
@@ -1,22 +1,90 @@
|
|
|
1
1
|
MDArray
|
|
2
2
|
=======
|
|
3
3
|
|
|
4
|
-
MDArray is a multi dimensional array implemented for JRuby
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
MDArray is a multi dimensional array implemented for JRuby inspired by NumPy (www.numpy.org)
|
|
5
|
+
and Narray (narray.rubyforge.org) by Masahiro Tanaka. MDArray stands on the shoulders of
|
|
6
|
+
Java-NetCDF and Parallel Colt.
|
|
7
|
+
|
|
8
|
+
NetCDF-Java Library is a Java interface to NetCDF files, as well as to many other types of
|
|
9
|
+
scientific data formats. It is developed and distributed by Unidata (http://www.unidata.ucar.edu).
|
|
7
10
|
|
|
8
|
-
|
|
11
|
+
Parallel Colt (sites.google.com/site/piotrwendykier/software/parallelcolt) is a multithreaded
|
|
12
|
+
version of Colt (http://acs.lbl.gov/software/colt/). Colt provides a set of Open Source
|
|
13
|
+
Libraries for High Performance Scientific and Technical Computing in Java. Scientific
|
|
14
|
+
and technical computing is characterized by demanding problem sizes and a need for high
|
|
15
|
+
performance at reasonably small memory footprint.
|
|
9
16
|
|
|
10
|
-
MDArray
|
|
11
|
-
|
|
12
|
-
MDArray dimensions are called axes. The number of axes is rank.
|
|
17
|
+
MDArray and SciRuby
|
|
18
|
+
===================
|
|
13
19
|
|
|
14
|
-
|
|
15
|
-
because it has one axis. That axis has a length of 3. In example pictured below, the array
|
|
16
|
-
has rank 2 (it is 2-dimensional). The first dimension (axis) has a length of 2, the
|
|
17
|
-
second dimension has a length of 3.
|
|
20
|
+
MDArray subscribes fully to the SciRuby Manifesto (http://sciruby.com/).
|
|
18
21
|
|
|
19
|
-
|
|
20
|
-
|
|
22
|
+
“Ruby has for some time had no equivalent to the beautifully constructed NumPy, SciPy,
|
|
23
|
+
and matplotlib libraries for Python.
|
|
21
24
|
|
|
22
|
-
|
|
25
|
+
We believe that the time for a Ruby science and visualization package has come. Sometimes
|
|
26
|
+
when a solution of sugar and water becomes super-saturated, from it precipitates a pure,
|
|
27
|
+
delicious, and diabetes-inducing crystal of sweetness, induced by no more than the tap
|
|
28
|
+
of a finger. So is occurring now, we believe, with numeric and visualization libraries for Ruby.”
|
|
29
|
+
|
|
30
|
+
Main properties
|
|
31
|
+
===============
|
|
32
|
+
|
|
33
|
+
+ Homogeneous multidimensional array, a table of elements (usually numbers), all of the
|
|
34
|
+
same type, indexed by a tuple of positive integers;
|
|
35
|
+
+ Easy calculation for large numerical multi dimensional arrays;
|
|
36
|
+
+ Basic types are: boolean, byte, short, int, long, float, double, string, structure;
|
|
37
|
+
+ Based on JRuby, which allows importing Java libraries. Version 0.4.0 only imports
|
|
38
|
+
Java-NetCDF;
|
|
39
|
+
+ Operator: +,-,*,/,%,**, >, >=, etc.
|
|
40
|
+
+ Functions: abs, ceil, floor, truncate, is_zero, square, cube, fourth;
|
|
41
|
+
+ Binary Operators: &, |, ^, ~ (binary_ones_complement), <<, >>;
|
|
42
|
+
+ Ruby Math functions: acos, acosh, asin, asinh, atan, atan2, atanh, cbrt, cos, erf, exp,
|
|
43
|
+
gamma, hypot, ldexp, log, log10, log2, sin, sinh, sqrt, tan, tanh, neg;
|
|
44
|
+
+ Boolean operations on boolean arrays: and, or, not;
|
|
45
|
+
+ Fast descriptive statistics from Parallel Colt (complete list found bellow);
|
|
46
|
+
+ Easy manipulation of arrays: reshape, reduce dimension, permute, section, slice, etc.
|
|
47
|
+
+ Reading of two dimensional arrays from CSV files (mainly for debugging and simple
|
|
48
|
+
testing purposes);
|
|
49
|
+
+ StatList: a list that can grow/shrink and that can compute Parallel Colt descriptive
|
|
50
|
+
statistics.
|
|
51
|
+
|
|
52
|
+
Descriptive statistics methods
|
|
53
|
+
==============================
|
|
54
|
+
|
|
55
|
+
auto_correlation, correlation, covariance, durbin_watson, frequencies, geometric_mean,
|
|
56
|
+
harmonic_mean, kurtosis, lag1, max, mean, mean_deviation, median, min, moment, moment3,
|
|
57
|
+
moment4, pooled_mean, pooled_variance, product, quantile, quantile_inverse,
|
|
58
|
+
rank_interpolated, rms, sample_covariance, sample_kurtosis,
|
|
59
|
+
sample_kurtosis_standard_error, sample_skew, sample_skew_standard_error,
|
|
60
|
+
sample_standard_deviation, sample_variance, sample_weighted_variance, skew, split,
|
|
61
|
+
standard_deviation, standard_error, sum, sum_of_inversions, sum_of_logarithms,
|
|
62
|
+
sum_of_powers, sum_of_power_deviations, sum_of_squares, sum_of_squared_deviations,
|
|
63
|
+
trimmed_mean, variance, weighted_mean, weighted_rms, weighted_sums, winsorized_mean.
|
|
64
|
+
|
|
65
|
+
Installation and download
|
|
66
|
+
=========================
|
|
67
|
+
|
|
68
|
+
+ Install Jruby
|
|
69
|
+
+ jruby –S gem install mdarray
|
|
70
|
+
|
|
71
|
+
Contributors
|
|
72
|
+
============
|
|
73
|
+
|
|
74
|
+
+ Contributors are welcome.
|
|
75
|
+
|
|
76
|
+
Homepages
|
|
77
|
+
=========
|
|
78
|
+
|
|
79
|
+
+ http://rubygems.org/gems/mdarray
|
|
80
|
+
+ https://github.com/rbotafogo/mdarray/wiki
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
HISTORY
|
|
84
|
+
=======
|
|
85
|
+
|
|
86
|
+
+ 16/05/2013: Version 0.5.0: All loops transfered to Java with over 50% performance
|
|
87
|
+
improvement. Descriptive statistics from Parallel Colt.
|
|
88
|
+
+ 19/04/2013: Version 0.4.3: Fixes a simple (but fatal bug). No new features
|
|
89
|
+
+ 17/04/2013: Version 0.4.2: Adds simple statistics and boolean operators
|
|
90
|
+
+ 05/05/2013: Version 0.4.0: Initial release
|
data/Rakefile
CHANGED
|
@@ -30,11 +30,17 @@ task :push do
|
|
|
30
30
|
sh "git push origin master"
|
|
31
31
|
end
|
|
32
32
|
|
|
33
|
-
|
|
33
|
+
desc 'Push gem to rubygem'
|
|
34
|
+
task :push_gem do
|
|
35
|
+
sh "push #{name} -p $http_proxy"
|
|
36
|
+
end
|
|
37
|
+
|
|
34
38
|
Rake::TestTask.new do |t|
|
|
35
39
|
t.libs << "test"
|
|
36
40
|
t.test_files = FileList['test/test_complete.rb']
|
|
41
|
+
t.ruby_opts = ["--server", "-Xinvokedynamic.constants=true", "-J-Xmn512m",
|
|
42
|
+
"-J-Xms1024m", "-J-Xmx1024m"]
|
|
37
43
|
t.verbose = true
|
|
38
44
|
t.warning = true
|
|
39
45
|
end
|
|
40
|
-
|
|
46
|
+
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
|
+
<title>
|
|
7
|
+
Class: BinaryOperator
|
|
8
|
+
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
|
+
|
|
11
|
+
</title>
|
|
12
|
+
|
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
|
|
14
|
+
|
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
|
16
|
+
|
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
|
19
|
+
relpath = '';
|
|
20
|
+
framesUrl = "frames.html#!" + escape(window.location.href);
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
|
25
|
+
|
|
26
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
</head>
|
|
30
|
+
<body>
|
|
31
|
+
<div id="header">
|
|
32
|
+
<div id="menu">
|
|
33
|
+
|
|
34
|
+
<a href="_index.html">Index (B)</a> »
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
<span class="title">BinaryOperator</span>
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
<div id="search">
|
|
44
|
+
|
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
|
46
|
+
href="class_list.html">
|
|
47
|
+
Class List
|
|
48
|
+
</a>
|
|
49
|
+
|
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
|
51
|
+
href="method_list.html">
|
|
52
|
+
Method List
|
|
53
|
+
</a>
|
|
54
|
+
|
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
|
56
|
+
href="file_list.html">
|
|
57
|
+
File List
|
|
58
|
+
</a>
|
|
59
|
+
|
|
60
|
+
</div>
|
|
61
|
+
<div class="clear"></div>
|
|
62
|
+
</div>
|
|
63
|
+
|
|
64
|
+
<iframe id="search_frame"></iframe>
|
|
65
|
+
|
|
66
|
+
<div id="content"><h1>Class: BinaryOperator
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
</h1>
|
|
71
|
+
|
|
72
|
+
<dl class="box">
|
|
73
|
+
|
|
74
|
+
<dt class="r1">Inherits:</dt>
|
|
75
|
+
<dd class="r1">
|
|
76
|
+
<span class="inheritName"><span class='object_link'><a href="Operator.html" title="Operator (class)">Operator</a></span></span>
|
|
77
|
+
|
|
78
|
+
<ul class="fullTree">
|
|
79
|
+
<li>Object</li>
|
|
80
|
+
|
|
81
|
+
<li class="next"><span class='object_link'><a href="Operator.html" title="Operator (class)">Operator</a></span></li>
|
|
82
|
+
|
|
83
|
+
<li class="next">BinaryOperator</li>
|
|
84
|
+
|
|
85
|
+
</ul>
|
|
86
|
+
<a href="#" class="inheritanceTree">show all</a>
|
|
87
|
+
|
|
88
|
+
</dd>
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
<dt class="r2 last">Defined in:</dt>
|
|
99
|
+
<dd class="r2 last">lib/mdarray/operators.rb</dd>
|
|
100
|
+
|
|
101
|
+
</dl>
|
|
102
|
+
<div class="clear"></div>
|
|
103
|
+
|
|
104
|
+
<div id="subclasses">
|
|
105
|
+
<h2>Direct Known Subclasses</h2>
|
|
106
|
+
<p class="children"><span class='object_link'><a href="FastBinaryOperator.html" title="FastBinaryOperator (class)">FastBinaryOperator</a></span>, <span class='object_link'><a href="RubyBinaryOperator.html" title="RubyBinaryOperator (class)">RubyBinaryOperator</a></span></p>
|
|
107
|
+
</div>
|
|
108
|
+
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
<h2>Instance Attribute Summary</h2>
|
|
115
|
+
|
|
116
|
+
<h3 class="inherited">Attributes inherited from <span class='object_link'><a href="Operator.html" title="Operator (class)">Operator</a></span></h3>
|
|
117
|
+
<p class="inherited"><span class='object_link'><a href="Operator.html#arity-instance_method" title="Operator#arity (method)">#arity</a></span>, <span class='object_link'><a href="Operator.html#exec_type-instance_method" title="Operator#exec_type (method)">#exec_type</a></span>, <span class='object_link'><a href="Operator.html#force_type-instance_method" title="Operator#force_type (method)">#force_type</a></span>, <span class='object_link'><a href="Operator.html#name-instance_method" title="Operator#name (method)">#name</a></span>, <span class='object_link'><a href="Operator.html#post_condition-instance_method" title="Operator#post_condition (method)">#post_condition</a></span>, <span class='object_link'><a href="Operator.html#pre_condition-instance_method" title="Operator#pre_condition (method)">#pre_condition</a></span>, <span class='object_link'><a href="Operator.html#type-instance_method" title="Operator#type (method)">#type</a></span></p>
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
<h2>
|
|
122
|
+
Instance Method Summary
|
|
123
|
+
<small>(<a href="#" class="summary_toggle">collapse</a>)</small>
|
|
124
|
+
</h2>
|
|
125
|
+
|
|
126
|
+
<ul class="summary">
|
|
127
|
+
|
|
128
|
+
<li class="public ">
|
|
129
|
+
<span class="summary_signature">
|
|
130
|
+
|
|
131
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (BinaryOperator) <strong>initialize</strong>(name, exec_type, force_type = nil, pre_condition = nil, post_condition = nil) </a>
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
</span>
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
<span class="note title constructor">constructor</span>
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
<span class="summary_desc"><div class='inline'>
|
|
148
|
+
<p>?????????????????????????????.</p>
|
|
149
|
+
</div></span>
|
|
150
|
+
|
|
151
|
+
</li>
|
|
152
|
+
|
|
153
|
+
|
|
154
|
+
</ul>
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
<h3 class="inherited">Methods inherited from <span class='object_link'><a href="Operator.html" title="Operator (class)">Operator</a></span></h3>
|
|
167
|
+
<p class="inherited"><span class='object_link'><a href="Operator.html#exec-instance_method" title="Operator#exec (method)">#exec</a></span></p>
|
|
168
|
+
<div id="constructor_details" class="method_details_list">
|
|
169
|
+
<h2>Constructor Details</h2>
|
|
170
|
+
|
|
171
|
+
<div class="method_details first">
|
|
172
|
+
<h3 class="signature first" id="initialize-instance_method">
|
|
173
|
+
|
|
174
|
+
- (<tt><span class='object_link'><a href="" title="BinaryOperator (class)">BinaryOperator</a></span></tt>) <strong>initialize</strong>(name, exec_type, force_type = nil, pre_condition = nil, post_condition = nil)
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
</h3><div class="docstring">
|
|
181
|
+
<div class="discussion">
|
|
182
|
+
<hr style="height: 10px">
|
|
183
|
+
<hr style="height: 10px">
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
</div>
|
|
187
|
+
</div>
|
|
188
|
+
<div class="tags">
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
</div><table class="source_code">
|
|
192
|
+
<tr>
|
|
193
|
+
<td>
|
|
194
|
+
<pre class="lines">
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
124
|
|
198
|
+
125
|
|
199
|
+
126
|
|
200
|
+
127</pre>
|
|
201
|
+
</td>
|
|
202
|
+
<td>
|
|
203
|
+
<pre class="code"><span class="info file"># File 'lib/mdarray/operators.rb', line 124</span>
|
|
204
|
+
|
|
205
|
+
<span class='rubyid_def def kw'>def</span> <span class='rubyid_initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='rubyid_name identifier id'>name</span><span class='comma token'>,</span> <span class='rubyid_exec_type identifier id'>exec_type</span><span class='comma token'>,</span> <span class='rubyid_force_type identifier id'>force_type</span> <span class='assign token'>=</span> <span class='rubyid_nil nil kw'>nil</span><span class='comma token'>,</span> <span class='rubyid_pre_condition identifier id'>pre_condition</span> <span class='assign token'>=</span> <span class='rubyid_nil nil kw'>nil</span><span class='comma token'>,</span>
|
|
206
|
+
<span class='rubyid_post_condition identifier id'>post_condition</span> <span class='assign token'>=</span> <span class='rubyid_nil nil kw'>nil</span><span class='rparen token'>)</span>
|
|
207
|
+
<span class='rubyid_super super kw'>super</span><span class='lparen token'>(</span><span class='rubyid_name identifier id'>name</span><span class='comma token'>,</span> <span class='integer val'>2</span><span class='comma token'>,</span> <span class='rubyid_exec_type identifier id'>exec_type</span><span class='comma token'>,</span> <span class='rubyid_force_type identifier id'>force_type</span><span class='comma token'>,</span> <span class='rubyid_pre_condition identifier id'>pre_condition</span><span class='comma token'>,</span> <span class='rubyid_post_condition identifier id'>post_condition</span><span class='rparen token'>)</span>
|
|
208
|
+
<span class='rubyid_end end kw'>end</span>
|
|
209
|
+
</pre>
|
|
210
|
+
</td>
|
|
211
|
+
</tr>
|
|
212
|
+
</table>
|
|
213
|
+
</div>
|
|
214
|
+
|
|
215
|
+
</div>
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
</div>
|
|
219
|
+
|
|
220
|
+
<div id="footer">
|
|
221
|
+
Generated on Thu May 16 12:48:41 2013 by
|
|
222
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
223
|
+
0.8.5.2 (ruby-1.9.3).
|
|
224
|
+
</div>
|
|
225
|
+
|
|
226
|
+
</body>
|
|
227
|
+
</html>
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
4
|
+
<head>
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
|
+
<title>
|
|
7
|
+
Module: BitwiseOperators
|
|
8
|
+
|
|
9
|
+
— Documentation by YARD 0.8.5.2
|
|
10
|
+
|
|
11
|
+
</title>
|
|
12
|
+
|
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
|
|
14
|
+
|
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
|
|
16
|
+
|
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
|
18
|
+
hasFrames = window.top.frames.main ? true : false;
|
|
19
|
+
relpath = '';
|
|
20
|
+
framesUrl = "frames.html#!" + escape(window.location.href);
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
<script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
|
|
25
|
+
|
|
26
|
+
<script type="text/javascript" charset="utf-8" src="js/app.js"></script>
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
</head>
|
|
30
|
+
<body>
|
|
31
|
+
<div id="header">
|
|
32
|
+
<div id="menu">
|
|
33
|
+
|
|
34
|
+
<a href="_index.html">Index (B)</a> »
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
<span class="title">BitwiseOperators</span>
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
<div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
|
|
41
|
+
</div>
|
|
42
|
+
|
|
43
|
+
<div id="search">
|
|
44
|
+
|
|
45
|
+
<a class="full_list_link" id="class_list_link"
|
|
46
|
+
href="class_list.html">
|
|
47
|
+
Class List
|
|
48
|
+
</a>
|
|
49
|
+
|
|
50
|
+
<a class="full_list_link" id="method_list_link"
|
|
51
|
+
href="method_list.html">
|
|
52
|
+
Method List
|
|
53
|
+
</a>
|
|
54
|
+
|
|
55
|
+
<a class="full_list_link" id="file_list_link"
|
|
56
|
+
href="file_list.html">
|
|
57
|
+
File List
|
|
58
|
+
</a>
|
|
59
|
+
|
|
60
|
+
</div>
|
|
61
|
+
<div class="clear"></div>
|
|
62
|
+
</div>
|
|
63
|
+
|
|
64
|
+
<iframe id="search_frame"></iframe>
|
|
65
|
+
|
|
66
|
+
<div id="content"><h1>Module: BitwiseOperators
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
</h1>
|
|
71
|
+
|
|
72
|
+
<dl class="box">
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
<dt class="r1">Extended by:</dt>
|
|
77
|
+
<dd class="r1"><span class='object_link'><a href="FunctionCreation.html" title="FunctionCreation (module)">FunctionCreation</a></span>, <span class='object_link'><a href="RubyFunctions.html" title="RubyFunctions (module)">RubyFunctions</a></span></dd>
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
<dt class="r2">Included in:</dt>
|
|
85
|
+
<dd class="r2"><span class='object_link'><a href="LongMDArray.html" title="LongMDArray (class)">LongMDArray</a></span></dd>
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
|
|
89
|
+
<dt class="r1 last">Defined in:</dt>
|
|
90
|
+
<dd class="r1 last">lib/mdarray/ruby_numeric_functions.rb</dd>
|
|
91
|
+
|
|
92
|
+
</dl>
|
|
93
|
+
<div class="clear"></div>
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
<h2>Method Summary</h2>
|
|
110
|
+
|
|
111
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="RubyFunctions.html" title="RubyFunctions (module)">RubyFunctions</a></span></h3>
|
|
112
|
+
<p class="inherited"><span class='object_link'><a href="RubyFunctions.html#ruby_binary_function-instance_method" title="RubyFunctions#ruby_binary_function (method)">ruby_binary_function</a></span>, <span class='object_link'><a href="RubyFunctions.html#ruby_unary_function-instance_method" title="RubyFunctions#ruby_unary_function (method)">ruby_unary_function</a></span></p>
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
<h3 class="inherited">Methods included from <span class='object_link'><a href="FunctionCreation.html" title="FunctionCreation (module)">FunctionCreation</a></span></h3>
|
|
123
|
+
<p class="inherited"><span class='object_link'><a href="FunctionCreation.html#make_binary_op-instance_method" title="FunctionCreation#make_binary_op (method)">make_binary_op</a></span>, <span class='object_link'><a href="FunctionCreation.html#make_binary_operators-instance_method" title="FunctionCreation#make_binary_operators (method)">make_binary_operators</a></span>, <span class='object_link'><a href="FunctionCreation.html#make_comparison_op-instance_method" title="FunctionCreation#make_comparison_op (method)">make_comparison_op</a></span>, <span class='object_link'><a href="FunctionCreation.html#make_unary_op-instance_method" title="FunctionCreation#make_unary_op (method)">make_unary_op</a></span>, <span class='object_link'><a href="FunctionCreation.html#make_unary_operators-instance_method" title="FunctionCreation#make_unary_operators (method)">make_unary_operators</a></span></p>
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
</div>
|
|
127
|
+
|
|
128
|
+
<div id="footer">
|
|
129
|
+
Generated on Thu May 16 12:48:35 2013 by
|
|
130
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
131
|
+
0.8.5.2 (ruby-1.9.3).
|
|
132
|
+
</div>
|
|
133
|
+
|
|
134
|
+
</body>
|
|
135
|
+
</html>
|