1 package org.python.modules; 3 import org.python.core.*; 4 5 public class jarray { 6 public static PyArray array(PyObject seq, char typecode) { 7 return PyArray.array(seq, typecode); 8 } 9 10 public static PyArray array(PyObject seq, Class type) { 11 return PyArray.array(seq, type); 12 } 13 public static PyArray zeros(int n, char typecode) { 14 return PyArray.zeros(n, typecode); 15 } 16 17 public static PyArray zeros(int n, Class type) { 18 return PyArray.zeros(n, type); 19 } 20 } 21 | Popular Tags |