numo-narray 0.9.0.1-x86-mingw32
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 +7 -0
 - data/Gemfile +4 -0
 - data/README.md +47 -0
 - data/Rakefile +41 -0
 - data/ext/numo/narray/SFMT-params.h +97 -0
 - data/ext/numo/narray/SFMT-params19937.h +46 -0
 - data/ext/numo/narray/SFMT.c +620 -0
 - data/ext/numo/narray/SFMT.h +157 -0
 - data/ext/numo/narray/array.c +525 -0
 - data/ext/numo/narray/data.c +901 -0
 - data/ext/numo/narray/depend.erb +33 -0
 - data/ext/numo/narray/extconf.rb +117 -0
 - data/ext/numo/narray/gen/bit.erb.c +811 -0
 - data/ext/numo/narray/gen/cogen.rb +18 -0
 - data/ext/numo/narray/gen/def/dcomplex.rb +32 -0
 - data/ext/numo/narray/gen/def/dfloat.rb +30 -0
 - data/ext/numo/narray/gen/def/int16.rb +29 -0
 - data/ext/numo/narray/gen/def/int32.rb +29 -0
 - data/ext/numo/narray/gen/def/int64.rb +29 -0
 - data/ext/numo/narray/gen/def/int8.rb +29 -0
 - data/ext/numo/narray/gen/def/robject.rb +30 -0
 - data/ext/numo/narray/gen/def/scomplex.rb +32 -0
 - data/ext/numo/narray/gen/def/sfloat.rb +30 -0
 - data/ext/numo/narray/gen/def/uint16.rb +29 -0
 - data/ext/numo/narray/gen/def/uint32.rb +29 -0
 - data/ext/numo/narray/gen/def/uint64.rb +29 -0
 - data/ext/numo/narray/gen/def/uint8.rb +29 -0
 - data/ext/numo/narray/gen/dtype.erb.c +328 -0
 - data/ext/numo/narray/gen/tmpl/accum.c +36 -0
 - data/ext/numo/narray/gen/tmpl/accum_binary.c +75 -0
 - data/ext/numo/narray/gen/tmpl/accum_index.c +58 -0
 - data/ext/numo/narray/gen/tmpl/allocate.c +35 -0
 - data/ext/numo/narray/gen/tmpl/aref.c +51 -0
 - data/ext/numo/narray/gen/tmpl/aset.c +61 -0
 - data/ext/numo/narray/gen/tmpl/binary.c +53 -0
 - data/ext/numo/narray/gen/tmpl/binary2.c +55 -0
 - data/ext/numo/narray/gen/tmpl/binary_s.c +34 -0
 - data/ext/numo/narray/gen/tmpl/bit_binary.c +94 -0
 - data/ext/numo/narray/gen/tmpl/bit_count.c +82 -0
 - data/ext/numo/narray/gen/tmpl/bit_unary.c +77 -0
 - data/ext/numo/narray/gen/tmpl/cast.c +37 -0
 - data/ext/numo/narray/gen/tmpl/cast_array.c +79 -0
 - data/ext/numo/narray/gen/tmpl/cast_numeric.c +22 -0
 - data/ext/numo/narray/gen/tmpl/coerce_cast.c +8 -0
 - data/ext/numo/narray/gen/tmpl/cond_binary.c +51 -0
 - data/ext/numo/narray/gen/tmpl/cond_unary.c +45 -0
 - data/ext/numo/narray/gen/tmpl/cum.c +42 -0
 - data/ext/numo/narray/gen/tmpl/each.c +43 -0
 - data/ext/numo/narray/gen/tmpl/each_with_index.c +64 -0
 - data/ext/numo/narray/gen/tmpl/extract.c +23 -0
 - data/ext/numo/narray/gen/tmpl/eye.c +91 -0
 - data/ext/numo/narray/gen/tmpl/fill.c +38 -0
 - data/ext/numo/narray/gen/tmpl/format.c +60 -0
 - data/ext/numo/narray/gen/tmpl/format_to_a.c +47 -0
 - data/ext/numo/narray/gen/tmpl/head.c +25 -0
 - data/ext/numo/narray/gen/tmpl/inspect.c +16 -0
 - data/ext/numo/narray/gen/tmpl/map_with_index.c +94 -0
 - data/ext/numo/narray/gen/tmpl/median.c +44 -0
 - data/ext/numo/narray/gen/tmpl/minmax.c +47 -0
 - data/ext/numo/narray/gen/tmpl/poly.c +49 -0
 - data/ext/numo/narray/gen/tmpl/pow.c +74 -0
 - data/ext/numo/narray/gen/tmpl/powint.c +17 -0
 - data/ext/numo/narray/gen/tmpl/qsort.c +149 -0
 - data/ext/numo/narray/gen/tmpl/rand.c +33 -0
 - data/ext/numo/narray/gen/tmpl/rand_norm.c +46 -0
 - data/ext/numo/narray/gen/tmpl/robj_allocate.c +32 -0
 - data/ext/numo/narray/gen/tmpl/seq.c +61 -0
 - data/ext/numo/narray/gen/tmpl/set2.c +56 -0
 - data/ext/numo/narray/gen/tmpl/sort.c +36 -0
 - data/ext/numo/narray/gen/tmpl/sort_index.c +86 -0
 - data/ext/numo/narray/gen/tmpl/store.c +31 -0
 - data/ext/numo/narray/gen/tmpl/store_array.c +5 -0
 - data/ext/numo/narray/gen/tmpl/store_from.c +53 -0
 - data/ext/numo/narray/gen/tmpl/store_numeric.c +22 -0
 - data/ext/numo/narray/gen/tmpl/to_a.c +41 -0
 - data/ext/numo/narray/gen/tmpl/unary.c +58 -0
 - data/ext/numo/narray/gen/tmpl/unary2.c +58 -0
 - data/ext/numo/narray/gen/tmpl/unary_s.c +57 -0
 - data/ext/numo/narray/index.c +822 -0
 - data/ext/numo/narray/kwarg.c +79 -0
 - data/ext/numo/narray/math.c +140 -0
 - data/ext/numo/narray/narray.c +1539 -0
 - data/ext/numo/narray/ndloop.c +1928 -0
 - data/ext/numo/narray/numo/compat.h +23 -0
 - data/ext/numo/narray/numo/intern.h +112 -0
 - data/ext/numo/narray/numo/narray.h +411 -0
 - data/ext/numo/narray/numo/ndloop.h +99 -0
 - data/ext/numo/narray/numo/template.h +140 -0
 - data/ext/numo/narray/numo/types/bit.h +19 -0
 - data/ext/numo/narray/numo/types/complex.h +410 -0
 - data/ext/numo/narray/numo/types/complex_macro.h +205 -0
 - data/ext/numo/narray/numo/types/dcomplex.h +11 -0
 - data/ext/numo/narray/numo/types/dfloat.h +12 -0
 - data/ext/numo/narray/numo/types/float_def.h +34 -0
 - data/ext/numo/narray/numo/types/float_macro.h +277 -0
 - data/ext/numo/narray/numo/types/int16.h +12 -0
 - data/ext/numo/narray/numo/types/int32.h +12 -0
 - data/ext/numo/narray/numo/types/int64.h +12 -0
 - data/ext/numo/narray/numo/types/int8.h +12 -0
 - data/ext/numo/narray/numo/types/int_macro.h +34 -0
 - data/ext/numo/narray/numo/types/robj_macro.h +218 -0
 - data/ext/numo/narray/numo/types/robject.h +21 -0
 - data/ext/numo/narray/numo/types/scomplex.h +11 -0
 - data/ext/numo/narray/numo/types/sfloat.h +13 -0
 - data/ext/numo/narray/numo/types/uint16.h +12 -0
 - data/ext/numo/narray/numo/types/uint32.h +12 -0
 - data/ext/numo/narray/numo/types/uint64.h +12 -0
 - data/ext/numo/narray/numo/types/uint8.h +12 -0
 - data/ext/numo/narray/numo/types/uint_macro.h +31 -0
 - data/ext/numo/narray/numo/types/xint_macro.h +133 -0
 - data/ext/numo/narray/rand.c +87 -0
 - data/ext/numo/narray/step.c +506 -0
 - data/ext/numo/narray/struct.c +872 -0
 - data/lib/2.1/numo/narray.so +0 -0
 - data/lib/2.2/numo/narray.so +0 -0
 - data/lib/2.3/numo/narray.so +0 -0
 - data/lib/erbpp/line_number.rb +126 -0
 - data/lib/erbpp/narray_def.rb +338 -0
 - data/lib/erbpp.rb +286 -0
 - data/lib/numo/narray.rb +6 -0
 - data/numo-narray.gemspec +35 -0
 - data/spec/bit_spec.rb +93 -0
 - data/spec/narray_spec.rb +249 -0
 - metadata +238 -0
 
