Bridging classes to allow python and java to intermix.
Bridging classes to allow python and java to intermix.
(->numpy item & [options])(as-dict map-data)(as-jvm item & [options])Bridge a python object into the jvm. Attempts to build a jvm bridge that 'hides' the python type. This bridge is lazy and noncaching so use it wisely; it may be better to just copy the type once into the JVM. Bridging is recursive so any subtypes are also bridged if possible or represented by a hashmap of {:type :value} if not.
Bridge a python object into the jvm. Attempts to build a jvm bridge that 'hides' the
python type. This bridge is lazy and noncaching so use it wisely; it may be better to
just copy the type once into the JVM. Bridging is recursive so any subtypes are also
bridged if possible or represented by a hashmap of {:type :value} if not.(as-numpy item & [options])(as-py-fn jvm-fn)(as-python item & [options])Bridge a jvm object into python
Bridge a jvm object into python
(as-tuple item-seq)(bridge-pyobject pyobj interpreter & body)(bridgeable-jvm-type? jvm-obj)(bridgeable-python-type? pyobj)(check-py-method-return retval)(check-pybool-return retval)(datatype->ptr-type-name dtype)(descriptor->numpy {:keys [ptr shape strides datatype] :as buffer-desc})(generic-python-as-jvm pyobj)Given a generic pyobject, wrap it in a read-only map interface where the keys are the attributes.
Given a generic pyobject, wrap it in a read-only map interface where the keys are the attributes.
(generic-python-as-list pyobj)(generic-python-as-map pyobj)(impl-tuple-function & body)(jvm-fn->iface jvm-fn)(jvm-iterable-as-python jvm-data)(jvm-iterator-as-python item)(jvm-list-as-python jvm-data)(jvm-map-as-python jvm-data)(numpy->desc np-obj)(obj-dtype->dtype py-dtype)(python-iterable-as-jvm pyobj)(wrap-jvm-context & body)cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |