01: // Copyright (c) Corporation for National Research Initiatives
02: package org.python.modules;
03:
04: import org.python.core.PyArray;
05: import org.python.core.PyObject;
06:
07: public class jarray {
08: public static PyArray array(PyObject seq, char typecode) {
09: return PyArray.array(seq, typecode);
10: }
11:
12: public static PyArray array(PyObject seq, Class type) {
13: return PyArray.array(seq, type);
14: }
15:
16: public static PyArray zeros(int n, char typecode) {
17: return PyArray.zeros(n, typecode);
18: }
19:
20: public static PyArray zeros(int n, Class type) {
21: return PyArray.zeros(n, type);
22: }
23: }
|