| 
         @@ -0,0 +1,18 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            #! /usr/bin/env ruby
         
     | 
| 
      
 2 
     | 
    
         
            +
             
     | 
| 
      
 3 
     | 
    
         
            +
            libpath = File.absolute_path(File.dirname(__FILE__))+"/../../../../lib"
         
     | 
| 
      
 4 
     | 
    
         
            +
            $LOAD_PATH.unshift libpath
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            require "erbpp/narray_def"
         
     | 
| 
      
 7 
     | 
    
         
            +
            if ARGV[0] == "-l"
         
     | 
| 
      
 8 
     | 
    
         
            +
              require "erbpp/line_number"
         
     | 
| 
      
 9 
     | 
    
         
            +
              ARGV.shift
         
     | 
| 
      
 10 
     | 
    
         
            +
            end
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            unless (1..2) === ARGV.size
         
     | 
| 
      
 13 
     | 
    
         
            +
              puts "usage:\n  ruby #{$0} [-l] erb_path [type_file]"
         
     | 
| 
      
 14 
     | 
    
         
            +
              exit 1
         
     | 
| 
      
 15 
     | 
    
         
            +
            end
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            erb_path, type_file = ARGV
         
     | 
| 
      
 18 
     | 
    
         
            +
            DataType.new(erb_path, type_file).run
         
     | 
| 
         @@ -0,0 +1,32 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            class_name      "DComplex"
         
     | 
| 
      
 2 
     | 
    
         
            +
            class_alias     "Complex128"
         
     | 
