代码搜索:numpy
找到约 50 项符合「numpy」的源代码
代码结果 50
www.eeworm.com/read/407519/2262702
py stabilityfactors.py
#!/usr/bin/env python
from numpy import *
from numpy.linalg import norm
from scipy.linalg import expm
def getUU(val, t, U) :
dummy, u = min(zip(abs(t-val), U), key=lambda u:u[0])
return u
def s
www.eeworm.com/read/483607/6599517
py filtering.py
import numpy as N
import scipy.signal
__all__ = [
'fftfilt'
'tominphase',
'biquad',
'gammatone',
'gammatone_biquad',
'ERB'
]
def fftfilt(signal, b, a):
""" Approximatio
www.eeworm.com/read/418000/10968823
py ofdm+qam.py
import sys, os, time
import numpy as num
import pylab as py
# simulation parameters
N = 1024 # number of subcarriers
L = 32 # length of cyclic prefix
N_OFDM
www.eeworm.com/read/325535/3482943
py vtkimageexporttoarray.py
"""
vtkImageExportToArray - a NumPy front-end to vtkImageExport
This class converts a VTK image to a Numeric Python array.
To use this class, you must have the LLNL Numeric Python distribution
(http
www.eeworm.com/read/429426/1949288
py owcorranalysisgraph.py
"""
graph for correspondence analysis
"""
BROWSE_RECTANGLE = 4
BROWSE_CIRCLE= 5
from OWGraph import *
from math import sqrt
from numpy import arange, sign
import operator
class OWCorr
www.eeworm.com/read/407519/2262473
i dolfin.i
%module(directors="1") dolfin
%feature("autodoc", "1");
%{
#define protected public
#include
#include
using namespace dolfin;
%}
%init%{
import_array();
www.eeworm.com/read/407519/2263370
i dolfin.i
%module(directors="1") dolfin
%feature("autodoc", "1");
%{
#define protected public
#include
#include
using namespace dolfin;
%}
%init%{
import_array();
www.eeworm.com/read/407519/2262477
i dolfin_mesh_pre.i
// --- Return NumPy arrays for Mesh::cells() and Mesh::coordinates() ---
%define MAKE_ARRAY(dim_size, m, n, dataptr, TYPE)
npy_intp adims[dim_size];
adims[0] = m;
if (dim_siz
www.eeworm.com/read/407519/2263374
i dolfin_mesh_pre.i
// --- Return NumPy arrays for Mesh::cells() and Mesh::coordinates() ---
%define MAKE_ARRAY(dim_size, m, n, dataptr, TYPE)
npy_intp adims[dim_size];
adims[0] = m;
if (dim_siz
www.eeworm.com/read/388251/8623627
ddplot
#!/usr/bin/env python
# $Id: ddPlot 513 2007-05-03 21:41:15Z tconn $
# A routine to plot the output of ddGen.
import sys, string, time, datetime, numpy, matplotlib, pylab
def main():