Sha256: 2d7cf2dc5d22ffd618ee67ac000c38f91f8dc06024056e0cf36a0b2022522931

Contents?: true

Size: 223 Bytes

Versions: 1

Compression:

Stored size: 223 Bytes

Contents

require 'pybind'
require 'pybind/autocall'

include PyBind::Import

# builtin function
pyimport 'numpy', as: :np
puts np.array([0])

# type
puts np.str('str')

# function
pyimport 'numpy.matlib', as: :ml
puts np.zeros([1])

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pybind-0.1.0 examples/autocall_functions.rb