| 
      
 3 
     | 
    
         
            +
            ctype           "dcomplex"
         
     | 
| 
      
 4 
     | 
    
         
            +
            real_class_name "DFloat"
         
     | 
| 
      
 5 
     | 
    
         
            +
            real_ctype      "double"
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            has_math      true
         
     | 
| 
      
 8 
     | 
    
         
            +
            is_bit        false
         
     | 
| 
      
 9 
     | 
    
         
            +
            is_int        false
         
     | 
| 
      
 10 
     | 
    
         
            +
            is_float      true
         
     | 
| 
      
 11 
     | 
    
         
            +
            is_real       false
         
     | 
| 
      
 12 
     | 
    
         
            +
            is_complex    true
         
     | 
| 
      
 13 
     | 
    
         
            +
            is_object     false
         
     | 
| 
      
 14 
     | 
    
         
            +
            is_comparable false
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            upcast_rb "Integer"
         
     | 
| 
      
 17 
     | 
    
         
            +
            upcast_rb "Float"
         
     | 
| 
      
 18 
     | 
    
         
            +
            upcast_rb "Complex"
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            upcast "RObject",  "RObject"
         
     | 
| 
      
 21 
     | 
    
         
            +
            upcast "DComplex", "DComplex"
         
     | 
| 
      
 22 
     | 
    
         
            +
            upcast "SComplex", "DComplex"
         
     | 
| 
      
 23 
     | 
    
         
            +
            upcast "DFloat",   "DComplex"
         
     | 
| 
      
 24 
     | 
    
         
            +
            upcast "SFloat",   "DComplex"
         
     | 
| 
      
 25 
     | 
    
         
            +
            upcast "Int64",    "DComplex"
         
     | 
| 
      
 26 
     | 
    
         
            +
            upcast "Int32",    "DComplex"
         
     | 
| 
      
 27 
     | 
    
         
            +
            upcast "Int16",    "DComplex"
         
     | 
| 
      
 28 
     | 
    
         
            +
            upcast "Int8",     "DComplex"
         
     | 
| 
      
 29 
     | 
    
         
            +
            upcast "UInt64",   "DComplex"
         
     | 
| 
      
 30 
     | 
    
         
            +
            upcast "UInt32",   "DComplex"
         
     | 
| 
      
 31 
     | 
    
         
            +
            upcast "UInt16",   "DComplex"
         
     | 
| 
      
 32 
     | 
    
         
            +
            upcast "UInt8",    "DComplex"
         
     | 
| 
         @@ -0,0 +1,30 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            class_name      "DFloat"
         
     | 
| 
      
 2 
     | 
    
         
            +
            class_alias     "Float64"
         
     | 
| 
      
 3 
     | 
    
         
            +
            ctype           "double"
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            has_math      true
         
     | 
| 
      
 6 
     | 
    
         
            +
            is_bit        false
         
     | 
| 
      
 7 
     | 
    
         
            +
            is_int        false
         
     | 
| 
      
 8 
     | 
    
         
            +
            is_float      true
         
     | 
| 
      
 9 
     | 
    
         
            +
            is_complex    false
         
     | 
| 
      
 10 
     | 
    
         
            +
            is_object     false
         
     | 
| 
      
 11 
     | 
    
         
            +
            is_real       true
         
     | 
| 
      
 12 
     | 
    
         
            +
            is_comparable true
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            upcast_rb "Integer"
         
     | 
| 
      
 15 
     | 
    
         
            +
            upcast_rb "Float"
         
     | 
| 
      
 16 
     | 
    
         
            +
            upcast_rb "Complex", "DComplex"
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            upcast "RObject",  "RObject"
         
     | 
| 
      
 19 
     | 
    
         
            +
            upcast "DComplex", "DComplex"
         
     | 
| 
      
 20 
     | 
    
         
            +
            upcast "SComplex", "DComplex"
         
     | 
| 
      
 21 
     | 
    
         
            +
            upcast "DFloat",   "DFloat"
         
     | 
| 
      
 22 
     | 
    
         
            +
            upcast "SFloat",   "DFloat"
         
     | 
| 
      
 23 
     | 
    
         
            +
            upcast "Int64",    "DFloat"
         
     | 
| 
      
 24 
     | 
    
         
            +
            upcast "Int32",    "DFloat"
         
     | 
| 
      
 25 
     | 
    
         
            +
            upcast "Int16",    "DFloat"
         
     | 
| 
      
 26 
     | 
    
         
            +
            upcast "Int8",     "DFloat"
         
     | 
| 
      
 27 
     | 
    
         
            +
            upcast "UInt64",   "DFloat"
         
     | 
| 
      
 28 
     | 
    
         
            +
            upcast "UInt32",   "DFloat"
         
     | 
| 
      
 29 
     | 
    
         
            +
            upcast "UInt16",   "DFloat"
         
     | 
| 
      
 30 
     | 
    
         
            +
            upcast "UInt8",    "DFloat"
         
     | 
| 
         @@ -0,0 +1,29 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            class_name    "Int16"
         
     | 
| 
      
 2 
     | 
    
         
            +
            ctype         "int16_t"
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            has_math      false
         
     | 
| 
      
 5 
     | 
    
         
            +
            is_bit        false
         
     | 
