这是我的.py
文件的摘录:
for i in range(1,nxs-2):
for j in (1, nts-2):
dg_cc(dg,sina,cosa,s,r2tanb,omega,L,n,m,xs[i],ts[k],pd)
dot( dg,F,c1,transa=T )
dot( c1, dg, ansK1, N, N, alpha=2., beta=1. )
# linear buckling part
g = g_cc(m,n,L,xs[i],ts[j],pd)
Bg = fBg(Bg,cosa,s,L,m,n,xs[i],ts[i],pd)
dot( g, Bg, ansK1, T, N, alpha=2., beta=1. )
#
if pd:
fdg0(dg0,sina,cosa,s,r2tanb,omega,L,xs[i],ts[j])
dot( dg0, F, c2, transa=T )
dot( c2, dg, ansK0, N, N, alpha=2., beta=1. )
for i in (1, nxs-2):
for j in range(1,nts-2):
dg_cc(dg,sina,cosa,s,r2tanb,omega,L,n,m,xs[i],ts[n],pd)
dot( dg,F,c1,transa=T )
dot( c1, dg, ansK1, N, N, alpha=2., beta=1. )
# linear buckling part
g = g_cc(m,n,L,xs[i],ts[j],pd)
Bg = fBg(Bg,cosa,s,L,m,n,xs[i],ts[j],pd)
dot( g, Bg, ansK1, T, N, alpha=2., beta=1. )
例如,我必须修复所有的错别字,仅保留ts[j]
并用ts[i]
or修复那些错别字ts[n]
。
我如何建立我的搜索模式以便到达任何地方ts[something]
something NOT equal j
?