mdarray 0.5.5.2-java → 0.5.6-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.
- checksums.yaml +4 -4
- data/config.rb +29 -95
- data/doc/BinaryOperator.html +20 -21
- data/doc/BitwiseOperators.html +18 -8
- data/doc/BitwiseOperators/BinaryAnd.html +189 -0
- data/doc/BitwiseOperators/BinaryLeftShift.html +189 -0
- data/doc/BitwiseOperators/BinaryOnesComplement.html +189 -0
- data/doc/BitwiseOperators/BinaryOr.html +189 -0
- data/doc/BitwiseOperators/BinaryRightShift.html +189 -0
- data/doc/BitwiseOperators/BinaryXor.html +189 -0
- data/doc/BooleanFunctions.html +18 -8
- data/doc/BooleanFunctions/And.html +189 -0
- data/doc/BooleanFunctions/Not.html +189 -0
- data/doc/BooleanFunctions/Or.html +189 -0
- data/doc/BooleanMDArray.html +10 -10
- data/doc/ByteMDArray.html +73 -14
- data/doc/CernDoubleFunctions.html +208 -0
- data/doc/CernFloatFunctions.html +208 -0
- data/doc/CernFunctions.html +828 -0
- data/doc/CernIntFunctions.html +208 -0
- data/doc/CernLongFunctions.html +208 -0
- data/doc/CharMDArray.html +181 -0
- data/doc/Colt.html +18 -20
- data/doc/ComparisonOperators.html +18 -8
- data/doc/ComparisonOperators/Eq.html +189 -0
- data/doc/ComparisonOperators/Ge.html +189 -0
- data/doc/ComparisonOperators/Gt.html +189 -0
- data/doc/ComparisonOperators/Le.html +189 -0
- data/doc/ComparisonOperators/Lt.html +189 -0
- data/doc/Const.html +107 -47
- data/doc/Csv.html +325 -113
- data/doc/Csv/Dimension.html +771 -0
- data/doc/Csv/Dimensions.html +654 -0
- data/doc/DDescriptive.html +573 -625
- data/doc/DoubleMDArray.html +40 -172
- data/doc/DoubleStatList.html +19 -20
- data/doc/FastBinaryOperator.html +166 -148
- data/doc/FastUnaryOperator.html +104 -109
- data/doc/FloatMDArray.html +55 -16
- data/doc/FunctionCreation.html +53 -273
- data/doc/FunctionMap.html +381 -93
- data/doc/GenericFunctions.html +18 -8
- data/doc/GenericFunctions/Null.html +187 -0
- data/doc/IntMDArray.html +77 -16
- data/doc/Java/CernJetMathTdouble/DoubleFunctions.html +120 -0
- data/doc/Java/CernJetMathTfloat/FloatFunctions.html +120 -0
- data/doc/Java/CernJetMathTint/IntFunctions.html +120 -0
- data/doc/Java/CernJetMathTlong/LongFunctions.html +120 -0
- data/doc/LazyBinaryOperator.html +714 -0
- data/doc/LazyMDArray.html +990 -0
- data/doc/LazyMDArray/BinaryComp.html +282 -0
- data/doc/LazyMDArray/UnaryComp.html +280 -0
- data/doc/LazyUnaryOperator.html +537 -0
- data/doc/LongMDArray.html +59 -15
- data/doc/MDArray.html +3223 -2181
- data/doc/MDArray/Counter.html +321 -1233
- data/doc/MDArray/IteratorFast.html +177 -116
- data/doc/MDArray/IteratorFastBoolean.html +37 -41
- data/doc/MDArray/IteratorFastByte.html +46 -39
- data/doc/MDArray/IteratorFastChar.html +37 -41
- data/doc/MDArray/IteratorFastDouble.html +37 -41
- data/doc/MDArray/IteratorFastFloat.html +37 -41
- data/doc/MDArray/IteratorFastInt.html +37 -41
- data/doc/MDArray/IteratorFastLong.html +37 -41
- data/doc/MDArray/IteratorFastShort.html +37 -41
- data/doc/MDArray/Section.html +561 -0
- data/doc/Nashorn.html +1407 -0
- data/doc/NetCDF.html +749 -0
- data/doc/NetCDF/Attribute.html +875 -0
- data/doc/NetCDF/AttributeWriter.html +286 -0
- data/doc/NetCDF/CDMNode.html +460 -0
- data/doc/NetCDF/Dimension.html +559 -0
- data/doc/NetCDF/DimensionWriter.html +642 -0
- data/doc/NetCDF/File.html +1593 -0
- data/doc/NetCDF/FileParent.html +674 -0
- data/doc/NetCDF/FileWriter.html +2875 -0
- data/doc/NetCDF/Group.html +685 -0
- data/doc/NetCDF/GroupWriter.html +851 -0
- data/doc/NetCDF/TimeVariable.html +646 -0
- data/doc/NetCDF/Variable.html +2994 -0
- data/doc/NetCDF/VariableWriter.html +420 -0
- data/doc/NonNumericalMDArray.html +11 -11
- data/doc/NumericFunctions.html +38 -30
- data/doc/NumericFunctions/Abs.html +189 -0
- data/doc/NumericFunctions/Add.html +189 -0
- data/doc/NumericFunctions/Ceil.html +189 -0
- data/doc/NumericFunctions/Cube.html +189 -0
- data/doc/NumericFunctions/Div.html +189 -0
- data/doc/NumericFunctions/Floor.html +189 -0
- data/doc/NumericFunctions/Fourth.html +189 -0
- data/doc/NumericFunctions/IsZero.html +189 -0
- data/doc/NumericFunctions/Max.html +189 -0
- data/doc/NumericFunctions/Min.html +189 -0
- data/doc/NumericFunctions/Mul.html +189 -0
- data/doc/NumericFunctions/Power.html +189 -0
- data/doc/NumericFunctions/Square.html +189 -0
- data/doc/NumericFunctions/Sub.html +189 -0
- data/doc/NumericFunctions/Truncate.html +189 -0
- data/doc/NumericalMDArray.html +14 -15
- data/doc/Operator.html +318 -109
- data/doc/Proc.html +120 -129
- data/doc/RubyBinaryOperator.html +66 -70
- data/doc/RubyFunctions.html +572 -27
- data/doc/RubyMath.html +18 -8
- data/doc/RubyMath/Acos.html +189 -0
- data/doc/RubyMath/Acosh.html +189 -0
- data/doc/RubyMath/Asin.html +189 -0
- data/doc/RubyMath/Asinh.html +189 -0
- data/doc/RubyMath/Atan.html +189 -0
- data/doc/RubyMath/Atan2.html +189 -0
- data/doc/RubyMath/Atanh.html +189 -0
- data/doc/RubyMath/Cbrt.html +189 -0
- data/doc/RubyMath/Cos.html +189 -0
- data/doc/RubyMath/Cosh.html +189 -0
- data/doc/RubyMath/Erf.html +189 -0
- data/doc/RubyMath/Erfc.html +189 -0
- data/doc/RubyMath/Exp.html +189 -0
- data/doc/RubyMath/Gamma.html +189 -0
- data/doc/RubyMath/Hypot.html +189 -0
- data/doc/RubyMath/Ldexp.html +189 -0
- data/doc/RubyMath/Log.html +189 -0
- data/doc/RubyMath/Log10.html +189 -0
- data/doc/RubyMath/Log2.html +189 -0
- data/doc/RubyMath/Neg.html +189 -0
- data/doc/RubyMath/Sin.html +189 -0
- data/doc/RubyMath/Sinh.html +189 -0
- data/doc/RubyMath/Sqrt.html +189 -0
- data/doc/RubyMath/Tan.html +189 -0
- data/doc/RubyMath/Tanh.html +189 -0
- data/doc/RubyStats.html +8 -8
- data/doc/RubyUnaryOperator.html +61 -65
- data/doc/ShortMDArray.html +69 -14
- data/doc/Sol.html +700 -0
- data/doc/Sol/BarChart.html +181 -0
- data/doc/Sol/BaseChart.html +800 -0
- data/doc/Sol/Bootstrap.html +1137 -0
- data/doc/Sol/Bridge.html +586 -0
- data/doc/Sol/Chart.html +1162 -0
- data/doc/Sol/CoordinateChart.html +679 -0
- data/doc/Sol/Dashboard.html +2094 -0
- data/doc/Sol/Dashboard/DCFX.html +786 -0
- data/doc/Sol/Dashboard/MyHandle.html +338 -0
- data/doc/Sol/Dashboard/MyService.html +202 -0
- data/doc/Sol/Dashboard/MyTask.html +291 -0
- data/doc/Sol/Interval.html +1213 -0
- data/doc/Sol/LineChart.html +346 -0
- data/doc/Sol/LinearScale.html +334 -0
- data/doc/Sol/Margins.html +219 -0
- data/doc/Sol/OrdinalScale.html +263 -0
- data/doc/Sol/Scale.html +462 -0
- data/doc/Sol/Stack.html +199 -0
- data/doc/Sol/TimeScale.html +397 -0
- data/doc/StatList.html +110 -125
- data/doc/StringMDArray.html +10 -10
- data/doc/StructureMDArray.html +10 -10
- data/doc/UnaryOperator.html +20 -21
- data/doc/UserFunction.html +51 -49
- data/doc/_index.html +881 -106
- data/doc/class_list.html +8 -3
- data/doc/css/style.css +2 -1
- data/doc/file.README.html +455 -104
- data/doc/file_list.html +7 -2
- data/doc/frames.html +5 -7
- data/doc/index.html +455 -104
- data/doc/js/app.js +7 -2
- data/doc/js/full_list.js +11 -3
- data/doc/method_list.html +3170 -1233
- data/doc/top-level-namespace.html +31 -8
- data/lib/colt/matrix/algebra.rb +5 -5
- data/lib/mdarray.rb +6 -3
- data/lib/mdarray/csv.rb +25 -5
- data/lib/mdarray/fast_operators.rb +1 -1
- data/lib/mdarray/function_creation.rb +3 -1
- data/lib/mdarray/hierarchy.rb +2 -0
- data/lib/mdarray/operators.rb +1 -1
- data/lib/mdarray/ruby_functions.rb +8 -4
- data/lib/mdarray/ruby_math.rb +0 -28
- data/test/colt/matrix/test_matrix2d_floatingalgebra.rb +31 -7
- data/test/complete.rb +4 -4
- data/test/mdarray/PETR4_2014.csv +249 -0
- data/test/mdarray/VALE_2014.csv +253 -0
- data/test/mdarray/VALE_PETR4.csv +501 -0
- data/test/mdarray/arithmetic_casting.rb +1 -0
- data/test/mdarray/test_access.rb +1 -0
- data/test/mdarray/test_boolean.rb +1 -0
- data/test/mdarray/test_comparison.rb +1 -0
- data/test/mdarray/test_complete.rb +2 -5
- data/test/mdarray/test_counter.rb +1 -0
- data/test/mdarray/test_creation.rb +1 -0
- data/test/mdarray/test_csv.rb +51 -0
- data/test/mdarray/test_error.rb +1 -0
- data/test/mdarray/test_non_numeric.rb +1 -1
- data/test/mdarray/test_operator.rb +31 -14
- data/test/mdarray/test_performance.rb +2 -1
- data/test/mdarray/test_printing.rb +1 -0
- data/test/mdarray/test_sections.rb +1 -0
- data/test/mdarray/test_shape.rb +1 -0
- data/test/mdarray/test_trigonometry.rb +1 -0
- data/test/mdarray/test_views.rb +1 -0
- data/vendor/mdarray.jar +0 -0
- data/vendor/{netcdfAll-4.5_0.jar → netcdfAll-4.6.jar} +0 -0
- data/vendor/slf4j-jdk14-1.7.12.jar +0 -0
- data/version.rb +1 -1
- metadata +247 -139
- data/lib/env.rb +0 -12
- data/lib/mdarray/lazy_mdarray.rb +0 -315
- data/lib/mdarray/lazy_operators.rb +0 -174
- data/test/env.rb +0 -8
- data/test/mdarray/test_lazy.rb +0 -306
data/doc/FunctionCreation.html
CHANGED
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Module: FunctionCreation
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.7.6
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
|
16
16
|
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
|
19
19
|
relpath = '';
|
|
20
|
-
framesUrl = "frames.html#!"
|
|
20
|
+
framesUrl = "frames.html#!FunctionCreation.html";
|
|
21
21
|
</script>
|
|
22
22
|
|
|
23
23
|
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
|
|
79
79
|
|
|
80
80
|
<dt class="r1">Included in:</dt>
|
|
81
|
-
<dd class="r1"><span class='object_link'><a href="BitwiseOperators.html" title="BitwiseOperators (module)">BitwiseOperators</a></span>, <span class='object_link'><a href="BooleanFunctions.html" title="BooleanFunctions (module)">BooleanFunctions</a></span>, <span class='object_link'><a href="ComparisonOperators.html" title="ComparisonOperators (module)">ComparisonOperators</a></span>, <span class='object_link'><a href="GenericFunctions.html" title="GenericFunctions (module)">GenericFunctions</a></span>, <span class='object_link'><a href="NumericFunctions.html" title="NumericFunctions (module)">NumericFunctions</a></span>, <span class='object_link'><a href="RubyMath.html" title="RubyMath (module)">RubyMath</a></span>, <span class='object_link'><a href="RubyStats.html" title="RubyStats (module)">RubyStats</a></span></dd>
|
|
81
|
+
<dd class="r1"><span class='object_link'><a href="BitwiseOperators.html" title="BitwiseOperators (module)">BitwiseOperators</a></span>, <span class='object_link'><a href="BooleanFunctions.html" title="BooleanFunctions (module)">BooleanFunctions</a></span>, <span class='object_link'><a href="CernDoubleFunctions.html" title="CernDoubleFunctions (module)">CernDoubleFunctions</a></span>, <span class='object_link'><a href="CernFloatFunctions.html" title="CernFloatFunctions (module)">CernFloatFunctions</a></span>, <span class='object_link'><a href="CernIntFunctions.html" title="CernIntFunctions (module)">CernIntFunctions</a></span>, <span class='object_link'><a href="CernLongFunctions.html" title="CernLongFunctions (module)">CernLongFunctions</a></span>, <span class='object_link'><a href="ComparisonOperators.html" title="ComparisonOperators (module)">ComparisonOperators</a></span>, <span class='object_link'><a href="GenericFunctions.html" title="GenericFunctions (module)">GenericFunctions</a></span>, <span class='object_link'><a href="NumericFunctions.html" title="NumericFunctions (module)">NumericFunctions</a></span>, <span class='object_link'><a href="RubyMath.html" title="RubyMath (module)">RubyMath</a></span>, <span class='object_link'><a href="RubyStats.html" title="RubyStats (module)">RubyStats</a></span></dd>
|
|
82
82
|
|
|
83
83
|
|
|
84
84
|
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
<li class="public ">
|
|
107
107
|
<span class="summary_signature">
|
|
108
108
|
|
|
109
|
-
<a href="#make_binary_op-instance_method" title="#make_binary_op (instance method)">- (Object) <strong>make_binary_op</strong>(name, exec_type, func, force_type = nil, pre_condition = nil, post_condition = nil) </a>
|
|
109
|
+
<a href="#make_binary_op-instance_method" title="#make_binary_op (instance method)">- (Object) <strong>make_binary_op</strong>(name, exec_type, func, helper_class, force_type = nil, pre_condition = nil, post_condition = nil) </a>
|
|
110
110
|
|
|
111
111
|
|
|
112
112
|
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
|
|
122
122
|
|
|
123
123
|
<span class="summary_desc"><div class='inline'>
|
|
124
|
-
<p
|
|
124
|
+
<p>------------------------------------------------------------------------------------.</p>
|
|
125
125
|
</div></span>
|
|
126
126
|
|
|
127
127
|
</li>
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
<li class="public ">
|
|
131
131
|
<span class="summary_signature">
|
|
132
132
|
|
|
133
|
-
<a href="#
|
|
133
|
+
<a href="#make_unary_op-instance_method" title="#make_unary_op (instance method)">- (Object) <strong>make_unary_op</strong>(name, exec_type, func, helper_class, force_type = nil, pre_condition = nil, post_condition = nil) </a>
|
|
134
134
|
|
|
135
135
|
|
|
136
136
|
|
|
@@ -145,79 +145,7 @@
|
|
|
145
145
|
|
|
146
146
|
|
|
147
147
|
<span class="summary_desc"><div class='inline'>
|
|
148
|
-
<p
|
|
149
|
-
</div></span>
|
|
150
|
-
|
|
151
|
-
</li>
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
<li class="public ">
|
|
155
|
-
<span class="summary_signature">
|
|
156
|
-
|
|
157
|
-
<a href="#make_comparison_op-instance_method" title="#make_comparison_op (instance method)">- (Object) <strong>make_comparison_op</strong>(name, func) </a>
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
</span>
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
<span class="summary_desc"><div class='inline'>
|
|
172
|
-
<p>????????????????????????????.</p>
|
|
173
|
-
</div></span>
|
|
174
|
-
|
|
175
|
-
</li>
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
<li class="public ">
|
|
179
|
-
<span class="summary_signature">
|
|
180
|
-
|
|
181
|
-
<a href="#make_unary_op-instance_method" title="#make_unary_op (instance method)">- (Object) <strong>make_unary_op</strong>(name, exec_type, func, force_type = nil, pre_condition = nil, post_condition = nil) </a>
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
</span>
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
<span class="summary_desc"><div class='inline'>
|
|
196
|
-
<p>????????????????????????????.</p>
|
|
197
|
-
</div></span>
|
|
198
|
-
|
|
199
|
-
</li>
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
<li class="public ">
|
|
203
|
-
<span class="summary_signature">
|
|
204
|
-
|
|
205
|
-
<a href="#make_unary_operators-instance_method" title="#make_unary_operators (instance method)">- (Object) <strong>make_unary_operators</strong>(name, func, default = true, in_place = true) </a>
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
</span>
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
<span class="summary_desc"><div class='inline'>
|
|
220
|
-
<p>????????????????????????????.</p>
|
|
148
|
+
<p>------------------------------------------------------------------------------------.</p>
|
|
221
149
|
</div></span>
|
|
222
150
|
|
|
223
151
|
</li>
|
|
@@ -235,7 +163,7 @@
|
|
|
235
163
|
<div class="method_details first">
|
|
236
164
|
<h3 class="signature first" id="make_binary_op-instance_method">
|
|
237
165
|
|
|
238
|
-
- (<tt>Object</tt>) <strong>make_binary_op</strong>(name, exec_type, func, force_type = nil, pre_condition = nil, post_condition = nil)
|
|
166
|
+
- (<tt>Object</tt>) <strong>make_binary_op</strong>(name, exec_type, func, helper_class, force_type = nil, pre_condition = nil, post_condition = nil)
|
|
239
167
|
|
|
240
168
|
|
|
241
169
|
|
|
@@ -243,8 +171,8 @@
|
|
|
243
171
|
|
|
244
172
|
</h3><div class="docstring">
|
|
245
173
|
<div class="discussion">
|
|
246
|
-
<hr
|
|
247
|
-
<hr
|
|
174
|
+
<hr>
|
|
175
|
+
<hr>
|
|
248
176
|
|
|
249
177
|
|
|
250
178
|
</div>
|
|
@@ -269,33 +197,40 @@
|
|
|
269
197
|
40
|
|
270
198
|
41
|
|
271
199
|
42
|
|
272
|
-
43
|
|
200
|
+
43
|
|
201
|
+
44
|
|
202
|
+
45
|
|
203
|
+
46
|
|
204
|
+
47</pre>
|
|
273
205
|
</td>
|
|
274
206
|
<td>
|
|
275
207
|
<pre class="code"><span class="info file"># File 'lib/mdarray/function_creation.rb', line 32</span>
|
|
276
208
|
|
|
277
|
-
<span class='
|
|
278
|
-
<span class='
|
|
209
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_make_binary_op'>make_binary_op</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_exec_type'>exec_type</span><span class='comma'>,</span> <span class='id identifier rubyid_func'>func</span><span class='comma'>,</span> <span class='id identifier rubyid_helper_class'>helper_class</span><span class='comma'>,</span> <span class='id identifier rubyid_force_type'>force_type</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span>
|
|
210
|
+
<span class='id identifier rubyid_pre_condition'>pre_condition</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_post_condition'>post_condition</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
279
211
|
|
|
280
|
-
<span class='
|
|
281
|
-
<span class='
|
|
282
|
-
|
|
283
|
-
<span class='
|
|
284
|
-
|
|
212
|
+
<span class='id identifier rubyid_define_method'>define_method</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_op2'>op2</span><span class='comma'>,</span> <span class='id identifier rubyid_requested_type'>requested_type</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='op'>|</span>
|
|
213
|
+
<span class='kw'>if</span> <span class='lparen'>(</span><span class='ivar'>@type</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>lazy</span><span class='tstring_end'>"</span></span> <span class='op'>||</span> <span class='lparen'>(</span><span class='lparen'>(</span><span class='id identifier rubyid_op2'>op2</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>MDArray</span><span class='rparen'>)</span> <span class='op'>&&</span> <span class='id identifier rubyid_op2'>op2</span><span class='period'>.</span><span class='id identifier rubyid_type'>type</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>"</span><span class='tstring_content'>lazy</span><span class='tstring_end'>"</span></span><span class='rparen'>)</span><span class='rparen'>)</span>
|
|
214
|
+
<span class='id identifier rubyid_binary_op'>binary_op</span> <span class='op'>=</span> <span class='const'>LazyBinaryOperator</span>
|
|
215
|
+
<span class='kw'>else</span>
|
|
216
|
+
<span class='id identifier rubyid_binary_op'>binary_op</span> <span class='op'>=</span> <span class='id identifier rubyid_get_binary_op'>get_binary_op</span>
|
|
217
|
+
<span class='kw'>end</span>
|
|
218
|
+
<span class='id identifier rubyid_op'>op</span> <span class='op'>=</span> <span class='id identifier rubyid_binary_op'>binary_op</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_exec_type'>exec_type</span><span class='comma'>,</span> <span class='id identifier rubyid_force_type'>force_type</span><span class='comma'>,</span> <span class='id identifier rubyid_pre_condition'>pre_condition</span><span class='comma'>,</span> <span class='id identifier rubyid_post_condition'>post_condition</span><span class='rparen'>)</span>
|
|
219
|
+
<span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_exec'>exec</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_op2'>op2</span><span class='comma'>,</span> <span class='id identifier rubyid_requested_type'>requested_type</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
|
220
|
+
<span class='kw'>end</span>
|
|
285
221
|
|
|
286
|
-
<span class='
|
|
222
|
+
<span class='const'>MDArray</span><span class='period'>.</span><span class='id identifier rubyid_register_function'>register_function</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_func'>func</span><span class='comma'>,</span> <span class='int'>2</span><span class='comma'>,</span> <span class='id identifier rubyid_helper_class'>helper_class</span><span class='rparen'>)</span>
|
|
287
223
|
|
|
288
|
-
<span class='
|
|
289
|
-
</pre>
|
|
224
|
+
<span class='kw'>end</span></pre>
|
|
290
225
|
</td>
|
|
291
226
|
</tr>
|
|
292
227
|
</table>
|
|
293
228
|
</div>
|
|
294
229
|
|
|
295
230
|
<div class="method_details ">
|
|
296
|
-
<h3 class="signature " id="
|
|
231
|
+
<h3 class="signature " id="make_unary_op-instance_method">
|
|
297
232
|
|
|
298
|
-
- (<tt>Object</tt>) <strong>
|
|
233
|
+
- (<tt>Object</tt>) <strong>make_unary_op</strong>(name, exec_type, func, helper_class, force_type = nil, pre_condition = nil, post_condition = nil)
|
|
299
234
|
|
|
300
235
|
|
|
301
236
|
|
|
@@ -303,8 +238,8 @@
|
|
|
303
238
|
|
|
304
239
|
</h3><div class="docstring">
|
|
305
240
|
<div class="discussion">
|
|
306
|
-
<hr
|
|
307
|
-
<hr
|
|
241
|
+
<hr>
|
|
242
|
+
<hr>
|
|
308
243
|
|
|
309
244
|
|
|
310
245
|
</div>
|
|
@@ -318,189 +253,34 @@
|
|
|
318
253
|
<pre class="lines">
|
|
319
254
|
|
|
320
255
|
|
|
321
|
-
49
|
|
322
|
-
50
|
|
323
|
-
51
|
|
324
|
-
52
|
|
325
256
|
53
|
|
326
257
|
54
|
|
327
258
|
55
|
|
328
259
|
56
|
|
329
260
|
57
|
|
330
|
-
58
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
<span class='rubyid_if if kw'>if</span> <span class='lparen token'>(</span><span class='rubyid_default identifier id'>default</span><span class='rparen token'>)</span>
|
|
338
|
-
<span class='rubyid_make_binary_op identifier id'>make_binary_op</span><span class='lparen token'>(</span><span class='rubyid_name identifier id'>name</span><span class='comma token'>,</span> <span class='string val'>"default"</span><span class='comma token'>,</span> <span class='rubyid_func identifier id'>func</span><span class='rparen token'>)</span>
|
|
339
|
-
<span class='rubyid_end end kw'>end</span>
|
|
340
|
-
<span class='rubyid_if if kw'>if</span> <span class='lparen token'>(</span><span class='rubyid_in_place identifier id'>in_place</span><span class='rparen token'>)</span>
|
|
341
|
-
<span class='rubyid_make_binary_op identifier id'>make_binary_op</span><span class='lparen token'>(</span><span class='rubyid_name identifier id'>name</span> <span class='plus op'>+</span> <span class='string val'>"!"</span><span class='comma token'>,</span> <span class='string val'>"in_place"</span><span class='comma token'>,</span> <span class='rubyid_func identifier id'>func</span><span class='rparen token'>)</span>
|
|
342
|
-
<span class='rubyid_end end kw'>end</span>
|
|
343
|
-
|
|
344
|
-
<span class='rubyid_end end kw'>end</span>
|
|
345
|
-
</pre>
|
|
346
|
-
</td>
|
|
347
|
-
</tr>
|
|
348
|
-
</table>
|
|
349
|
-
</div>
|
|
350
|
-
|
|
351
|
-
<div class="method_details ">
|
|
352
|
-
<h3 class="signature " id="make_comparison_op-instance_method">
|
|
353
|
-
|
|
354
|
-
- (<tt>Object</tt>) <strong>make_comparison_op</strong>(name, func)
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
</h3><div class="docstring">
|
|
361
|
-
<div class="discussion">
|
|
362
|
-
<hr style="height: 10px">
|
|
363
|
-
<hr style="height: 10px">
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
</div>
|
|
367
|
-
</div>
|
|
368
|
-
<div class="tags">
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
</div><table class="source_code">
|
|
372
|
-
<tr>
|
|
373
|
-
<td>
|
|
374
|
-
<pre class="lines">
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
96
|
|
378
|
-
97
|
|
379
|
-
98</pre>
|
|
261
|
+
58
|
|
262
|
+
59
|
|
263
|
+
60
|
|
264
|
+
61
|
|
265
|
+
62
|
|
266
|
+
63
|
|
267
|
+
64</pre>
|
|
380
268
|
</td>
|
|
381
269
|
<td>
|
|
382
|
-
<pre class="code"><span class="info file"># File 'lib/mdarray/function_creation.rb', line
|
|
270
|
+
<pre class="code"><span class="info file"># File 'lib/mdarray/function_creation.rb', line 53</span>
|
|
383
271
|
|
|
384
|
-
<span class='
|
|
385
|
-
|
|
386
|
-
<span class='rubyid_end end kw'>end</span>
|
|
387
|
-
</pre>
|
|
388
|
-
</td>
|
|
389
|
-
</tr>
|
|
390
|
-
</table>
|
|
391
|
-
</div>
|
|
392
|
-
|
|
393
|
-
<div class="method_details ">
|
|
394
|
-
<h3 class="signature " id="make_unary_op-instance_method">
|
|
395
|
-
|
|
396
|
-
- (<tt>Object</tt>) <strong>make_unary_op</strong>(name, exec_type, func, force_type = nil, pre_condition = nil, post_condition = nil)
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
</h3><div class="docstring">
|
|
403
|
-
<div class="discussion">
|
|
404
|
-
<hr style="height: 10px">
|
|
405
|
-
<hr style="height: 10px">
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
</div>
|
|
409
|
-
</div>
|
|
410
|
-
<div class="tags">
|
|
272
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_make_unary_op'>make_unary_op</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_exec_type'>exec_type</span><span class='comma'>,</span> <span class='id identifier rubyid_func'>func</span><span class='comma'>,</span> <span class='id identifier rubyid_helper_class'>helper_class</span><span class='comma'>,</span> <span class='id identifier rubyid_force_type'>force_type</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span>
|
|
273
|
+
<span class='id identifier rubyid_pre_condition'>pre_condition</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_post_condition'>post_condition</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='rparen'>)</span>
|
|
411
274
|
|
|
275
|
+
<span class='id identifier rubyid_define_method'>define_method</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='rparen'>)</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_requested_type'>requested_type</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='op'>|</span>
|
|
276
|
+
<span class='id identifier rubyid_unary_op'>unary_op</span> <span class='op'>=</span> <span class='id identifier rubyid_get_unary_op'>get_unary_op</span>
|
|
277
|
+
<span class='id identifier rubyid_op'>op</span> <span class='op'>=</span> <span class='id identifier rubyid_unary_op'>unary_op</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_exec_type'>exec_type</span><span class='comma'>,</span> <span class='id identifier rubyid_force_type'>force_type</span><span class='comma'>,</span> <span class='id identifier rubyid_pre_condition'>pre_condition</span><span class='comma'>,</span> <span class='id identifier rubyid_post_condition'>post_condition</span><span class='rparen'>)</span>
|
|
278
|
+
<span class='id identifier rubyid_op'>op</span><span class='period'>.</span><span class='id identifier rubyid_exec'>exec</span><span class='lparen'>(</span><span class='kw'>self</span><span class='comma'>,</span> <span class='id identifier rubyid_requested_type'>requested_type</span><span class='comma'>,</span> <span class='op'>*</span><span class='id identifier rubyid_args'>args</span><span class='rparen'>)</span>
|
|
279
|
+
<span class='kw'>end</span>
|
|
412
280
|
|
|
413
|
-
</
|
|
414
|
-
<tr>
|
|
415
|
-
<td>
|
|
416
|
-
<pre class="lines">
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
64
|
|
420
|
-
65
|
|
421
|
-
66
|
|
422
|
-
67
|
|
423
|
-
68
|
|
424
|
-
69
|
|
425
|
-
70
|
|
426
|
-
71
|
|
427
|
-
72
|
|
428
|
-
73
|
|
429
|
-
74
|
|
430
|
-
75</pre>
|
|
431
|
-
</td>
|
|
432
|
-
<td>
|
|
433
|
-
<pre class="code"><span class="info file"># File 'lib/mdarray/function_creation.rb', line 64</span>
|
|
434
|
-
|
|
435
|
-
<span class='rubyid_def def kw'>def</span> <span class='rubyid_make_unary_op identifier id'>make_unary_op</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_func identifier id'>func</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>
|
|
436
|
-
<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>
|
|
437
|
-
|
|
438
|
-
<span class='rubyid_define_method identifier id'>define_method</span><span class='lparen token'>(</span><span class='rubyid_name identifier id'>name</span><span class='rparen token'>)</span> <span class='rubyid_do do kw'>do</span> <span class='bitor op'>|</span><span class='rubyid_requested_type identifier id'>requested_type</span> <span class='assign token'>=</span> <span class='rubyid_nil nil kw'>nil</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='rubyid_args identifier id'>args</span><span class='bitor op'>|</span>
|
|
439
|
-
<span class='rubyid_unary_op identifier id'>unary_op</span> <span class='assign token'>=</span> <span class='rubyid_get_unary_op identifier id'>get_unary_op</span>
|
|
440
|
-
<span class='rubyid_op identifier id'>op</span> <span class='assign token'>=</span> <span class='rubyid_unary_op identifier id'>unary_op</span><span class='dot token'>.</span><span class='rubyid_new identifier id'>new</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='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>
|
|
441
|
-
<span class='rubyid_op identifier id'>op</span><span class='dot token'>.</span><span class='rubyid_exec identifier id'>exec</span><span class='lparen token'>(</span><span class='rubyid_self self kw'>self</span><span class='comma token'>,</span> <span class='rubyid_requested_type identifier id'>requested_type</span><span class='comma token'>,</span> <span class='mult op'>*</span><span class='rubyid_args identifier id'>args</span><span class='rparen token'>)</span>
|
|
442
|
-
<span class='rubyid_end end kw'>end</span>
|
|
443
|
-
|
|
444
|
-
<span class='rubyid_MDArray constant id'>MDArray</span><span class='dot token'>.</span><span class='rubyid_register_function identifier id'>register_function</span><span class='lparen token'>(</span><span class='rubyid_name identifier id'>name</span><span class='comma token'>,</span> <span class='rubyid_func identifier id'>func</span><span class='rparen token'>)</span>
|
|
445
|
-
|
|
446
|
-
<span class='rubyid_end end kw'>end</span>
|
|
447
|
-
</pre>
|
|
448
|
-
</td>
|
|
449
|
-
</tr>
|
|
450
|
-
</table>
|
|
451
|
-
</div>
|
|
452
|
-
|
|
453
|
-
<div class="method_details ">
|
|
454
|
-
<h3 class="signature " id="make_unary_operators-instance_method">
|
|
455
|
-
|
|
456
|
-
- (<tt>Object</tt>) <strong>make_unary_operators</strong>(name, func, default = true, in_place = true)
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
</h3><div class="docstring">
|
|
463
|
-
<div class="discussion">
|
|
464
|
-
<hr style="height: 10px">
|
|
465
|
-
<hr style="height: 10px">
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
</div>
|
|
469
|
-
</div>
|
|
470
|
-
<div class="tags">
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
</div><table class="source_code">
|
|
474
|
-
<tr>
|
|
475
|
-
<td>
|
|
476
|
-
<pre class="lines">
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
81
|
|
480
|
-
82
|
|
481
|
-
83
|
|
482
|
-
84
|
|
483
|
-
85
|
|
484
|
-
86
|
|
485
|
-
87
|
|
486
|
-
88
|
|
487
|
-
89
|
|
488
|
-
90</pre>
|
|
489
|
-
</td>
|
|
490
|
-
<td>
|
|
491
|
-
<pre class="code"><span class="info file"># File 'lib/mdarray/function_creation.rb', line 81</span>
|
|
492
|
-
|
|
493
|
-
<span class='rubyid_def def kw'>def</span> <span class='rubyid_make_unary_operators identifier id'>make_unary_operators</span><span class='lparen token'>(</span><span class='rubyid_name identifier id'>name</span><span class='comma token'>,</span> <span class='rubyid_func identifier id'>func</span><span class='comma token'>,</span> <span class='rubyid_default identifier id'>default</span> <span class='assign token'>=</span> <span class='rubyid_true true kw'>true</span><span class='comma token'>,</span> <span class='rubyid_in_place identifier id'>in_place</span> <span class='assign token'>=</span> <span class='rubyid_true true kw'>true</span><span class='rparen token'>)</span>
|
|
494
|
-
|
|
495
|
-
<span class='rubyid_if if kw'>if</span> <span class='lparen token'>(</span><span class='rubyid_default identifier id'>default</span><span class='rparen token'>)</span>
|
|
496
|
-
<span class='rubyid_make_unary_op identifier id'>make_unary_op</span><span class='lparen token'>(</span><span class='rubyid_name identifier id'>name</span><span class='comma token'>,</span> <span class='string val'>"default"</span><span class='comma token'>,</span> <span class='rubyid_func identifier id'>func</span><span class='rparen token'>)</span>
|
|
497
|
-
<span class='rubyid_end end kw'>end</span>
|
|
498
|
-
<span class='rubyid_if if kw'>if</span> <span class='lparen token'>(</span><span class='rubyid_in_place identifier id'>in_place</span><span class='rparen token'>)</span>
|
|
499
|
-
<span class='rubyid_make_unary_op identifier id'>make_unary_op</span><span class='lparen token'>(</span><span class='rubyid_name identifier id'>name</span> <span class='plus op'>+</span> <span class='string val'>"!"</span><span class='comma token'>,</span> <span class='string val'>"in_place"</span><span class='comma token'>,</span> <span class='rubyid_func identifier id'>func</span><span class='rparen token'>)</span>
|
|
500
|
-
<span class='rubyid_end end kw'>end</span>
|
|
281
|
+
<span class='const'>MDArray</span><span class='period'>.</span><span class='id identifier rubyid_register_function'>register_function</span><span class='lparen'>(</span><span class='id identifier rubyid_name'>name</span><span class='comma'>,</span> <span class='id identifier rubyid_func'>func</span><span class='comma'>,</span> <span class='int'>1</span><span class='comma'>,</span> <span class='id identifier rubyid_helper_class'>helper_class</span><span class='rparen'>)</span>
|
|
501
282
|
|
|
502
|
-
<span class='
|
|
503
|
-
</pre>
|
|
283
|
+
<span class='kw'>end</span></pre>
|
|
504
284
|
</td>
|
|
505
285
|
</tr>
|
|
506
286
|
</table>
|
|
@@ -511,9 +291,9 @@
|
|
|
511
291
|
</div>
|
|
512
292
|
|
|
513
293
|
<div id="footer">
|
|
514
|
-
Generated on
|
|
294
|
+
Generated on Tue Jul 14 18:08:56 2015 by
|
|
515
295
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
516
|
-
0.8.
|
|
296
|
+
0.8.7.6 (ruby-1.9.3).
|
|
517
297
|
</div>
|
|
518
298
|
|
|
519
299
|
</body>
|
data/doc/FunctionMap.html
CHANGED
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Class: FunctionMap
|
|
8
8
|
|
|
9
|
-
— Documentation by YARD 0.8.
|
|
9
|
+
— Documentation by YARD 0.8.7.6
|
|
10
10
|
|
|
11
11
|
</title>
|
|
12
12
|
|
|
13
|
-
<link rel="stylesheet" href="css/style.css" type="text/css"
|
|
13
|
+
<link rel="stylesheet" href="css/style.css" type="text/css" charset="utf-8" />
|
|
14
14
|
|
|
15
|
-
<link rel="stylesheet" href="css/common.css" type="text/css"
|
|
15
|
+
<link rel="stylesheet" href="css/common.css" type="text/css" charset="utf-8" />
|
|
16
16
|
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
|
19
19
|
relpath = '';
|
|
20
|
-
framesUrl = "frames.html#!"
|
|
20
|
+
framesUrl = "frames.html#!FunctionMap.html";
|
|
21
21
|
</script>
|
|
22
22
|
|
|
23
23
|
|
|
@@ -106,6 +106,35 @@
|
|
|
106
106
|
<h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
|
|
107
107
|
<ul class="summary">
|
|
108
108
|
|
|
109
|
+
<li class="public ">
|
|
110
|
+
<span class="summary_signature">
|
|
111
|
+
|
|
112
|
+
<a href="#arity-instance_method" title="#arity (instance method)">- (Object) <strong>arity</strong> </a>
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
</span>
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
<span class="note title readonly">readonly</span>
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
<span class="summary_desc"><div class='inline'>
|
|
132
|
+
<p>arity of the function: 1 or 2.</p>
|
|
133
|
+
</div></span>
|
|
134
|
+
|
|
135
|
+
</li>
|
|
136
|
+
|
|
137
|
+
|
|
109
138
|
<li class="public ">
|
|
110
139
|
<span class="summary_signature">
|
|
111
140
|
|
|
@@ -130,6 +159,35 @@
|
|
|
130
159
|
<p>Returns the value of attribute description.</p>
|
|
131
160
|
</div></span>
|
|
132
161
|
|
|
162
|
+
</li>
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
<li class="public ">
|
|
166
|
+
<span class="summary_signature">
|
|
167
|
+
|
|
168
|
+
<a href="#elmtwise-instance_method" title="#elmtwise (instance method)">- (Object) <strong>elmtwise</strong> </a>
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
</span>
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
<span class="note title readonly">readonly</span>
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
<span class="summary_desc"><div class='inline'>
|
|
188
|
+
<p>set to true if function applies to all elmts of the array.</p>
|
|
189
|
+
</div></span>
|
|
190
|
+
|
|
133
191
|
</li>
|
|
134
192
|
|
|
135
193
|
|
|
@@ -156,7 +214,36 @@
|
|
|
156
214
|
|
|
157
215
|
|
|
158
216
|
<span class="summary_desc"><div class='inline'>
|
|
159
|
-
<p>
|
|
217
|
+
<p>function to be applied to elmts.</p>
|
|
218
|
+
</div></span>
|
|
219
|
+
|
|
220
|
+
</li>
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
<li class="public ">
|
|
224
|
+
<span class="summary_signature">
|
|
225
|
+
|
|
226
|
+
<a href="#helper-instance_method" title="#helper (instance method)">- (Object) <strong>helper</strong> </a>
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
</span>
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
<span class="note title readonly">readonly</span>
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
<span class="summary_desc"><div class='inline'>
|
|
246
|
+
<p>Helper method to perform the function.</p>
|
|
160
247
|
</div></span>
|
|
161
248
|
|
|
162
249
|
</li>
|
|
@@ -217,6 +304,35 @@
|
|
|
217
304
|
<p>Returns the value of attribute input2_type.</p>
|
|
218
305
|
</div></span>
|
|
219
306
|
|
|
307
|
+
</li>
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
<li class="public ">
|
|
311
|
+
<span class="summary_signature">
|
|
312
|
+
|
|
313
|
+
<a href="#is_global-instance_method" title="#is_global (instance method)">- (Object) <strong>is_global</strong> </a>
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
</span>
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
<span class="note title readonly">readonly</span>
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
<span class="summary_desc"><div class='inline'>
|
|
333
|
+
<p>Returns the value of attribute is_global.</p>
|
|
334
|
+
</div></span>
|
|
335
|
+
|
|
220
336
|
</li>
|
|
221
337
|
|
|
222
338
|
|
|
@@ -243,7 +359,7 @@
|
|
|
243
359
|
|
|
244
360
|
|
|
245
361
|
<span class="summary_desc"><div class='inline'>
|
|
246
|
-
<p>
|
|
362
|
+
<p>long name of the function.</p>
|
|
247
363
|
</div></span>
|
|
248
364
|
|
|
249
365
|
</li>
|
|
@@ -252,7 +368,7 @@
|
|
|
252
368
|
<li class="public ">
|
|
253
369
|
<span class="summary_signature">
|
|
254
370
|
|
|
255
|
-
<a href="#
|
|
371
|
+
<a href="#package-instance_method" title="#package (instance method)">- (Object) <strong>package</strong> </a>
|
|
256
372
|
|
|
257
373
|
|
|
258
374
|
|
|
@@ -272,7 +388,7 @@
|
|
|
272
388
|
|
|
273
389
|
|
|
274
390
|
<span class="summary_desc"><div class='inline'>
|
|
275
|
-
<p>
|
|
391
|
+
<p>package where the function was implemented.</p>
|
|
276
392
|
</div></span>
|
|
277
393
|
|
|
278
394
|
</li>
|
|
@@ -281,7 +397,7 @@
|
|
|
281
397
|
<li class="public ">
|
|
282
398
|
<span class="summary_signature">
|
|
283
399
|
|
|
284
|
-
<a href="#
|
|
400
|
+
<a href="#return_type-instance_method" title="#return_type (instance method)">- (Object) <strong>return_type</strong> </a>
|
|
285
401
|
|
|
286
402
|
|
|
287
403
|
|
|
@@ -301,7 +417,7 @@
|
|
|
301
417
|
|
|
302
418
|
|
|
303
419
|
<span class="summary_desc"><div class='inline'>
|
|
304
|
-
<p>Returns the value of attribute
|
|
420
|
+
<p>Returns the value of attribute return_type.</p>
|
|
305
421
|
</div></span>
|
|
306
422
|
|
|
307
423
|
</li>
|
|
@@ -330,7 +446,7 @@
|
|
|
330
446
|
|
|
331
447
|
|
|
332
448
|
<span class="summary_desc"><div class='inline'>
|
|
333
|
-
<p>
|
|
449
|
+
<p>short name of the function.</p>
|
|
334
450
|
</div></span>
|
|
335
451
|
|
|
336
452
|
</li>
|
|
@@ -352,7 +468,7 @@
|
|
|
352
468
|
<li class="public ">
|
|
353
469
|
<span class="summary_signature">
|
|
354
470
|
|
|
355
|
-
<a href="#initialize-instance_method" title="#initialize (instance method)">- (FunctionMap) <strong>initialize</strong>(short_name, long_name,
|
|
471
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">- (FunctionMap) <strong>initialize</strong>(short_name, long_name, package, function, return_type, input1_type, input2_type, arity, helper, elmtwise = true, is_global = false) </a>
|
|
356
472
|
|
|
357
473
|
|
|
358
474
|
|
|
@@ -369,7 +485,7 @@
|
|
|
369
485
|
|
|
370
486
|
|
|
371
487
|
<span class="summary_desc"><div class='inline'>
|
|
372
|
-
<p
|
|
488
|
+
<p>------------------------------------------------------------------------------------.</p>
|
|
373
489
|
</div></span>
|
|
374
490
|
|
|
375
491
|
</li>
|
|
@@ -384,7 +500,7 @@
|
|
|
384
500
|
<div class="method_details first">
|
|
385
501
|
<h3 class="signature first" id="initialize-instance_method">
|
|
386
502
|
|
|
387
|
-
- (<tt><span class='object_link'><a href="" title="FunctionMap (class)">FunctionMap</a></span></tt>) <strong>initialize</strong>(short_name, long_name,
|
|
503
|
+
- (<tt><span class='object_link'><a href="" title="FunctionMap (class)">FunctionMap</a></span></tt>) <strong>initialize</strong>(short_name, long_name, package, function, return_type, input1_type, input2_type, arity, helper, elmtwise = true, is_global = false)
|
|
388
504
|
|
|
389
505
|
|
|
390
506
|
|
|
@@ -392,8 +508,8 @@
|
|
|
392
508
|
|
|
393
509
|
</h3><div class="docstring">
|
|
394
510
|
<div class="discussion">
|
|
395
|
-
<hr
|
|
396
|
-
<hr
|
|
511
|
+
<hr>
|
|
512
|
+
<hr>
|
|
397
513
|
|
|
398
514
|
|
|
399
515
|
</div>
|
|
@@ -407,10 +523,6 @@
|
|
|
407
523
|
<pre class="lines">
|
|
408
524
|
|
|
409
525
|
|
|
410
|
-
42
|
|
411
|
-
43
|
|
412
|
-
44
|
|
413
|
-
45
|
|
414
526
|
46
|
|
415
527
|
47
|
|
416
528
|
48
|
|
@@ -418,24 +530,35 @@
|
|
|
418
530
|
50
|
|
419
531
|
51
|
|
420
532
|
52
|
|
421
|
-
53
|
|
533
|
+
53
|
|
534
|
+
54
|
|
535
|
+
55
|
|
536
|
+
56
|
|
537
|
+
57
|
|
538
|
+
58
|
|
539
|
+
59
|
|
540
|
+
60
|
|
541
|
+
61</pre>
|
|
422
542
|
</td>
|
|
423
543
|
<td>
|
|
424
|
-
<pre class="code"><span class="info file"># File 'lib/mdarray/function_map.rb', line
|
|
425
|
-
|
|
426
|
-
<span class='
|
|
427
|
-
<span class='rubyid_input2_type identifier id'>
|
|
428
|
-
|
|
429
|
-
<span class='
|
|
430
|
-
<span class='
|
|
431
|
-
<span class='
|
|
432
|
-
<span class='
|
|
433
|
-
<span class='
|
|
434
|
-
<span class='
|
|
435
|
-
<span class='
|
|
436
|
-
|
|
437
|
-
<span class='
|
|
438
|
-
</
|
|
544
|
+
<pre class="code"><span class="info file"># File 'lib/mdarray/function_map.rb', line 46</span>
|
|
545
|
+
|
|
546
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_short_name'>short_name</span><span class='comma'>,</span> <span class='id identifier rubyid_long_name'>long_name</span><span class='comma'>,</span> <span class='id identifier rubyid_package'>package</span><span class='comma'>,</span> <span class='id identifier rubyid_function'>function</span><span class='comma'>,</span> <span class='id identifier rubyid_return_type'>return_type</span><span class='comma'>,</span> <span class='id identifier rubyid_input1_type'>input1_type</span><span class='comma'>,</span>
|
|
547
|
+
<span class='id identifier rubyid_input2_type'>input2_type</span><span class='comma'>,</span> <span class='id identifier rubyid_arity'>arity</span><span class='comma'>,</span> <span class='id identifier rubyid_helper'>helper</span><span class='comma'>,</span> <span class='id identifier rubyid_elmtwise'>elmtwise</span> <span class='op'>=</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_is_global'>is_global</span> <span class='op'>=</span> <span class='kw'>false</span><span class='rparen'>)</span>
|
|
548
|
+
|
|
549
|
+
<span class='ivar'>@short_name</span> <span class='op'>=</span> <span class='id identifier rubyid_short_name'>short_name</span>
|
|
550
|
+
<span class='ivar'>@long_name</span> <span class='op'>=</span> <span class='id identifier rubyid_long_name'>long_name</span>
|
|
551
|
+
<span class='ivar'>@package</span> <span class='op'>=</span> <span class='id identifier rubyid_package'>package</span>
|
|
552
|
+
<span class='ivar'>@function</span> <span class='op'>=</span> <span class='id identifier rubyid_function'>function</span>
|
|
553
|
+
<span class='ivar'>@return_type</span> <span class='op'>=</span> <span class='id identifier rubyid_return_type'>return_type</span>
|
|
554
|
+
<span class='ivar'>@input1_type</span> <span class='op'>=</span> <span class='id identifier rubyid_input1_type'>input1_type</span>
|
|
555
|
+
<span class='ivar'>@input2_type</span> <span class='op'>=</span> <span class='id identifier rubyid_input2_type'>input2_type</span>
|
|
556
|
+
<span class='ivar'>@arity</span> <span class='op'>=</span> <span class='id identifier rubyid_arity'>arity</span>
|
|
557
|
+
<span class='ivar'>@helper</span> <span class='op'>=</span> <span class='id identifier rubyid_helper'>helper</span>
|
|
558
|
+
<span class='ivar'>@elmtwise</span> <span class='op'>=</span> <span class='id identifier rubyid_elmtwise'>elmtwise</span>
|
|
559
|
+
<span class='ivar'>@is_global</span> <span class='op'>=</span> <span class='id identifier rubyid_is_global'>is_global</span>
|
|
560
|
+
|
|
561
|
+
<span class='kw'>end</span></pre>
|
|
439
562
|
</td>
|
|
440
563
|
</tr>
|
|
441
564
|
</table>
|
|
@@ -447,9 +570,52 @@
|
|
|
447
570
|
<h2>Instance Attribute Details</h2>
|
|
448
571
|
|
|
449
572
|
|
|
450
|
-
<span id="
|
|
573
|
+
<span id=""></span>
|
|
451
574
|
<div class="method_details first">
|
|
452
|
-
<h3 class="signature first" id="
|
|
575
|
+
<h3 class="signature first" id="arity-instance_method">
|
|
576
|
+
|
|
577
|
+
- (<tt>Object</tt>) <strong>arity</strong> <span class="extras">(readonly)</span>
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
</h3><div class="docstring">
|
|
584
|
+
<div class="discussion">
|
|
585
|
+
|
|
586
|
+
<p>arity of the function: 1 or 2</p>
|
|
587
|
+
|
|
588
|
+
|
|
589
|
+
</div>
|
|
590
|
+
</div>
|
|
591
|
+
<div class="tags">
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
</div><table class="source_code">
|
|
595
|
+
<tr>
|
|
596
|
+
<td>
|
|
597
|
+
<pre class="lines">
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
35
|
|
601
|
+
36
|
|
602
|
+
37</pre>
|
|
603
|
+
</td>
|
|
604
|
+
<td>
|
|
605
|
+
<pre class="code"><span class="info file"># File 'lib/mdarray/function_map.rb', line 35</span>
|
|
606
|
+
|
|
607
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_arity'>arity</span>
|
|
608
|
+
<span class='ivar'>@arity</span>
|
|
609
|
+
<span class='kw'>end</span></pre>
|
|
610
|
+
</td>
|
|
611
|
+
</tr>
|
|
612
|
+
</table>
|
|
613
|
+
</div>
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
<span id="description=-instance_method"></span>
|
|
617
|
+
<div class="method_details ">
|
|
618
|
+
<h3 class="signature " id="description-instance_method">
|
|
453
619
|
|
|
454
620
|
- (<tt>Object</tt>) <strong>description</strong>
|
|
455
621
|
|
|
@@ -474,17 +640,60 @@
|
|
|
474
640
|
<pre class="lines">
|
|
475
641
|
|
|
476
642
|
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
643
|
+
40
|
|
644
|
+
41
|
|
645
|
+
42</pre>
|
|
480
646
|
</td>
|
|
481
647
|
<td>
|
|
482
|
-
<pre class="code"><span class="info file"># File 'lib/mdarray/function_map.rb', line
|
|
648
|
+
<pre class="code"><span class="info file"># File 'lib/mdarray/function_map.rb', line 40</span>
|
|
483
649
|
|
|
484
|
-
<span class='
|
|
485
|
-
<span class='
|
|
486
|
-
<span class='
|
|
487
|
-
</
|
|
650
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_description'>description</span>
|
|
651
|
+
<span class='ivar'>@description</span>
|
|
652
|
+
<span class='kw'>end</span></pre>
|
|
653
|
+
</td>
|
|
654
|
+
</tr>
|
|
655
|
+
</table>
|
|
656
|
+
</div>
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
<span id=""></span>
|
|
660
|
+
<div class="method_details ">
|
|
661
|
+
<h3 class="signature " id="elmtwise-instance_method">
|
|
662
|
+
|
|
663
|
+
- (<tt>Object</tt>) <strong>elmtwise</strong> <span class="extras">(readonly)</span>
|
|
664
|
+
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
</h3><div class="docstring">
|
|
670
|
+
<div class="discussion">
|
|
671
|
+
|
|
672
|
+
<p>set to true if function applies to all elmts of the array. By default set
|
|
673
|
+
to false</p>
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
</div>
|
|
677
|
+
</div>
|
|
678
|
+
<div class="tags">
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
</div><table class="source_code">
|
|
682
|
+
<tr>
|
|
683
|
+
<td>
|
|
684
|
+
<pre class="lines">
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
39
|
|
688
|
+
40
|
|
689
|
+
41</pre>
|
|
690
|
+
</td>
|
|
691
|
+
<td>
|
|
692
|
+
<pre class="code"><span class="info file"># File 'lib/mdarray/function_map.rb', line 39</span>
|
|
693
|
+
|
|
694
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_elmtwise'>elmtwise</span>
|
|
695
|
+
<span class='ivar'>@elmtwise</span>
|
|
696
|
+
<span class='kw'>end</span></pre>
|
|
488
697
|
</td>
|
|
489
698
|
</tr>
|
|
490
699
|
</table>
|
|
@@ -504,7 +713,7 @@
|
|
|
504
713
|
</h3><div class="docstring">
|
|
505
714
|
<div class="discussion">
|
|
506
715
|
|
|
507
|
-
<p>
|
|
716
|
+
<p>function to be applied to elmts</p>
|
|
508
717
|
|
|
509
718
|
|
|
510
719
|
</div>
|
|
@@ -525,10 +734,52 @@
|
|
|
525
734
|
<td>
|
|
526
735
|
<pre class="code"><span class="info file"># File 'lib/mdarray/function_map.rb', line 31</span>
|
|
527
736
|
|
|
528
|
-
<span class='
|
|
529
|
-
<span class='
|
|
530
|
-
<span class='
|
|
531
|
-
</
|
|
737
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_function'>function</span>
|
|
738
|
+
<span class='ivar'>@function</span>
|
|
739
|
+
<span class='kw'>end</span></pre>
|
|
740
|
+
</td>
|
|
741
|
+
</tr>
|
|
742
|
+
</table>
|
|
743
|
+
</div>
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
<span id=""></span>
|
|
747
|
+
<div class="method_details ">
|
|
748
|
+
<h3 class="signature " id="helper-instance_method">
|
|
749
|
+
|
|
750
|
+
- (<tt>Object</tt>) <strong>helper</strong> <span class="extras">(readonly)</span>
|
|
751
|
+
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
</h3><div class="docstring">
|
|
757
|
+
<div class="discussion">
|
|
758
|
+
|
|
759
|
+
<p>Helper method to perform the function</p>
|
|
760
|
+
|
|
761
|
+
|
|
762
|
+
</div>
|
|
763
|
+
</div>
|
|
764
|
+
<div class="tags">
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
</div><table class="source_code">
|
|
768
|
+
<tr>
|
|
769
|
+
<td>
|
|
770
|
+
<pre class="lines">
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
36
|
|
774
|
+
37
|
|
775
|
+
38</pre>
|
|
776
|
+
</td>
|
|
777
|
+
<td>
|
|
778
|
+
<pre class="code"><span class="info file"># File 'lib/mdarray/function_map.rb', line 36</span>
|
|
779
|
+
|
|
780
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_helper'>helper</span>
|
|
781
|
+
<span class='ivar'>@helper</span>
|
|
782
|
+
<span class='kw'>end</span></pre>
|
|
532
783
|
</td>
|
|
533
784
|
</tr>
|
|
534
785
|
</table>
|
|
@@ -569,10 +820,9 @@
|
|
|
569
820
|
<td>
|
|
570
821
|
<pre class="code"><span class="info file"># File 'lib/mdarray/function_map.rb', line 33</span>
|
|
571
822
|
|
|
572
|
-
<span class='
|
|
573
|
-
<span class='
|
|
574
|
-
<span class='
|
|
575
|
-
</pre>
|
|
823
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_input1_type'>input1_type</span>
|
|
824
|
+
<span class='ivar'>@input1_type</span>
|
|
825
|
+
<span class='kw'>end</span></pre>
|
|
576
826
|
</td>
|
|
577
827
|
</tr>
|
|
578
828
|
</table>
|
|
@@ -613,10 +863,52 @@
|
|
|
613
863
|
<td>
|
|
614
864
|
<pre class="code"><span class="info file"># File 'lib/mdarray/function_map.rb', line 34</span>
|
|
615
865
|
|
|
616
|
-
<span class='
|
|
617
|
-
<span class='
|
|
618
|
-
<span class='
|
|
619
|
-
</
|
|
866
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_input2_type'>input2_type</span>
|
|
867
|
+
<span class='ivar'>@input2_type</span>
|
|
868
|
+
<span class='kw'>end</span></pre>
|
|
869
|
+
</td>
|
|
870
|
+
</tr>
|
|
871
|
+
</table>
|
|
872
|
+
</div>
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
<span id=""></span>
|
|
876
|
+
<div class="method_details ">
|
|
877
|
+
<h3 class="signature " id="is_global-instance_method">
|
|
878
|
+
|
|
879
|
+
- (<tt>Object</tt>) <strong>is_global</strong> <span class="extras">(readonly)</span>
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
|
|
885
|
+
</h3><div class="docstring">
|
|
886
|
+
<div class="discussion">
|
|
887
|
+
|
|
888
|
+
<p>Returns the value of attribute is_global</p>
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
</div>
|
|
892
|
+
</div>
|
|
893
|
+
<div class="tags">
|
|
894
|
+
|
|
895
|
+
|
|
896
|
+
</div><table class="source_code">
|
|
897
|
+
<tr>
|
|
898
|
+
<td>
|
|
899
|
+
<pre class="lines">
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
37
|
|
903
|
+
38
|
|
904
|
+
39</pre>
|
|
905
|
+
</td>
|
|
906
|
+
<td>
|
|
907
|
+
<pre class="code"><span class="info file"># File 'lib/mdarray/function_map.rb', line 37</span>
|
|
908
|
+
|
|
909
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_is_global'>is_global</span>
|
|
910
|
+
<span class='ivar'>@is_global</span>
|
|
911
|
+
<span class='kw'>end</span></pre>
|
|
620
912
|
</td>
|
|
621
913
|
</tr>
|
|
622
914
|
</table>
|
|
@@ -636,7 +928,7 @@
|
|
|
636
928
|
</h3><div class="docstring">
|
|
637
929
|
<div class="discussion">
|
|
638
930
|
|
|
639
|
-
<p>
|
|
931
|
+
<p>long name of the function</p>
|
|
640
932
|
|
|
641
933
|
|
|
642
934
|
</div>
|
|
@@ -657,10 +949,9 @@
|
|
|
657
949
|
<td>
|
|
658
950
|
<pre class="code"><span class="info file"># File 'lib/mdarray/function_map.rb', line 29</span>
|
|
659
951
|
|
|
660
|
-
<span class='
|
|
661
|
-
<span class='
|
|
662
|
-
<span class='
|
|
663
|
-
</pre>
|
|
952
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_long_name'>long_name</span>
|
|
953
|
+
<span class='ivar'>@long_name</span>
|
|
954
|
+
<span class='kw'>end</span></pre>
|
|
664
955
|
</td>
|
|
665
956
|
</tr>
|
|
666
957
|
</table>
|
|
@@ -669,9 +960,9 @@
|
|
|
669
960
|
|
|
670
961
|
<span id=""></span>
|
|
671
962
|
<div class="method_details ">
|
|
672
|
-
<h3 class="signature " id="
|
|
963
|
+
<h3 class="signature " id="package-instance_method">
|
|
673
964
|
|
|
674
|
-
- (<tt>Object</tt>) <strong>
|
|
965
|
+
- (<tt>Object</tt>) <strong>package</strong> <span class="extras">(readonly)</span>
|
|
675
966
|
|
|
676
967
|
|
|
677
968
|
|
|
@@ -680,7 +971,7 @@
|
|
|
680
971
|
</h3><div class="docstring">
|
|
681
972
|
<div class="discussion">
|
|
682
973
|
|
|
683
|
-
<p>
|
|
974
|
+
<p>package where the function was implemented</p>
|
|
684
975
|
|
|
685
976
|
|
|
686
977
|
</div>
|
|
@@ -694,17 +985,16 @@
|
|
|
694
985
|
<pre class="lines">
|
|
695
986
|
|
|
696
987
|
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
988
|
+
30
|
|
989
|
+
31
|
|
990
|
+
32</pre>
|
|
700
991
|
</td>
|
|
701
992
|
<td>
|
|
702
|
-
<pre class="code"><span class="info file"># File 'lib/mdarray/function_map.rb', line
|
|
993
|
+
<pre class="code"><span class="info file"># File 'lib/mdarray/function_map.rb', line 30</span>
|
|
703
994
|
|
|
704
|
-
<span class='
|
|
705
|
-
<span class='
|
|
706
|
-
<span class='
|
|
707
|
-
</pre>
|
|
995
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_package'>package</span>
|
|
996
|
+
<span class='ivar'>@package</span>
|
|
997
|
+
<span class='kw'>end</span></pre>
|
|
708
998
|
</td>
|
|
709
999
|
</tr>
|
|
710
1000
|
</table>
|
|
@@ -713,9 +1003,9 @@
|
|
|
713
1003
|
|
|
714
1004
|
<span id=""></span>
|
|
715
1005
|
<div class="method_details ">
|
|
716
|
-
<h3 class="signature " id="
|
|
1006
|
+
<h3 class="signature " id="return_type-instance_method">
|
|
717
1007
|
|
|
718
|
-
- (<tt>Object</tt>) <strong>
|
|
1008
|
+
- (<tt>Object</tt>) <strong>return_type</strong> <span class="extras">(readonly)</span>
|
|
719
1009
|
|
|
720
1010
|
|
|
721
1011
|
|
|
@@ -724,7 +1014,7 @@
|
|
|
724
1014
|
</h3><div class="docstring">
|
|
725
1015
|
<div class="discussion">
|
|
726
1016
|
|
|
727
|
-
<p>Returns the value of attribute
|
|
1017
|
+
<p>Returns the value of attribute return_type</p>
|
|
728
1018
|
|
|
729
1019
|
|
|
730
1020
|
</div>
|
|
@@ -738,17 +1028,16 @@
|
|
|
738
1028
|
<pre class="lines">
|
|
739
1029
|
|
|
740
1030
|
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
1031
|
+
32
|
|
1032
|
+
33
|
|
1033
|
+
34</pre>
|
|
744
1034
|
</td>
|
|
745
1035
|
<td>
|
|
746
|
-
<pre class="code"><span class="info file"># File 'lib/mdarray/function_map.rb', line
|
|
1036
|
+
<pre class="code"><span class="info file"># File 'lib/mdarray/function_map.rb', line 32</span>
|
|
747
1037
|
|
|
748
|
-
<span class='
|
|
749
|
-
<span class='
|
|
750
|
-
<span class='
|
|
751
|
-
</pre>
|
|
1038
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_return_type'>return_type</span>
|
|
1039
|
+
<span class='ivar'>@return_type</span>
|
|
1040
|
+
<span class='kw'>end</span></pre>
|
|
752
1041
|
</td>
|
|
753
1042
|
</tr>
|
|
754
1043
|
</table>
|
|
@@ -768,7 +1057,7 @@
|
|
|
768
1057
|
</h3><div class="docstring">
|
|
769
1058
|
<div class="discussion">
|
|
770
1059
|
|
|
771
|
-
<p>
|
|
1060
|
+
<p>short name of the function</p>
|
|
772
1061
|
|
|
773
1062
|
|
|
774
1063
|
</div>
|
|
@@ -789,10 +1078,9 @@
|
|
|
789
1078
|
<td>
|
|
790
1079
|
<pre class="code"><span class="info file"># File 'lib/mdarray/function_map.rb', line 28</span>
|
|
791
1080
|
|
|
792
|
-
<span class='
|
|
793
|
-
<span class='
|
|
794
|
-
<span class='
|
|
795
|
-
</pre>
|
|
1081
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_short_name'>short_name</span>
|
|
1082
|
+
<span class='ivar'>@short_name</span>
|
|
1083
|
+
<span class='kw'>end</span></pre>
|
|
796
1084
|
</td>
|
|
797
1085
|
</tr>
|
|
798
1086
|
</table>
|
|
@@ -804,9 +1092,9 @@
|
|
|
804
1092
|
</div>
|
|
805
1093
|
|
|
806
1094
|
<div id="footer">
|
|
807
|
-
Generated on
|
|
1095
|
+
Generated on Tue Jul 14 18:09:00 2015 by
|
|
808
1096
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
809
|
-
0.8.
|
|
1097
|
+
0.8.7.6 (ruby-1.9.3).
|
|
810
1098
|
</div>
|
|
811
1099
|
|
|
812
1100
|
</body>
|