| 
      
 6 
     | 
    
         
            +
            is_int        true
         
     | 
| 
      
 7 
     | 
    
         
            +
            is_float      false
         
     | 
| 
      
 8 
     | 
    
         
            +
            is_complex    false
         
     | 
| 
      
 9 
     | 
    
         
            +
            is_object     false
         
     | 
| 
      
 10 
     | 
    
         
            +
            is_real       true
         
     | 
| 
      
 11 
     | 
    
         
            +
            is_comparable true
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            upcast_rb "Integer"
         
     | 
| 
      
 14 
     | 
    
         
            +
            upcast_rb "Float", "DFloat"
         
     | 
| 
      
 15 
     | 
    
         
            +
            upcast_rb "Complex", "DComplex"
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            upcast "RObject",  "RObject"
         
     | 
| 
      
 18 
     | 
    
         
            +
            upcast "DComplex", "DComplex"
         
     | 
| 
      
 19 
     | 
    
         
            +
            upcast "SComplex", "SComplex"
         
     | 
| 
      
 20 
     | 
    
         
            +
            upcast "DFloat", "DFloat"
         
     | 
| 
      
 21 
     | 
    
         
            +
            upcast "SFloat", "SFloat"
         
     | 
| 
      
 22 
     | 
    
         
            +
            upcast "Int64",  "Int64"
         
     | 
| 
      
 23 
     | 
    
         
            +
            upcast "Int32",  "Int32"
         
     | 
| 
      
 24 
     | 
    
         
            +
            upcast "Int16"
         
     | 
| 
      
 25 
     | 
    
         
            +
            upcast "Int8"
         
     | 
| 
      
 26 
     | 
    
         
            +
            upcast "UInt64", "Int64"
         
     | 
| 
      
 27 
     | 
    
         
            +
            upcast "UInt32", "Int32"
         
     | 
| 
      
 28 
     | 
    
         
            +
            upcast "UInt16"
         
     | 
| 
      
 29 
     | 
    
         
            +
            upcast "UInt8"
         
     | 
| 
         @@ -0,0 +1,29 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            class_name    "Int32"
         
     | 
| 
      
 2 
     | 
    
         
            +
            ctype         "int32_t"
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            has_math      false
         
     | 
| 
      
 5 
     | 
    
         
            +
            is_bit        false
         
     | 
| 
      
 6 
     | 
    
         
            +
            is_int        true
         
     | 
| 
      
 7 
     | 
    
         
            +
            is_float      false
         
     | 
| 
      
 8 
     | 
    
         
            +
            is_complex    false
         
     | 
| 
      
 9 
     | 
    
         
            +
            is_object     false
         
     | 
| 
      
 10 
     | 
    
         
            +
            is_real       true
         
     | 
| 
      
 11 
     | 
    
         
            +
            is_comparable true
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            upcast_rb "Integer"
         
     | 
| 
      
 14 
     | 
    
         
            +
            upcast_rb "Float", "DFloat"
         
     | 
| 
      
 15 
     | 
    
         
            +
            upcast_rb "Complex", "DComplex"
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            upcast "RObject",  "RObject"
         
     | 
| 
      
 18 
     | 
    
         
            +
            upcast "DComplex", "DComplex"
         
     | 
| 
      
 19 
     | 
    
         
            +
            upcast "SComplex", "SComplex"
         
     | 
| 
      
 20 
     | 
    
         
            +
            upcast "DFloat", "DFloat"
         
     | 
| 
      
 21 
     | 
    
         
            +
            upcast "SFloat", "SFloat"
         
     | 
| 
      
 22 
     | 
    
         
            +
            upcast "Int64",  "Int64"
         
     | 
| 
      
 23 
     | 
    
         
            +
            upcast "Int32"
         
     | 
| 
      
 24 
     | 
    
         
            +
            upcast "Int16"
         
     | 
| 
      
 25 
     | 
    
         
            +
            upcast "Int8"
         
     | 
| 
      
 26 
     | 
    
         
            +
            upcast "UInt64", "Int64"
         
     | 
| 
      
 27 
     | 
    
         
            +
            upcast "UInt32"
         
     | 
| 
      
 28 
     | 
    
         
            +
            upcast "UInt16"
         
     | 
| 
      
 29 
     | 
    
         
            +
            upcast "UInt8"
         
     | 
| 
         @@ -0,0 +1,29 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            class_name    "Int64"
         
     | 
| 
      
 2 
     | 
    
         
            +
            ctype         "int64_t"
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            has_math      false
         
     | 
| 
      
 5 
     | 
    
         
            +
            is_bit        false
         
     | 
| 
      
 6 
     | 
    
         
            +
            is_int        true
         
     | 
| 
      
 7 
     | 
    
         
            +
            is_float      false
         
     | 
| 
      
 8 
     | 
    
         
            +
            is_complex    false
         
     | 
| 
      
 9 
     | 
    
         
            +
            is_object     false
         
     | 
| 
      
 10 
     | 
    
         
            +
            is_real       true
         
     | 
| 
      
 11 
     | 
    
         
            +
            is_comparable true
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            upcast_rb "Integer"
         
     | 
| 
      
 14 
     | 
    
         
            +
            upcast_rb "Float", "DFloat"
         
     | 
