25 lines
532 B
Python
25 lines
532 B
Python
import numpy as np
|
|
c = np.array(
|
|
[ 15 # (x**0
|
|
, 1 # x**1
|
|
, -6 # x**2
|
|
, 0 # x**3
|
|
, 0 # x**4
|
|
, 0 # x**5
|
|
, 0 # x**6)
|
|
, 1 # *c*exp(
|
|
, -0.7 # c
|
|
, 0 # (r - c))
|
|
, 0 # + c*exp(
|
|
, -.1 # c
|
|
, 2 # (r - c))
|
|
, -0 # + c*exp(
|
|
, -0.05 # c
|
|
, 40 # (r - c)**2)
|
|
, 0 # + c*exp(
|
|
, -0.05 # c
|
|
, 20 # (r - c)**2)
|
|
, 1] # dt
|
|
, dtype=np.float16)
|
|
|