KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > python > modules > jarray


1 // Copyright (c) Corporation for National Research Initiatives
2
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 JavaDoc 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 JavaDoc type) {
18         return PyArray.zeros(n, type);
19     }
20 }
21
Popular Tags