| 
      
 15 
     | 
    
         
            +
            upcast_rb "Complex", "DComplex"
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            upcast "RObject",  "RObject"
         
     | 
| 
      
 18 
     | 
    
         
            +
            upcast "DComplex", "DComplex"
         
     | 
| 
      
 19 
     | 
    
         
            +
            upcast "SComplex", "SComplex"
         
     | 
| 
      
 20 
     | 
    
         
            +
            upcast "DFloat", "DFloat"
         
     | 
| 
      
 21 
     | 
    
         
            +
            upcast "SFloat", "SFloat"
         
     | 
| 
      
 22 
     | 
    
         
            +
            upcast "Int64"
         
     | 
| 
      
 23 
     | 
    
         
            +
            upcast "Int32"
         
     | 
| 
      
 24 
     | 
    
         
            +
            upcast "Int16"
         
     | 
| 
      
 25 
     | 
    
         
            +
            upcast "Int8"
         
     | 
| 
      
 26 
     | 
    
         
            +
            upcast "UInt64"
         
     | 
| 
      
 27 
     | 
    
         
            +
            upcast "UInt32"
         
     | 
| 
      
 28 
     | 
    
         
            +
            upcast "UInt16"
         
     | 
| 
      
 29 
     | 
    
         
            +
            upcast "UInt8"
         
     | 
| 
         @@ -0,0 +1,29 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            class_name    "Int8"
         
     | 
| 
      
 2 
     | 
    
         
            +
            ctype         "int8_t"
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            has_math      false
         
     | 
| 
      
 5 
     | 
    
         
            +
            is_bit        false
         
     | 
| 
      
 6 
     | 
    
         
            +
            is_int        true
         
     | 
| 
      
 7 
     | 
    
         
            +
            is_float      false
         
     | 
| 
      
 8 
     | 
    
         
            +
            is_complex    false
         
     | 
| 
      
 9 
     | 
    
         
            +
            is_object     false
         
     | 
| 
      
 10 
     | 
    
         
            +
            is_real       true
         
     | 
| 
      
 11 
     | 
    
         
            +
            is_comparable true
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            upcast_rb "Integer"
         
     | 
| 
      
 14 
     | 
    
         
            +
            upcast_rb "Float", "DFloat"
         
     | 
| 
      
 15 
     | 
    
         
            +
            upcast_rb "Complex", "DComplex"
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            upcast "RObject",  "RObject"
         
     | 
| 
      
 18 
     | 
    
         
            +
            upcast "DComplex", "DComplex"
         
     | 
| 
      
 19 
     | 
    
         
            +
            upcast "SComplex", "SComplex"
         
     | 
| 
      
 20 
     | 
    
         
            +
            upcast "DFloat", "DFloat"
         
     | 
| 
      
 21 
     | 
    
         
            +
            upcast "SFloat", "SFloat"
         
     | 
| 
      
 22 
     | 
    
         
            +
            upcast "Int64",  "Int64"
         
     | 
| 
      
 23 
     | 
    
         
            +
            upcast "Int32",  "Int32"
         
     | 
| 
      
 24 
     | 
    
         
            +
            upcast "Int16",  "Int16"
         
     | 
| 
      
 25 
     | 
    
         
            +
            upcast "Int8",   "Int8"
         
     | 
| 
      
 26 
     | 
    
         
            +
            upcast "UInt64", "Int64"
         
     | 
| 
      
 27 
     | 
    
         
            +
            upcast "UInt32", "Int64"
         
     | 
| 
      
 28 
     | 
    
         
            +
            upcast "UInt16", "Int32"
         
     | 
| 
      
 29 
     | 
    
         
            +
            upcast "UInt8",  "Int16"
         
     | 
| 
         @@ -0,0 +1,30 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            class_name      "RObject"
         
     | 
| 
      
 2 
     | 
    
         
            +
            ctype           "VALUE"
         
     | 
| 
      
 3 
     | 
    
         
            +
            real_class_name "RObject"
         
     | 
| 
      
 4 
     | 
    
         
            +
            real_ctype      "VALUE"
         
     | 
| 
      
 5 
     | 
    
         
            +
             
     | 
| 
      
 6 
     | 
    
         
            +
            has_math      false
         
     | 
| 
      
 7 
     | 
    
         
            +
            is_bit        false
         
     | 
| 
      
 8 
     | 
    
         
            +
            is_int        true
         
     | 
| 
      
 9 
     | 
    
         
            +
            is_float      true
         
     | 
| 
      
 10 
     | 
    
         
            +
            is_real       false
         
     | 
| 
      
 11 
     | 
    
         
            +
            is_complex    false
         
     | 
| 
      
 12 
     | 
    
         
            +
            is_object     true
         
     | 
| 
      
 13 
     | 
    
         
            +
            is_comparable true
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            upcast_rb "Integer"
         
     | 
| 
      
 16 
     | 
    
         
            +
            upcast_rb "Float"
         
     | 
| 
      
 17 
     | 
    
         
            +
            upcast_rb "Complex"
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            upcast "DComplex", "RObject"
         
     | 
| 
      
 20 
     | 
    
         
            +
            upcast "SComplex", "RObject"
         
     | 
