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
|
@@ -6,18 +6,18 @@
|
|
|
6
6
|
<title>
|
|
7
7
|
Top Level Namespace
|
|
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#!top-level-namespace.html";
|
|
21
21
|
</script>
|
|
22
22
|
|
|
23
23
|
|
|
@@ -85,15 +85,38 @@
|
|
|
85
85
|
<p class="children">
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
<strong class="modules">Modules:</strong> <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="DDescriptive.html" title="DDescriptive (module)">DDescriptive</a></span>, <span class='object_link'><a href="FunctionCreation.html" title="FunctionCreation (module)">FunctionCreation</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="RubyFunctions.html" title="RubyFunctions (module)">RubyFunctions</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>, <span class='object_link'><a href="UserFunction.html" title="UserFunction (module)">UserFunction</a></span>
|
|
88
|
+
<strong class="modules">Modules:</strong> <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="CernFunctions.html" title="CernFunctions (module)">CernFunctions</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="DDescriptive.html" title="DDescriptive (module)">DDescriptive</a></span>, <span class='object_link'><a href="FunctionCreation.html" title="FunctionCreation (module)">FunctionCreation</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="RubyFunctions.html" title="RubyFunctions (module)">RubyFunctions</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>, <span class='object_link'><a href="UserFunction.html" title="UserFunction (module)">UserFunction</a></span>
|
|
89
89
|
|
|
90
90
|
|
|
91
91
|
|
|
92
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="BinaryOperator.html" title="BinaryOperator (class)">BinaryOperator</a></span>, <span class='object_link'><a href="BooleanMDArray.html" title="BooleanMDArray (class)">BooleanMDArray</a></span>, <span class='object_link'><a href="ByteMDArray.html" title="ByteMDArray (class)">ByteMDArray</a></span>, <span class='object_link'><a href="Colt.html" title="Colt (class)">Colt</a></span>, <span class='object_link'><a href="Const.html" title="Const (class)">Const</a></span>, <span class='object_link'><a href="Csv.html" title="Csv (class)">Csv</a></span>, <span class='object_link'><a href="DoubleMDArray.html" title="DoubleMDArray (class)">DoubleMDArray</a></span>, <span class='object_link'><a href="DoubleStatList.html" title="DoubleStatList (class)">DoubleStatList</a></span>, <span class='object_link'><a href="FastBinaryOperator.html" title="FastBinaryOperator (class)">FastBinaryOperator</a></span>, <span class='object_link'><a href="FastUnaryOperator.html" title="FastUnaryOperator (class)">FastUnaryOperator</a></span>, <span class='object_link'><a href="FloatMDArray.html" title="FloatMDArray (class)">FloatMDArray</a></span>, <span class='object_link'><a href="FunctionMap.html" title="FunctionMap (class)">FunctionMap</a></span>, <span class='object_link'><a href="IntMDArray.html" title="IntMDArray (class)">IntMDArray</a></span>, <span class='object_link'><a href="LongMDArray.html" title="LongMDArray (class)">LongMDArray</a></span>, <span class='object_link'><a href="MDArray.html" title="MDArray (class)">MDArray</a></span>, <span class='object_link'><a href="NonNumericalMDArray.html" title="NonNumericalMDArray (class)">NonNumericalMDArray</a></span>, <span class='object_link'><a href="NumericalMDArray.html" title="NumericalMDArray (class)">NumericalMDArray</a></span>, <span class='object_link'><a href="Operator.html" title="Operator (class)">Operator</a></span>, <span class='object_link'><a href="Proc.html" title="Proc (class)">Proc</a></span>, <span class='object_link'><a href="RubyBinaryOperator.html" title="RubyBinaryOperator (class)">RubyBinaryOperator</a></span>, <span class='object_link'><a href="RubyUnaryOperator.html" title="RubyUnaryOperator (class)">RubyUnaryOperator</a></span>, <span class='object_link'><a href="ShortMDArray.html" title="ShortMDArray (class)">ShortMDArray</a></span>, <span class='object_link'><a href="StatList.html" title="StatList (class)">StatList</a></span>, <span class='object_link'><a href="StringMDArray.html" title="StringMDArray (class)">StringMDArray</a></span>, <span class='object_link'><a href="StructureMDArray.html" title="StructureMDArray (class)">StructureMDArray</a></span>, <span class='object_link'><a href="UnaryOperator.html" title="UnaryOperator (class)">UnaryOperator</a></span>
|
|
92
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="BinaryOperator.html" title="BinaryOperator (class)">BinaryOperator</a></span>, <span class='object_link'><a href="BooleanMDArray.html" title="BooleanMDArray (class)">BooleanMDArray</a></span>, <span class='object_link'><a href="ByteMDArray.html" title="ByteMDArray (class)">ByteMDArray</a></span>, <span class='object_link'><a href="CharMDArray.html" title="CharMDArray (class)">CharMDArray</a></span>, <span class='object_link'><a href="Colt.html" title="Colt (class)">Colt</a></span>, <span class='object_link'><a href="Const.html" title="Const (class)">Const</a></span>, <span class='object_link'><a href="Csv.html" title="Csv (class)">Csv</a></span>, <span class='object_link'><a href="DoubleMDArray.html" title="DoubleMDArray (class)">DoubleMDArray</a></span>, <span class='object_link'><a href="DoubleStatList.html" title="DoubleStatList (class)">DoubleStatList</a></span>, <span class='object_link'><a href="FastBinaryOperator.html" title="FastBinaryOperator (class)">FastBinaryOperator</a></span>, <span class='object_link'><a href="FastUnaryOperator.html" title="FastUnaryOperator (class)">FastUnaryOperator</a></span>, <span class='object_link'><a href="FloatMDArray.html" title="FloatMDArray (class)">FloatMDArray</a></span>, <span class='object_link'><a href="FunctionMap.html" title="FunctionMap (class)">FunctionMap</a></span>, <span class='object_link'><a href="IntMDArray.html" title="IntMDArray (class)">IntMDArray</a></span>, <span class='object_link'><a href="LazyBinaryOperator.html" title="LazyBinaryOperator (class)">LazyBinaryOperator</a></span>, <span class='object_link'><a href="LazyMDArray.html" title="LazyMDArray (class)">LazyMDArray</a></span>, <span class='object_link'><a href="LazyUnaryOperator.html" title="LazyUnaryOperator (class)">LazyUnaryOperator</a></span>, <span class='object_link'><a href="LongMDArray.html" title="LongMDArray (class)">LongMDArray</a></span>, <span class='object_link'><a href="MDArray.html" title="MDArray (class)">MDArray</a></span>, <span class='object_link'><a href="Nashorn.html" title="Nashorn (class)">Nashorn</a></span>, <span class='object_link'><a href="NetCDF.html" title="NetCDF (class)">NetCDF</a></span>, <span class='object_link'><a href="NonNumericalMDArray.html" title="NonNumericalMDArray (class)">NonNumericalMDArray</a></span>, <span class='object_link'><a href="NumericalMDArray.html" title="NumericalMDArray (class)">NumericalMDArray</a></span>, <span class='object_link'><a href="Operator.html" title="Operator (class)">Operator</a></span>, <span class='object_link'><a href="Proc.html" title="Proc (class)">Proc</a></span>, <span class='object_link'><a href="RubyBinaryOperator.html" title="RubyBinaryOperator (class)">RubyBinaryOperator</a></span>, <span class='object_link'><a href="RubyUnaryOperator.html" title="RubyUnaryOperator (class)">RubyUnaryOperator</a></span>, <span class='object_link'><a href="ShortMDArray.html" title="ShortMDArray (class)">ShortMDArray</a></span>, <span class='object_link'><a href="Sol.html" title="Sol (class)">Sol</a></span>, <span class='object_link'><a href="StatList.html" title="StatList (class)">StatList</a></span>, <span class='object_link'><a href="StringMDArray.html" title="StringMDArray (class)">StringMDArray</a></span>, <span class='object_link'><a href="StructureMDArray.html" title="StructureMDArray (class)">StructureMDArray</a></span>, <span class='object_link'><a href="UnaryOperator.html" title="UnaryOperator (class)">UnaryOperator</a></span>
|
|
93
93
|
|
|
94
94
|
|
|
95
95
|
</p>
|
|
96
96
|
|
|
97
|
+
<h2>Constant Summary</h2>
|
|
98
|
+
|
|
99
|
+
<dl class="constants">
|
|
100
|
+
|
|
101
|
+
<dt id="J-constant" class="">J =
|
|
102
|
+
<div class="docstring">
|
|
103
|
+
<div class="discussion">
|
|
104
|
+
|
|
105
|
+
<p>J = Nashorn.new(true)</p>
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
</div>
|
|
109
|
+
</div>
|
|
110
|
+
<div class="tags">
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
</div>
|
|
114
|
+
</dt>
|
|
115
|
+
<dd><pre class="code"><span class='const'>Nashorn</span></pre></dd>
|
|
116
|
+
|
|
117
|
+
</dl>
|
|
118
|
+
|
|
119
|
+
|
|
97
120
|
|
|
98
121
|
|
|
99
122
|
|
|
@@ -105,9 +128,9 @@
|
|
|
105
128
|
</div>
|
|
106
129
|
|
|
107
130
|
<div id="footer">
|
|
108
|
-
Generated on
|
|
131
|
+
Generated on Tue Jul 14 18:08:55 2015 by
|
|
109
132
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
110
|
-
0.8.
|
|
133
|
+
0.8.7.6 (ruby-1.9.3).
|
|
111
134
|
</div>
|
|
112
135
|
|
|
113
136
|
</body>
|
data/lib/colt/matrix/algebra.rb
CHANGED
|
@@ -42,10 +42,10 @@ class Colt
|
|
|
42
42
|
|
|
43
43
|
def mult(other_val, from = 0, length = other_val.size)
|
|
44
44
|
|
|
45
|
-
p "mult"
|
|
46
|
-
@mdarray.print
|
|
47
|
-
other_val.mdarray.print
|
|
48
|
-
printf("\n\n")
|
|
45
|
+
# p "mult"
|
|
46
|
+
# @mdarray.print
|
|
47
|
+
# other_val.mdarray.print
|
|
48
|
+
# printf("\n\n")
|
|
49
49
|
|
|
50
50
|
if (other_val.is_a? Numeric)
|
|
51
51
|
MDMatrix.from_mdarray(@mdarray * other_val)
|
|
@@ -54,7 +54,7 @@ class Colt
|
|
|
54
54
|
MDMatrix
|
|
55
55
|
.from_colt_matrix(other_val.transpose.colt_matrix.zMult(@colt_matrix, nil))
|
|
56
56
|
else
|
|
57
|
-
p "other_val.rank = #{other_val.rank}"
|
|
57
|
+
# p "other_val.rank = #{other_val.rank}"
|
|
58
58
|
@colt_matrix.zDotProduct(other_val.colt_matrix, from, length)
|
|
59
59
|
end
|
|
60
60
|
else
|
data/lib/mdarray.rb
CHANGED
|
@@ -21,8 +21,7 @@
|
|
|
21
21
|
# OR MODIFICATIONS.
|
|
22
22
|
##########################################################################################
|
|
23
23
|
|
|
24
|
-
|
|
25
|
-
require_relative 'env'
|
|
24
|
+
require_relative '../config'
|
|
26
25
|
|
|
27
26
|
##########################################################################################
|
|
28
27
|
# Superclass for implementations of multidimensional arrays. An Array has a classType
|
|
@@ -63,6 +62,8 @@ require_relative 'env'
|
|
|
63
62
|
# Presumably 64-bit CPUs will make those operations atomic also.
|
|
64
63
|
##########################################################################################
|
|
65
64
|
|
|
65
|
+
require 'map'
|
|
66
|
+
|
|
66
67
|
class MDArray
|
|
67
68
|
include_package "ucar.ma2"
|
|
68
69
|
include Enumerable
|
|
@@ -272,6 +273,8 @@ class MDArray
|
|
|
272
273
|
pre_condition = nil, post_condition = nil)
|
|
273
274
|
|
|
274
275
|
define_method(name) do |op2, requested_type = nil, *args|
|
|
276
|
+
# @type will never be "lazy" as support for lazy was removed from this version
|
|
277
|
+
# this was left here if we want to readd suppor for lazy later on.
|
|
275
278
|
if (@type == "lazy" || ((op2.is_a? MDArray) && op2.type == "lazy"))
|
|
276
279
|
binary_op = LazyBinaryOperator
|
|
277
280
|
else
|
|
@@ -480,7 +483,7 @@ require_relative 'mdarray/views'
|
|
|
480
483
|
require_relative 'mdarray/printing'
|
|
481
484
|
require_relative 'mdarray/counter'
|
|
482
485
|
require_relative 'mdarray/ruby_stats'
|
|
483
|
-
require_relative 'mdarray/lazy_mdarray'
|
|
486
|
+
# require_relative 'mdarray/lazy_mdarray'
|
|
484
487
|
require_relative 'mdarray/csv'
|
|
485
488
|
require_relative 'mdarray/section'
|
|
486
489
|
|
data/lib/mdarray/csv.rb
CHANGED
|
@@ -1,12 +1,30 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
|
|
3
|
+
##########################################################################################
|
|
4
|
+
# Copyright © 2013 Rodrigo Botafogo. All Rights Reserved. Permission to use, copy, modify,
|
|
5
|
+
# and distribute this software and its documentation, without fee and without a signed
|
|
6
|
+
# licensing agreement, is hereby granted, provided that the above copyright notice, this
|
|
7
|
+
# paragraph and the following two paragraphs appear in all copies, modifications, and
|
|
8
|
+
# distributions.
|
|
9
|
+
#
|
|
10
|
+
# IN NO EVENT SHALL RODRIGO BOTAFOGO BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL,
|
|
11
|
+
# INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF
|
|
12
|
+
# THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF RODRIGO BOTAFOGO HAS BEEN ADVISED OF THE
|
|
13
|
+
# POSSIBILITY OF SUCH DAMAGE.
|
|
14
|
+
#
|
|
15
|
+
# RODRIGO BOTAFOGO SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
|
16
|
+
# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
|
|
17
|
+
# SOFTWARE AND ACCOMPANYING DOCUMENTATION, IF ANY, PROVIDED HEREUNDER IS PROVIDED "AS IS".
|
|
18
|
+
# RODRIGO BOTAFOGO HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
|
|
19
|
+
# OR MODIFICATIONS.
|
|
20
|
+
##########################################################################################
|
|
21
|
+
|
|
1
22
|
require 'csv'
|
|
23
|
+
# require 'smarter_csv'
|
|
2
24
|
require 'date'
|
|
3
25
|
|
|
4
26
|
class Csv
|
|
5
27
|
|
|
6
|
-
attr_reader :col_sep
|
|
7
|
-
attr_reader :row_sep
|
|
8
|
-
attr_reader :quote_char
|
|
9
|
-
|
|
10
28
|
@epoch = Date.new(1970, 1, 1)
|
|
11
29
|
|
|
12
30
|
class << self
|
|
@@ -20,6 +38,7 @@ class Csv
|
|
|
20
38
|
def self.read_numeric(filename, headers = false)
|
|
21
39
|
|
|
22
40
|
buffer = Array.new
|
|
41
|
+
heading = Array.new
|
|
23
42
|
lines = 0
|
|
24
43
|
columns = nil
|
|
25
44
|
|
|
@@ -30,6 +49,7 @@ class Csv
|
|
|
30
49
|
|
|
31
50
|
if (headers)
|
|
32
51
|
headers = false
|
|
52
|
+
heading << row
|
|
33
53
|
next
|
|
34
54
|
end
|
|
35
55
|
|
|
@@ -54,7 +74,7 @@ class Csv
|
|
|
54
74
|
|
|
55
75
|
end
|
|
56
76
|
|
|
57
|
-
[lines, columns, buffer]
|
|
77
|
+
[lines, columns, buffer, heading]
|
|
58
78
|
|
|
59
79
|
end
|
|
60
80
|
|
|
@@ -200,7 +200,7 @@ class FastUnaryOperator < UnaryOperator
|
|
|
200
200
|
#---------------------------------------------------------------------------------------
|
|
201
201
|
|
|
202
202
|
def default(*args)
|
|
203
|
-
|
|
203
|
+
|
|
204
204
|
calc = nil
|
|
205
205
|
get_args(*args) do |op1, shape, *other_args|
|
|
206
206
|
calc = MDArray.build(@type, shape)
|
|
@@ -26,7 +26,9 @@
|
|
|
26
26
|
module FunctionCreation
|
|
27
27
|
|
|
28
28
|
#------------------------------------------------------------------------------------
|
|
29
|
-
#
|
|
29
|
+
# name is the name of the function being created
|
|
30
|
+
# exec_type is the execution type. The following execution types are defined default
|
|
31
|
+
# in_place, fill and reduce
|
|
30
32
|
#------------------------------------------------------------------------------------
|
|
31
33
|
|
|
32
34
|
def make_binary_op(name, exec_type, func, helper_class, force_type = nil,
|
data/lib/mdarray/hierarchy.rb
CHANGED
data/lib/mdarray/operators.rb
CHANGED
|
@@ -34,7 +34,9 @@ module RubyFunctions
|
|
|
34
34
|
@unary_helper = Java::RbMdarrayLoopsUnops
|
|
35
35
|
|
|
36
36
|
#------------------------------------------------------------------------------------
|
|
37
|
-
#
|
|
37
|
+
# Creates the default and in_place type of methods. The default method will
|
|
38
|
+
# generate a new array as result and the implace method will overwrite the first
|
|
39
|
+
# array with the result.
|
|
38
40
|
#------------------------------------------------------------------------------------
|
|
39
41
|
|
|
40
42
|
def make_binary_operators(name, func, default = true, in_place = true)
|
|
@@ -49,7 +51,7 @@ module RubyFunctions
|
|
|
49
51
|
end
|
|
50
52
|
|
|
51
53
|
#------------------------------------------------------------------------------------
|
|
52
|
-
#
|
|
54
|
+
# Creates a single type of method.
|
|
53
55
|
#------------------------------------------------------------------------------------
|
|
54
56
|
|
|
55
57
|
def make_binary_operator(name, type, func)
|
|
@@ -57,7 +59,9 @@ module RubyFunctions
|
|
|
57
59
|
end
|
|
58
60
|
|
|
59
61
|
#------------------------------------------------------------------------------------
|
|
60
|
-
#
|
|
62
|
+
# Creates the default and in_place type of methods. The default method will
|
|
63
|
+
# generate a new array as result and the implace method will overwrite the first
|
|
64
|
+
# array with the result.
|
|
61
65
|
#------------------------------------------------------------------------------------
|
|
62
66
|
|
|
63
67
|
def make_unary_operators(name, func, default = true, in_place = true)
|
|
@@ -72,7 +76,7 @@ module RubyFunctions
|
|
|
72
76
|
end
|
|
73
77
|
|
|
74
78
|
#------------------------------------------------------------------------------------
|
|
75
|
-
#
|
|
79
|
+
# Creates a single type of method.
|
|
76
80
|
#------------------------------------------------------------------------------------
|
|
77
81
|
|
|
78
82
|
def make_unary_operator(name, type, func)
|
data/lib/mdarray/ruby_math.rb
CHANGED
|
@@ -182,34 +182,6 @@ module RubyMath
|
|
|
182
182
|
@tanh = RubyMath::Tanh
|
|
183
183
|
@neg = RubyMath::Neg
|
|
184
184
|
|
|
185
|
-
=begin
|
|
186
|
-
@acos = Proc.new { |val| Math.acos(val) }
|
|
187
|
-
@acosh = Proc.new { |val| Math.acosh(val) }
|
|
188
|
-
@asin = Proc.new { |val| Math.asin(val) }
|
|
189
|
-
@asinh = Proc.new { |val| Math.asinh(val) }
|
|
190
|
-
@atan = Proc.new { |val| Math.atan(val) }
|
|
191
|
-
@atan2 = Proc.new { |val| Math.atan2(val) }
|
|
192
|
-
@atanh = Proc.new { |val| Math.atanh(val) }
|
|
193
|
-
@cbrt = Proc.new { |val| Math.cbrt(val) }
|
|
194
|
-
@cos = Proc.new { |val| Math.cos(val) }
|
|
195
|
-
@cosh = Proc.new { |val| Math.cosh(val) }
|
|
196
|
-
@erf = Proc.new { |val| Math.erf(val) }
|
|
197
|
-
@erfc = Proc.new { |val| Math.erfc(val) }
|
|
198
|
-
@exp = Proc.new { |val| Math.exp(val) }
|
|
199
|
-
@gamma = Proc.new { |val| Math.gamma(val) }
|
|
200
|
-
@hypot = Proc.new { |val| Math.hypot(val) }
|
|
201
|
-
@ldexp = Proc.new { |val| Math.ldexp(val) }
|
|
202
|
-
@log = Proc.new { |val| Math.log(val) }
|
|
203
|
-
@log10 = Proc.new { |val| Math.log10(val) }
|
|
204
|
-
@log2 = Proc.new { |val| Math.log2(val) }
|
|
205
|
-
@sin = Proc.new { |val| Math.sin(val) }
|
|
206
|
-
@sinh = Proc.new { |val| Math.sinh(val) }
|
|
207
|
-
@sqrt = Proc.new { |val| Math.sqrt(val) }
|
|
208
|
-
@tan = Proc.new { |val| Math.tan(val) }
|
|
209
|
-
@tanh = Proc.new { |val| Math.tanh(val) }
|
|
210
|
-
@neg = Proc.new { |val| -1 * val }
|
|
211
|
-
=end
|
|
212
|
-
|
|
213
185
|
@unary_methods = [:acos, :acosh, :asin, :asinh, :atan, :atan2,
|
|
214
186
|
:atanh, :cbrt, :cos, :erf, :exp, :gamma, :hypot, :ldexp,
|
|
215
187
|
:log, :log10, :log2, :sin, :sinh, :sqrt, :tan, :tanh, :neg]
|
|
@@ -30,10 +30,9 @@ class MDMatrixTest < Test::Unit::TestCase
|
|
|
30
30
|
context "Colt Matrix" do
|
|
31
31
|
|
|
32
32
|
setup do
|
|
33
|
-
|
|
34
33
|
|
|
35
34
|
end
|
|
36
|
-
|
|
35
|
+
|
|
37
36
|
#-------------------------------------------------------------------------------------
|
|
38
37
|
#
|
|
39
38
|
#-------------------------------------------------------------------------------------
|
|
@@ -79,11 +78,12 @@ class MDMatrixTest < Test::Unit::TestCase
|
|
|
79
78
|
assert_raise ( RuntimeError ) { c = a / a }
|
|
80
79
|
assert_raise ( RuntimeError ) { c = a / b }
|
|
81
80
|
|
|
82
|
-
|
|
81
|
+
|
|
82
|
+
# p "Matrix division"
|
|
83
83
|
b.generate_non_singular!
|
|
84
84
|
c = a / b
|
|
85
|
-
c
|
|
86
|
-
|
|
85
|
+
assert_equal(0.2927527646129542, c[0, 0])
|
|
86
|
+
assert_equal(0.026165086887835726, c[3, 3])
|
|
87
87
|
|
|
88
88
|
end
|
|
89
89
|
|
|
@@ -91,6 +91,31 @@ class MDMatrixTest < Test::Unit::TestCase
|
|
|
91
91
|
#
|
|
92
92
|
#-------------------------------------------------------------------------------------
|
|
93
93
|
|
|
94
|
+
should "do float algebra" do
|
|
95
|
+
|
|
96
|
+
a = MDMatrix.float([2, 3], [1.5, 2.7, 3.2, 4.8, 5.9, 6.345])
|
|
97
|
+
a.print
|
|
98
|
+
print "\n"
|
|
99
|
+
p a.class
|
|
100
|
+
print "\n\n"
|
|
101
|
+
|
|
102
|
+
b = MDMatrix.float([3, 1], [4.3456, 5.8878, 6.98766])
|
|
103
|
+
b.print
|
|
104
|
+
print "\n"
|
|
105
|
+
p b.class
|
|
106
|
+
print "\n\n"
|
|
107
|
+
|
|
108
|
+
b = a * b
|
|
109
|
+
b.print
|
|
110
|
+
print "\n"
|
|
111
|
+
p b.class
|
|
112
|
+
|
|
113
|
+
end
|
|
114
|
+
|
|
115
|
+
#-------------------------------------------------------------------------------------
|
|
116
|
+
#
|
|
117
|
+
#-------------------------------------------------------------------------------------
|
|
118
|
+
|
|
94
119
|
should "get and set values for double Matrix" do
|
|
95
120
|
|
|
96
121
|
a = MDMatrix.double([4, 4])
|
|
@@ -180,7 +205,7 @@ class MDMatrixTest < Test::Unit::TestCase
|
|
|
180
205
|
assert_equal(1, arange[1])
|
|
181
206
|
|
|
182
207
|
end
|
|
183
|
-
|
|
208
|
+
#=begin
|
|
184
209
|
#-------------------------------------------------------------------------------------
|
|
185
210
|
#
|
|
186
211
|
#-------------------------------------------------------------------------------------
|
|
@@ -387,7 +412,6 @@ class MDMatrixTest < Test::Unit::TestCase
|
|
|
387
412
|
result.mdarray.print
|
|
388
413
|
|
|
389
414
|
end
|
|
390
|
-
#=end
|
|
391
415
|
|
|
392
416
|
#-------------------------------------------------------------------------------------
|
|
393
417
|
#
|
data/test/complete.rb
CHANGED
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
|
|
22
22
|
$ENVIR = true
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
require_relative '../config'
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
require_relative 'mdarray/test_complete'
|
|
27
|
+
require_relative 'colt/test_complete'
|
|
28
|
+
require_relative 'netcdf/test_complete'
|
|
29
29
|
|
|
30
30
|
# Temporary tests. Remove before shipping!
|
|
31
31
|
|
|
@@ -0,0 +1,249 @@
|
|
|
1
|
+
Symbol;Date;Open;High;Low;Close;Volume;Adj Close
|
|
2
|
+
PETR4;30/12/2014;10.16;10.35;10.02;10.02;27384800;10.02
|
|
3
|
+
PETR4;29/12/2014;10.15;10.54;10.06;10.28;24392000;10.28
|
|
4
|
+
PETR4;26/12/2014;10.87;10.88;10.21;10.3;26848600;10.3
|
|
5
|
+
PETR4;23/12/2014;10.37;10.99;10.19;10.97;44200200;10.97
|
|
6
|
+
PETR4;22/12/2014;9.9;10.32;9.71;10.32;52899900;10.32
|
|
7
|
+
PETR4;19/12/2014;9.95;9.98;9.57;9.83;64103300;9.83
|
|
8
|
+
PETR4;18/12/2014;9.89;10.35;9.38;9.46;87291900;9.46
|
|
9
|
+
PETR4;17/12/2014;9.5;9.86;9.37;9.66;90329100;9.66
|
|
10
|
+
PETR4;16/12/2014;8.6;9.92;8.56;9.38;90069600;9.38
|
|
11
|
+
PETR4;15/12/2014;10.21;10.29;9.18;9.18;98863900;9.18
|
|
12
|
+
PETR4;12/12/2014;10.65;10.69;10.11;10.11;45358700;10.11
|
|
13
|
+
PETR4;11/12/2014;10.9;11.04;10.32;10.82;63596700;10.82
|
|
14
|
+
PETR4;10/12/2014;11.35;11.36;10.82;10.83;50329300;10.83
|
|
15
|
+
PETR4;09/12/2014;11.1;11.39;10.81;11.36;67900300;11.36
|
|
16
|
+
PETR4;08/12/2014;12.15;12.15;11.41;11.5;43629700;11.5
|
|
17
|
+
PETR4;05/12/2014;12.32;12.37;12.05;12.26;29848900;12.26
|
|
18
|
+
PETR4;04/12/2014;12.79;12.79;12.17;12.23;35829500;12.23
|
|
19
|
+
PETR4;03/12/2014;12.26;12.8;12.21;12.73;39296400;12.73
|
|
20
|
+
PETR4;02/12/2014;12.5;12.56;12.09;12.17;482364100;12.17
|
|
21
|
+
PETR4;01/12/2014;12.45;12.54;12.21;12.32;698950600;12.32
|
|
22
|
+
PETR4;28/11/2014;13.45;13.56;12.8;12.84;46109000;12.84
|
|
23
|
+
PETR4;27/11/2014;14.2;14.62;13.33;13.44;54672700;13.44
|
|
24
|
+
PETR4;26/11/2014;14.17;14.17;14.17;14.17;35604600;14.17
|
|
25
|
+
PETR4;25/11/2014;14.44;14.93;13.85;14.15;82863900;14.15
|
|
26
|
+
PETR4;24/11/2014;14.62;15.26;14.08;14.21;70349100;14.21
|
|
27
|
+
PETR4;21/11/2014;13.01;14.43;13.01;14.3;66584900;14.3
|
|
28
|
+
PETR4;19/11/2014;12.4;12.97;12.31;12.78;48829400;12.78
|
|
29
|
+
PETR4;18/11/2014;12.76;12.85;12;12.45;60893000;12.45
|
|
30
|
+
PETR4;17/11/2014;13.07;13.25;12.52;12.6;47504600;12.6
|
|
31
|
+
PETR4;14/11/2014;12.9;13.33;12.85;13.2;52848800;13.2
|
|
32
|
+
PETR4;13/11/2014;14.32;14.37;13.59;13.6;36046700;13.6
|
|
33
|
+
PETR4;12/11/2014;13.97;14.49;13.83;14.11;30597500;14.11
|
|
34
|
+
PETR4;11/11/2014;13.81;14.08;13.67;14;24268300;14
|
|
35
|
+
PETR4;10/11/2014;14.3;14.37;13.92;13.98;35611800;13.98
|
|
36
|
+
PETR4;07/11/2014;14.25;14.63;13.52;14.27;77503900;14.27
|
|
37
|
+
PETR4;06/11/2014;14.28;14.28;13.78;14.06;55337600;14.06
|
|
38
|
+
PETR4;05/11/2014;14.5;14.62;14.33;14.4;37011900;14.4
|
|
39
|
+
PETR4;04/11/2014;15;15.03;14.37;14.82;45408900;14.82
|
|
40
|
+
PETR4;03/11/2014;14.96;15.1;14.55;14.85;44102700;14.85
|
|
41
|
+
PETR4;31/10/2014;14.58;15.28;14.37;15.28;47932400;15.28
|
|
42
|
+
PETR4;30/10/2014;14.6;14.69;14.01;14.32;75048900;14.32
|
|
43
|
+
PETR4;29/10/2014;14.77;14.79;14;14.02;89851000;14.02
|
|
44
|
+
PETR4;28/10/2014;14.9;15.08;14.63;15.03;95132900;15.03
|
|
45
|
+
PETR4;27/10/2014;14.52;14.52;14.52;14.52;215365600;14.52
|
|
46
|
+
PETR4;24/10/2014;15.8;16.89;15.52;16.3;100322000;16.3
|
|
47
|
+
PETR4;23/10/2014;16.37;16.45;15.41;15.41;110386000;15.41
|
|
48
|
+
PETR4;22/10/2014;16.81;17.25;16.38;16.61;62049400;16.61
|
|
49
|
+
PETR4;21/10/2014;16.9;16.9;16.9;16.9;105185600;16.9
|
|
50
|
+
PETR4;20/10/2014;17.98;17.98;17.98;17.98;70794900;17.98
|
|
51
|
+
PETR4;17/10/2014;19.37;19.53;18.65;19.09;69545700;19.09
|
|
52
|
+
PETR4;16/10/2014;19.01;19.5;18.56;18.65;97275600;18.65
|
|
53
|
+
PETR4;15/10/2014;20.6;20.88;19.62;20.15;120546300;20.15
|
|
54
|
+
PETR4;14/10/2014;21.6;21.6;21.6;21.6;80844400;21.6
|
|
55
|
+
PETR4;13/10/2014;21.36;22.42;21.11;22.13;85183400;22.13
|
|
56
|
+
PETR4;10/10/2014;20.05;20.05;20.05;20.05;64882800;20.05
|
|
57
|
+
PETR4;09/10/2014;21.29;21.9;21.14;21.2;82449700;21.2
|
|
58
|
+
PETR4;08/10/2014;21.8;21.85;20.01;20.85;104638500;20.85
|
|
59
|
+
PETR4;07/10/2014;20.85;21.79;20.64;21.21;87446800;21.21
|
|
60
|
+
PETR4;06/10/2014;21.5;21.5;20.09;20.39;114738800;20.39
|
|
61
|
+
PETR4;03/10/2014;17.6;18.52;17.24;18.35;61990800;18.35
|
|
62
|
+
PETR4;02/10/2014;17.4;17.72;16.86;17.3;65399500;17.3
|
|
63
|
+
PETR4;01/10/2014;17.7;17.86;17.01;17.09;79170700;17.09
|
|
64
|
+
PETR4;30/09/2014;18.49;18.65;17.75;18.09;81971800;18.09
|
|
65
|
+
PETR4;29/09/2014;19.02;19.25;18.54;18.6;94418600;18.6
|
|
66
|
+
PETR4;26/09/2014;19.9;21.24;19.8;20.94;43234500;20.94
|
|
67
|
+
PETR4;25/09/2014;20.29;20.4;19.83;19.84;26626600;19.84
|
|
68
|
+
PETR4;24/09/2014;19.95;20.61;19.84;20.23;38247100;20.23
|
|
69
|
+
PETR4;23/09/2014;20.1;21;19.9;20.13;54737800;20.13
|
|
70
|
+
PETR4;22/09/2014;20.45;20.6;19.68;20.59;66535200;20.59
|
|
71
|
+
PETR4;19/09/2014;21;21.38;20.69;20.91;37077100;20.91
|
|
72
|
+
PETR4;18/09/2014;21.85;22.12;21.18;21.29;57148100;21.29
|
|
73
|
+
PETR4;17/09/2014;22.33;22.53;21.86;22.12;54823000;22.12
|
|
74
|
+
PETR4;16/09/2014;20.76;22.38;20.7;21.55;99328900;21.55
|
|
75
|
+
PETR4;15/09/2014;20.25;20.66;20.06;20.55;53328400;20.55
|
|
76
|
+
PETR4;12/09/2014;20.87;21;19.85;20.14;82475400;20.14
|
|
77
|
+
PETR4;11/09/2014;21.18;21.73;21;21.21;51526700;21.21
|
|
78
|
+
PETR4;10/09/2014;21.16;21.48;20.6;20.95;61903500;20.95
|
|
79
|
+
PETR4;09/09/2014;21.51;22.19;21.12;21.48;71764400;21.48
|
|
80
|
+
PETR4;08/09/2014;23.42;23.68;21.5;21.7;79759300;21.7
|
|
81
|
+
PETR4;05/09/2014;22.75;23.3;22.43;22.82;54256100;22.82
|
|
82
|
+
PETR4;04/09/2014;23.09;24;22.7;22.79;66914600;22.79
|
|
83
|
+
PETR4;03/09/2014;24.84;24.88;23.6;23.95;60151400;23.95
|
|
84
|
+
PETR4;02/09/2014;24;24.9;23.4;24.56;67713100;24.56
|
|
85
|
+
PETR4;01/09/2014;23.95;24.59;23.66;23.83;40238800;23.83
|
|
86
|
+
PETR4;29/08/2014;23.15;23.59;22.6;23.36;56848900;23.36
|
|
87
|
+
PETR4;28/08/2014;22.69;23.33;22.55;22.8;57631800;22.8
|
|
88
|
+
PETR4;27/08/2014;22.15;23.21;21.9;22.84;73536500;22.84
|
|
89
|
+
PETR4;26/08/2014;22.03;22.52;21.78;21.84;52291300;21.84
|
|
90
|
+
PETR4;25/08/2014;21.22;22.07;21.12;22.04;45475600;22.04
|
|
91
|
+
PETR4;22/08/2014;21.14;21.32;20.73;20.92;34438300;20.92
|
|
92
|
+
PETR4;21/08/2014;21.25;21.67;21.07;21.3;40823700;21.3
|
|
93
|
+
PETR4;20/08/2014;20.8;21.49;20.71;21.36;54453400;21.36
|
|
94
|
+
PETR4;19/08/2014;20.21;20.99;20.17;20.91;43132900;20.91
|
|
95
|
+
PETR4;18/08/2014;20.55;20.73;19.82;20.4;66860700;20.4
|
|
96
|
+
PETR4;15/08/2014;18.9;20.1;18.9;20.06;63042700;20.06
|
|
97
|
+
PETR4;14/08/2014;18.68;19.05;18.33;18.6;45332400;18.6
|
|
98
|
+
PETR4;13/08/2014;19.75;19.93;18.5;18.69;100212700;18.69
|
|
99
|
+
PETR4;12/08/2014;20.09;20.29;19.57;19.67;30507300;19.67
|
|
100
|
+
PETR4;11/08/2014;19.37;20.2;19.22;20.14;35596700;20.14
|
|
101
|
+
PETR4;08/08/2014;19.8;19.86;19.25;19.31;41930500;19.31
|
|
102
|
+
PETR4;07/08/2014;20.6;20.69;19.88;20.15;54256300;20.15
|
|
103
|
+
PETR4;06/08/2014;19.84;20.54;19.67;20.31;72879400;20.31
|
|
104
|
+
PETR4;05/08/2014;19.46;20.09;19.3;19.7;53674100;19.7
|
|
105
|
+
PETR4;04/08/2014;19.15;19.56;18.87;19.45;22501200;19.45
|
|
106
|
+
PETR4;01/08/2014;19.01;19.21;18.72;19;30658500;19
|
|
107
|
+
PETR4;31/07/2014;19.6;19.65;19.01;19.1;36467700;19.1
|
|
108
|
+
PETR4;30/07/2014;19.7;20.05;19.63;19.85;28062900;19.85
|
|
109
|
+
PETR4;29/07/2014;20.1;20.12;19.56;19.62;38234000;19.62
|
|
110
|
+
PETR4;28/07/2014;20.57;20.6;20.09;20.15;24552600;20.15
|
|
111
|
+
PETR4;25/07/2014;20.41;20.57;20.28;20.49;25149900;20.49
|
|
112
|
+
PETR4;24/07/2014;20.36;20.44;19.95;20.31;37644700;20.31
|
|
113
|
+
PETR4;23/07/2014;20.56;20.74;20.17;20.26;42981200;20.26
|
|
114
|
+
PETR4;22/07/2014;20.9;21.23;20.56;21.05;62443400;21.05
|
|
115
|
+
PETR4;21/07/2014;20.43;21.02;20.26;20.9;44723800;20.9
|
|
116
|
+
PETR4;18/07/2014;20.81;20.87;20.15;20.52;90435000;20.52
|
|
117
|
+
PETR4;17/07/2014;19.2;19.92;19.12;19.56;57411200;19.56
|
|
118
|
+
PETR4;16/07/2014;19.35;19.39;19.08;19.31;27591400;19.31
|
|
119
|
+
PETR4;15/07/2014;19.1;19.37;18.83;19.26;43433200;19.26
|
|
120
|
+
PETR4;14/07/2014;18.48;19.18;18.42;19.1;70399100;19.1
|
|
121
|
+
PETR4;11/07/2014;18.07;18.32;17.8;18.24;20928900;18.24
|
|
122
|
+
PETR4;10/07/2014;17.78;18.17;17.62;18.11;35913600;18.11
|
|
123
|
+
PETR4;08/07/2014;17.36;17.42;17.17;17.33;11504900;17.33
|
|
124
|
+
PETR4;07/07/2014;17.41;17.44;17.14;17.32;18701200;17.32
|
|
125
|
+
PETR4;04/07/2014;17.43;17.55;17.35;17.5;9431900;17.5
|
|
126
|
+
PETR4;03/07/2014;16.9;17.53;16.85;17.5;26634700;17.5
|
|
127
|
+
PETR4;02/07/2014;17.19;17.33;16.97;17.12;28670600;17.12
|
|
128
|
+
PETR4;01/07/2014;17.35;17.45;16.92;17.19;22945200;17.19
|
|
129
|
+
PETR4;30/06/2014;17.36;17.55;17.04;17.29;20962900;17.29
|
|
130
|
+
PETR4;27/06/2014;17.25;17.39;17.1;17.2;16716300;17.2
|
|
131
|
+
PETR4;26/06/2014;17.47;17.57;17.01;17.32;23470100;17.32
|
|
132
|
+
PETR4;25/06/2014;17.2;17.77;17.13;17.29;48346300;17.29
|
|
133
|
+
PETR4;24/06/2014;18.29;18.89;17.49;17.64;53971000;17.64
|
|
134
|
+
PETR4;23/06/2014;18.75;18.75;18.3;18.3;14243200;18.3
|
|
135
|
+
PETR4;20/06/2014;18.65;18.99;18.58;18.7;22486300;18.7
|
|
136
|
+
PETR4;18/06/2014;18.41;19.03;18.25;19;43019700;19
|
|
137
|
+
PETR4;17/06/2014;18.65;18.68;18.2;18.32;18040600;18.32
|
|
138
|
+
PETR4;16/06/2014;19;19.13;18.64;18.74;30910300;18.74
|
|
139
|
+
PETR4;13/06/2014;18.63;19.07;18.61;18.99;28004000;18.99
|
|
140
|
+
PETR4;11/06/2014;18.7;18.96;18.3;18.88;48370800;18.88
|
|
141
|
+
PETR4;10/06/2014;18.04;18.67;17.81;18.34;35832900;18.34
|
|
142
|
+
PETR4;09/06/2014;17.57;18.24;17.38;18.07;47362400;18.07
|
|
143
|
+
PETR4;06/06/2014;17.38;17.68;17.11;17.68;55365700;17.68
|
|
144
|
+
PETR4;05/06/2014;16.71;16.83;16.29;16.32;23391100;16.32
|
|
145
|
+
PETR4;04/06/2014;16.85;16.93;16.52;16.6;20905900;16.6
|
|
146
|
+
PETR4;03/06/2014;16.53;16.96;16.47;16.9;20600300;16.9
|
|
147
|
+
PETR4;02/06/2014;16.8;16.87;16.38;16.6;26475500;16.6
|
|
148
|
+
PETR4;30/05/2014;17.18;17.25;16.62;16.65;25975000;16.65
|
|
149
|
+
PETR4;29/05/2014;17.75;17.8;17.29;17.3;19559700;17.3
|
|
150
|
+
PETR4;28/05/2014;17.55;17.79;17.26;17.7;22457200;17.7
|
|
151
|
+
PETR4;27/05/2014;17.93;18.03;17.41;17.49;23285500;17.49
|
|
152
|
+
PETR4;26/05/2014;17.8;17.91;17.71;17.86;7387500;17.86
|
|
153
|
+
PETR4;23/05/2014;17.58;17.83;17.55;17.7;18155800;17.7
|
|
154
|
+
PETR4;22/05/2014;17.51;17.77;17.34;17.65;32321300;17.65
|
|
155
|
+
PETR4;21/05/2014;17.46;17.82;17.1;17.46;40672100;17.46
|
|
156
|
+
PETR4;20/05/2014;17.9;18.38;17.1;17.3;54506300;17.3
|
|
157
|
+
PETR4;19/05/2014;17.98;18.04;17.82;17.94;25935900;17.94
|
|
158
|
+
PETR4;16/05/2014;18;18.37;17.91;18.05;26139800;18.05
|
|
159
|
+
PETR4;15/05/2014;18.17;18.23;17.93;18.03;20492100;18.03
|
|
160
|
+
PETR4;14/05/2014;17.96;18.34;17.85;18.29;23462900;18.29
|
|
161
|
+
PETR4;13/05/2014;18;18.4;17.86;17.96;27465400;17.96
|
|
162
|
+
PETR4;12/05/2014;17.95;18.1;17.77;18.03;20657400;18.03
|
|
163
|
+
PETR4;09/05/2014;18.05;18.24;17.6;17.67;34395600;17.67
|
|
164
|
+
PETR4;08/05/2014;18.6;18.8;17.75;17.88;53471600;17.88
|
|
165
|
+
PETR4;07/05/2014;18.14;18.85;18.07;18.58;44239500;18.58
|
|
166
|
+
PETR4;06/05/2014;17.43;18.48;17.31;18.24;48256400;18.24
|
|
167
|
+
PETR4;05/05/2014;17.65;17.77;17.31;17.57;35540000;17.57
|
|
168
|
+
PETR4;02/05/2014;16.55;17.73;16.51;17.6;52627500;17.6
|
|
169
|
+
PETR4;30/04/2014;16.6;16.74;16.39;16.56;27166100;16.56
|
|
170
|
+
PETR4;29/04/2014;16.68;17.1;16.51;16.69;42027100;16.69
|
|
171
|
+
PETR4;28/04/2014;15.95;16.57;15.77;16.56;31782200;16.56
|
|
172
|
+
PETR4;25/04/2014;15.95;16.06;15.65;16.03;31426800;16.03
|
|
173
|
+
PETR4;24/04/2014;16.2;16.33;15.87;16.13;30473600;16.13
|
|
174
|
+
PETR4;23/04/2014;15.97;16.07;15.75;16.03;22259300;16.03
|
|
175
|
+
PETR4;22/04/2014;16.31;16.67;15.84;15.96;44896500;15.96
|
|
176
|
+
PETR4;17/04/2014;15.9;16.6;15.54;16.38;44689200;16.38
|
|
177
|
+
PETR4;16/04/2014;15.59;15.78;15.24;15.78;28674000;15.78
|
|
178
|
+
PETR4;15/04/2014;15.76;16.09;15.13;15.32;35870400;15.32
|
|
179
|
+
PETR4;14/04/2014;16.28;16.36;15.83;15.93;26799700;15.93
|
|
180
|
+
PETR4;11/04/2014;15.53;16.2;15.41;16.19;42898300;16.19
|
|
181
|
+
PETR4;10/04/2014;15.66;16.05;15.55;15.68;27907900;15.68
|
|
182
|
+
PETR4;09/04/2014;15.91;15.94;15.42;15.85;41775400;15.85
|
|
183
|
+
PETR4;08/04/2014;16.8;17.07;15.72;15.99;69307600;15.99
|
|
184
|
+
PETR4;07/04/2014;15.7;16.46;15.7;16.46;50400200;16.46
|
|
185
|
+
PETR4;04/04/2014;15.62;15.71;15.35;15.44;33173500;15.44
|
|
186
|
+
PETR4;03/04/2014;15.53;15.65;15.12;15.4;56189100;15.4
|
|
187
|
+
PETR4;02/04/2014;15.71;16.6;15.7;16.6;66007000;15.6328
|
|
188
|
+
PETR4;01/04/2014;15.72;15.85;15.48;15.81;36206100;14.88883
|
|
189
|
+
PETR4;31/03/2014;15.71;15.79;15.5;15.78;28288900;14.86058
|
|
190
|
+
PETR4;28/03/2014;15.57;15.77;15.2;15.66;42344400;14.74757
|
|
191
|
+
PETR4;27/03/2014;14.39;15.58;14.32;15.57;77808100;14.66281
|
|
192
|
+
PETR4;26/03/2014;14.55;14.69;14.35;14.4;29664700;13.56098
|
|
193
|
+
PETR4;25/03/2014;14.26;14.6;14.13;14.48;40256700;13.63632
|
|
194
|
+
PETR4;24/03/2014;14.17;14.43;13.87;14.4;34293400;13.56098
|
|
195
|
+
PETR4;21/03/2014;13.45;14.15;13.45;14.02;49269400;13.20312
|
|
196
|
+
PETR4;20/03/2014;13.23;14.04;13.16;13.99;58253000;13.17487
|
|
197
|
+
PETR4;19/03/2014;12.95;13.53;12.93;13.34;51670900;12.56274
|
|
198
|
+
PETR4;18/03/2014;12.64;13.05;12.57;12.97;45126500;12.2143
|
|
199
|
+
PETR4;17/03/2014;12.88;12.96;12.55;12.57;39457400;11.83761
|
|
200
|
+
PETR4;14/03/2014;13.08;13.12;12.77;12.78;34674800;12.03537
|
|
201
|
+
PETR4;13/03/2014;13.39;13.48;13.03;13.11;22769800;12.34615
|
|
202
|
+
PETR4;12/03/2014;13.11;13.46;13.08;13.32;42963100;12.54391
|
|
203
|
+
PETR4;11/03/2014;13.06;13.17;12.96;13.11;37605100;12.34615
|
|
204
|
+
PETR4;10/03/2014;13.27;13.37;12.9;13.01;39540700;12.25197
|
|
205
|
+
PETR4;07/03/2014;13.43;13.62;13.21;13.32;33482800;12.54391
|
|
206
|
+
PETR4;06/03/2014;13.42;13.72;13.31;13.43;29223600;12.6475
|
|
207
|
+
PETR4;05/03/2014;13.7;13.73;13.28;13.29;15287200;12.51566
|
|
208
|
+
PETR4;28/02/2014;14.1;14.15;13.58;13.59;28318200;12.79818
|
|
209
|
+
PETR4;27/02/2014;13.82;14.1;13.65;14.04;23575900;13.22196
|
|
210
|
+
PETR4;26/02/2014;14.2;14.25;13.68;13.68;45181500;12.88293
|
|
211
|
+
PETR4;25/02/2014;14.45;14.67;14.11;14.18;35828100;13.3538
|
|
212
|
+
PETR4;24/02/2014;14.11;14.57;14.01;14.5;20993900;13.65516
|
|
213
|
+
PETR4;21/02/2014;14.2;14.32;14.07;14.15;18689200;13.32555
|
|
214
|
+
PETR4;20/02/2014;14.06;14.34;13.98;14.16;24473700;13.33497
|
|
215
|
+
PETR4;19/02/2014;14.02;14.2;13.88;14.2;28362700;13.37264
|
|
216
|
+
PETR4;18/02/2014;14.42;14.58;14.11;14.11;31555400;13.28788
|
|
217
|
+
PETR4;17/02/2014;14.65;14.7;14.31;14.43;13181700;13.58924
|
|
218
|
+
PETR4;14/02/2014;14.71;14.71;14.47;14.58;27084100;13.7305
|
|
219
|
+
PETR4;13/02/2014;14.78;14.83;14.44;14.61;28201900;13.75875
|
|
220
|
+
PETR4;12/02/2014;15.08;15.1;14.78;14.96;23713700;14.08836
|
|
221
|
+
PETR4;11/02/2014;14.71;15.07;14.64;14.96;28992000;14.08836
|
|
222
|
+
PETR4;10/02/2014;14.36;14.7;14.33;14.61;29123100;13.75875
|
|
223
|
+
PETR4;07/02/2014;14.27;14.55;14.16;14.45;34263100;13.60807
|
|
224
|
+
PETR4;06/02/2014;13.94;14.36;13.88;14.21;32126900;13.38205
|
|
225
|
+
PETR4;05/02/2014;14.15;14.28;13.56;13.83;39232600;13.02419
|
|
226
|
+
PETR4;04/02/2014;14.04;14.22;13.77;14.09;36400300;13.26905
|
|
227
|
+
PETR4;03/02/2014;14.59;14.63;13.8;13.85;51667600;13.04303
|
|
228
|
+
PETR4;31/01/2014;14.64;15.07;14.55;14.7;49314200;13.8435
|
|
229
|
+
PETR4;30/01/2014;14.88;15.1;14.63;14.7;25607800;13.8435
|
|
230
|
+
PETR4;29/01/2014;15.06;15.14;14.7;14.8;25561100;13.93768
|
|
231
|
+
PETR4;28/01/2014;15.36;15.44;15.02;15.05;22373700;14.17311
|
|
232
|
+
PETR4;27/01/2014;15.21;15.29;15.04;15.11;20818700;14.22962
|
|
233
|
+
PETR4;24/01/2014;15.38;15.44;14.98;15.1;27964100;14.2202
|
|
234
|
+
PETR4;23/01/2014;15.67;15.91;15.46;15.47;24150400;14.56864
|
|
235
|
+
PETR4;22/01/2014;15.42;15.9;15.27;15.84;44870600;14.91708
|
|
236
|
+
PETR4;21/01/2014;15.22;15.5;15.2;15.34;19893400;14.44621
|
|
237
|
+
PETR4;20/01/2014;15.45;15.61;15.14;15.18;17725000;14.29554
|
|
238
|
+
PETR4;17/01/2014;15.72;15.77;15.45;15.51;22865900;14.60631
|
|
239
|
+
PETR4;16/01/2014;16.04;16.19;15.57;15.59;32946000;14.68165
|
|
240
|
+
PETR4;15/01/2014;15.79;16.15;15.69;16.04;25748600;15.10543
|
|
241
|
+
PETR4;14/01/2014;15.71;15.87;15.62;15.7;16339200;14.78524
|
|
242
|
+
PETR4;13/01/2014;16.01;16.11;15.64;15.77;21660900;14.85116
|
|
243
|
+
PETR4;10/01/2014;15.76;16.3;15.66;15.97;30221300;15.03951
|
|
244
|
+
PETR4;09/01/2014;16.19;16.29;15.65;15.7;25871700;14.78524
|
|
245
|
+
PETR4;08/01/2014;16.27;16.39;16.14;16.19;15874600;15.24669
|
|
246
|
+
PETR4;07/01/2014;16.65;16.83;16.12;16.16;19052500;15.21844
|
|
247
|
+
PETR4;06/01/2014;16.45;16.64;16.16;16.62;20526500;15.65164
|
|
248
|
+
PETR4;03/01/2014;16.74;16.78;16.41;16.5;17837600;15.53863
|
|
249
|
+
PETR4;02/01/2014;17.15;17.2;16.65;16.75;17284800;15.77406
|