| 
      
 21 
     | 
    
         
            +
            upcast "DFloat",   "RObject"
         
     | 
| 
      
 22 
     | 
    
         
            +
            upcast "SFloat",   "RObject"
         
     | 
| 
      
 23 
     | 
    
         
            +
            upcast "Int64",    "RObject"
         
     | 
| 
      
 24 
     | 
    
         
            +
            upcast "Int32",    "RObject"
         
     | 
| 
      
 25 
     | 
    
         
            +
            upcast "Int16",    "RObject"
         
     | 
| 
      
 26 
     | 
    
         
            +
            upcast "Int8",     "RObject"
         
     | 
| 
      
 27 
     | 
    
         
            +
            upcast "UInt64",   "RObject"
         
     | 
| 
      
 28 
     | 
    
         
            +
            upcast "UInt32",   "RObject"
         
     | 
| 
      
 29 
     | 
    
         
            +
            upcast "UInt16",   "RObject"
         
     | 
| 
      
 30 
     | 
    
         
            +
            upcast "UInt8",    "RObject"
         
     | 
| 
         @@ -0,0 +1,32 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            class_name      "SComplex"
         
     | 
| 
      
 2 
     | 
    
         
            +
            class_alias     "Complex64"
         
     | 
| 
      
 3 
     | 
    
         
            +
            ctype           "scomplex"
         
     | 
| 
      
 4 
     | 
    
         
            +
            real_class_name "SFloat"
         
     | 
| 
      
 5 
     | 
    
         
            +
            real_ctype      "float"
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            has_math      true
         
     | 
| 
      
 8 
     | 
    
         
            +
            is_bit        false
         
     | 
| 
      
 9 
     | 
    
         
            +
            is_int        false
         
     | 
| 
      
 10 
     | 
    
         
            +
            is_float      true
         
     | 
| 
      
 11 
     | 
    
         
            +
            is_real       false
         
     | 
| 
      
 12 
     | 
    
         
            +
            is_complex    true
         
     | 
| 
      
 13 
     | 
    
         
            +
            is_object     false
         
     | 
| 
      
 14 
     | 
    
         
            +
            is_comparable false
         
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            upcast_rb "Integer"
         
     | 
| 
      
 17 
     | 
    
         
            +
            upcast_rb "Float"
         
     | 
| 
      
 18 
     | 
    
         
            +
            upcast_rb "Complex"
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            upcast "RObject",  "RObject"
         
     | 
| 
      
 21 
     | 
    
         
            +
            upcast "DComplex", "DComplex"
         
     | 
| 
      
 22 
     | 
    
         
            +
            upcast "SComplex", "SComplex"
         
     | 
| 
      
 23 
     | 
    
         
            +
            upcast "DFloat",   "DComplex"
         
     | 
| 
      
 24 
     | 
    
         
            +
            upcast "SFloat",   "SComplex"
         
     | 
| 
      
 25 
     | 
    
         
            +
            upcast "Int64",    "SComplex"
         
     | 
| 
      
 26 
     | 
    
         
            +
            upcast "Int32",    "SComplex"
         
     | 
| 
      
 27 
     | 
    
         
            +
            upcast "Int16",    "SComplex"
         
     | 
| 
      
 28 
     | 
    
         
            +
            upcast "Int8",     "SComplex"
         
     | 
| 
      
 29 
     | 
    
         
            +
            upcast "UInt64",   "SComplex"
         
     | 
| 
      
 30 
     | 
    
         
            +
            upcast "UInt32",   "SComplex"
         
     | 
| 
      
 31 
     | 
    
         
            +
            upcast "UInt16",   "SComplex"
         
     | 
| 
      
 32 
     | 
    
         
            +
            upcast "UInt8",    "SComplex"
         
     | 
| 
         @@ -0,0 +1,30 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            class_name      "SFloat"
         
     | 
| 
      
 2 
     | 
    
         
            +
            class_alias     "Float32"
         
     | 
| 
      
 3 
     | 
    
         
            +
            ctype           "float"
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            has_math      true
         
     | 
| 
      
 6 
     | 
    
         
            +
            is_bit        false
         
     | 
| 
      
 7 
     | 
    
         
            +
            is_int        false
         
     | 
| 
      
 8 
     | 
    
         
            +
            is_float      true
         
     | 
| 
      
 9 
     | 
    
         
            +
            is_complex    false
         
     | 
| 
      
 10 
     | 
    
         
            +
            is_object     false
         
     | 
| 
      
 11 
     | 
    
         
            +
            is_real       true
         
     | 
| 
      
 12 
     | 
    
         
            +
            is_comparable true
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            upcast_rb "Integer"
         
     | 
| 
      
 15 
     | 
    
         
            +
            upcast_rb "Float"
         
     | 
| 
      
 16 
     | 
    
         
            +
            upcast_rb "Complex", "SComplex"
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            upcast "RObject",  "RObject"
         
     | 
| 
      
 19 
     | 
    
         
            +
            upcast "DComplex", "DComplex"
         
     | 
| 
      
 20 
     | 
    
         
            +
            upcast "SComplex", "SComplex"
         
     | 
| 
      
 21 
     | 
    
         
            +
            upcast "DFloat",   "DFloat"
         
     | 
| 
      
 22 
     | 
    
         
            +
            upcast "SFloat",   "SFloat"
         
     | 
| 
      
 23 
     | 
    
         
            +
            upcast "Int64",    "SFloat"
         
     | 
| 
      
 24 
     | 
    
         
            +
            upcast "Int32",    "SFloat"
         
     | 
| 
      
 25 
     | 
    
         
            +
            upcast "Int16",    "SFloat"
         
     | 
| 
      
 26 
     | 
    
         
            +
            upcast "Int8",     "SFloat"
         
     | 
| 
      
 27 
     | 
    
         
            +
            upcast "UInt64",   "SFloat"
         
     | 
| 
      
 28 
     | 
    
         
            +
            upcast "UInt32",   "SFloat"
         
     | 
| 
      
 29 
     | 
    
         
            +
            upcast "UInt16",   "SFloat"
         
     | 
| 
      
 30 
     | 
    
         
            +
            upcast "UInt8",    "SFloat"
         
     | 
| 
         @@ -0,0 +1,29 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            class_name    "UInt16"
         
     | 
| 
      
 2 
     | 
    
         
            +
            ctype         "u_int16_t"
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            has_math      false
         
     | 
| 
      
 5 
     | 
    
         
            +
            is_bit        false
         
     | 
| 
      
 6 
     | 
    
         
            +
            is_int        true
         
     | 
| 
      
 7 
     | 
    
         
            +
            is_float      false
         
     | 
| 
      
 8 
     | 
    
         
            +
            is_complex    false
         
     | 
| 
      
 9 
     | 
    
         
            +
            is_object     false
         
     | 
| 
      
 10 
     | 
    
         
            +
            is_real       true
         
     | 
| 
      
 11 
     | 
    
         
            +
            is_comparable true
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            upcast_rb "Integer"
         
     | 
| 
      
 14 
     | 
    
         
            +
            upcast_rb "Float", "DFloat"
         
     | 
| 
      
 15 
     | 
    
         
            +
            upcast_rb "Complex", "DComplex"
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            upcast "RObject",  "RObject"
         
     | 
| 
      
 18 
     | 
    
         
            +
            upcast "DComplex", "DComplex"
         
     | 
| 
      
 19 
     | 
    
         
            +
            upcast "SComplex", "SComplex"
         
     | 
| 
      
 20 
     | 
    
         
            +
            upcast "DFloat", "DFloat"
         
     | 
| 
      
 21 
     | 
    
         
            +
            upcast "SFloat", "SFloat"
         
     | 
| 
      
 22 
     | 
    
         
            +
            upcast "Int64",  "Int64"
         
     | 
| 
      
 23 
     | 
    
         
            +
            upcast "Int32",  "Int32"
         
     | 
| 
      
 24 
     | 
    
         
            +
            upcast "Int16",  "Int16"
         
     | 
| 
      
 25 
     | 
    
         
            +
            upcast "Int8",   "Int16"
         
     | 
| 
      
 26 
     | 
    
         
            +
            upcast "UInt64", "UInt64"
         
     | 
| 
      
 27 
     | 
    
         
            +
            upcast "UInt32", "UInt32"
         
     | 
| 
      
 28 
     | 
    
         
            +
            upcast "UInt16"
         
     | 
| 
      
 29 
     | 
    
         
            +
            upcast "UInt8"
         
     | 
| 
         @@ -0,0 +1,29 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            class_name    "UInt32"
         
     | 
| 
      
 2 
     | 
    
         
            +
            ctype         "u_int32_t"
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            has_math      false
         
     | 
| 
      
 5 
     | 
    
         
            +
            is_bit        false
         
     | 
| 
      
 6 
     | 
    
         
            +
            is_int        true
         
     | 
| 
      
 7 
     | 
    
         
            +
            is_float      false
         
     | 
| 
      
 8 
     | 
    
         
            +
            is_complex    false
         
     | 
| 
      
 9 
     | 
    
         
            +
            is_object     false
         
     | 
| 
      
 10 
     | 
    
         
            +
            is_real       true
         
     | 
| 
      
 11 
     | 
    
         
            +
            is_comparable true
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            upcast_rb "Integer"
         
     | 
| 
      
 14 
     | 
    
         
            +
            upcast_rb "Float", "DFloat"
         
     | 
| 
      
 15 
     | 
    
         
            +
            upcast_rb "Complex", "DComplex"
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            upcast "RObject",  "RObject"
         
     | 
| 
      
 18 
     | 
    
         
            +
            upcast "DComplex", "DComplex"
         
     | 
| 
      
 19 
     | 
    
         
            +
            upcast "SComplex", "SComplex"
         
     | 
| 
      
 20 
     | 
    
         
            +
            upcast "DFloat", "DFloat"
         
     | 
| 
      
 21 
     | 
    
         
            +
            upcast "SFloat", "SFloat"
         
     | 
| 
      
 22 
     | 
    
         
            +
            upcast "Int64",  "Int64"
         
     | 
| 
      
 23 
     | 
    
         
            +
            upcast "Int32",  "Int32"
         
     | 
| 
      
 24 
     | 
    
         
            +
            upcast "Int16",  "Int32"
         
     | 
| 
      
 25 
     | 
    
         
            +
            upcast "Int8",   "Int32"
         
     | 
| 
      
 26 
     | 
    
         
            +
            upcast "UInt64", "UInt64"
         
     | 
| 
      
 27 
     | 
    
         
            +
            upcast "UInt32"
         
     | 
| 
      
 28 
     | 
    
         
            +
            upcast "UInt16"
         
     | 
| 
      
 29 
     | 
    
         
            +
            upcast "UInt8"
         
     | 
| 
         @@ -0,0 +1,29 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            class_name    "UInt64"
         
     | 
| 
      
 2 
     | 
    
         
            +
            ctype         "u_int64_t"
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            has_math      false
         
     | 
| 
      
 5 
     | 
    
         
            +
            is_bit        false
         
     | 
| 
      
 6 
     | 
    
         
            +
            is_int        true
         
     | 
| 
      
 7 
     | 
    
         
            +
            is_float      false
         
     | 
| 
      
 8 
     | 
    
         
            +
            is_complex    false
         
     | 
| 
      
 9 
     | 
    
         
            +
            is_object     false
         
     | 
| 
      
 10 
     | 
    
         
            +
            is_real       true
         
     | 
| 
      
 11 
     | 
    
         
            +
            is_comparable true
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            upcast_rb "Integer"
         
     | 
| 
      
 14 
     | 
    
         
            +
            upcast_rb "Float", "DFloat"
         
     | 
| 
      
 15 
     | 
    
         
            +
            upcast_rb "Complex", "DComplex"
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            upcast "RObject",  "RObject"
         
     | 
| 
      
 18 
     | 
    
         
            +
            upcast "DComplex", "DComplex"
         
     | 
| 
      
 19 
     | 
    
         
            +
            upcast "SComplex", "SComplex"
         
     | 
| 
      
 20 
     | 
    
         
            +
            upcast "DFloat", "DFloat"
         
     | 
| 
      
 21 
     | 
    
         
            +
            upcast "SFloat", "SFloat"
         
     | 
| 
      
 22 
     | 
    
         
            +
            upcast "Int64",  "Int64"
         
     | 
| 
      
 23 
     | 
    
         
            +
            upcast "Int32",  "Int64"
         
     | 
| 
      
 24 
     | 
    
         
            +
            upcast "Int16",  "Int64"
         
     | 
| 
      
 25 
     | 
    
         
            +
            upcast "Int8",   "Int64"
         
     | 
| 
      
 26 
     | 
    
         
            +
            upcast "UInt64"
         
     | 
| 
      
 27 
     | 
    
         
            +
            upcast "UInt32"
         
     | 
| 
      
 28 
     | 
    
         
            +
            upcast "UInt16"
         
     | 
| 
      
 29 
     | 
    
         
            +
            upcast "UInt8"
         
     | 
| 
         @@ -0,0 +1,29 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            class_name    "UInt8"
         
     | 
| 
      
 2 
     | 
    
         
            +
            ctype         "u_int8_t"
         
     | 
| 
      
 3 
     | 
    
         
            +
             
     | 
| 
      
 4 
     | 
    
         
            +
            has_math      false
         
     | 
| 
      
 5 
     | 
    
         
            +
            is_bit        false
         
     | 
| 
      
 6 
     | 
    
         
            +
            is_int        true
         
     | 
| 
      
 7 
     | 
    
         
            +
            is_float      false
         
     | 
| 
      
 8 
     | 
    
         
            +
            is_complex    false
         
     | 
| 
      
 9 
     | 
    
         
            +
            is_object     false
         
     | 
| 
      
 10 
     | 
    
         
            +
            is_real       true
         
     | 
| 
      
 11 
     | 
    
         
            +
            is_comparable true
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            upcast_rb "Integer"
         
     | 
| 
      
 14 
     | 
    
         
            +
            upcast_rb "Float", "DFloat"
         
     | 
| 
      
 15 
     | 
    
         
            +
            upcast_rb "Complex", "DComplex"
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            upcast "RObject",  "RObject"
         
     | 
| 
      
 18 
     | 
    
         
            +
            upcast "DComplex", "DComplex"
         
     | 
| 
      
 19 
     | 
    
         
            +
            upcast "SComplex", "SComplex"
         
     | 
| 
      
 20 
     | 
    
         
            +
            upcast "DFloat", "DFloat"
         
     | 
| 
      
 21 
     | 
    
         
            +
            upcast "SFloat", "SFloat"
         
     | 
| 
      
 22 
     | 
    
         
            +
            upcast "Int64",  "Int64"
         
     | 
| 
      
 23 
     | 
    
         
            +
            upcast "Int32",  "Int32"
         
     | 
| 
      
 24 
     | 
    
         
            +
            upcast "Int16",  "Int16"
         
     | 
| 
      
 25 
     | 
    
         
            +
            upcast "Int8",   "Int8"
         
     | 
| 
      
 26 
     | 
    
         
            +
            upcast "UInt64", "UInt64"
         
     | 
| 
      
 27 
     | 
    
         
            +
            upcast "UInt32", "UInt32"
         
     | 
| 
      
 28 
     | 
    
         
            +
            upcast "UInt16", "UInt16"
         
     | 
| 
      
 29 
     | 
    
         
            +
            upcast "UInt8"
         
     |