Kernel: Python 2 (SageMath)
In [64]:
In [65]:
[u'seaborn-darkgrid', u'seaborn-notebook', u'classic', u'seaborn-ticks', u'grayscale', u'bmh', u'seaborn-talk', u'dark_background', u'ggplot', u'fivethirtyeight', u'seaborn-colorblind', u'seaborn-deep', u'seaborn-whitegrid', u'seaborn-bright', u'seaborn-poster', u'seaborn-muted', u'seaborn-paper', u'seaborn-white', u'seaborn-pastel', u'seaborn-dark', u'seaborn-dark-palette']
In [66]:
In [67]:
In [68]:
[3.252216865271419, 0.6352214195786656]
In [69]:
In [70]:
In [71]:
In [72]:
In [73]:
In [74]:
[ -17160.83500984 299516.31267574 -2088050.30680736
7268386.81000149 -12633055.56342935 8770833.33889631]
In [75]:
In [76]:
In [77]:
<function matplotlib.pyplot.show>
In [78]:
[ -4.54747351e-12 3.15769633e-12 5.32600630e-11 3.70492526e-11
1.45528034e-12 3.59723362e-11]
nan
[0, 1.297, 1.31, 1.336, 1.35, 1.377]
[-4.547473508864641e-12, 1.2969999999968422, 1.30999999994674, 1.3359999999629508, 1.3499999999985448, 1.3769999999640277]
/ext/sage/sage-8.1/local/lib/python2.7/site-packages/ipykernel/__main__.py:2: RuntimeWarning: invalid value encountered in sqrt
from ipykernel import kernelapp as app
In [79]:
In [80]:
CPU times: user 2.09 ms, sys: 401 µs, total: 2.49 ms
Wall time: 2.08 ms
fun: 1.7452682903449388
hess_inv: array([[ 5.98752437]])
jac: array([ -2.07126141e-06])
message: 'Optimization terminated successfully.'
nfev: 21
nit: 6
njev: 7
status: 0
success: True
x: array([ 4.13627618])
[ 4.13627618]
Optimization terminated successfully.
[[ 5.98752437]]
CPU times: user 1.41 ms, sys: 0 ns, total: 1.41 ms
Wall time: 1.42 ms
fun: -11.898894665981285
hess_inv: array([[ 1.67932484]])
jac: array([ 2.38418579e-07])
message: 'Optimization terminated successfully.'
nfev: 21
nit: 6
njev: 7
status: 0
success: True
x: array([ 25.88019339])
[ 25.88019339]
Optimization terminated successfully.
[[ 1.67932484]]
CPU times: user 10.2 ms, sys: 0 ns, total: 10.2 ms
Wall time: 9.58 ms
[ 25.88020104] -11.898894666
CPU times: user 325 µs, sys: 0 ns, total: 325 µs
Wall time: 272 µs
fun: -5
hess_inv: array([[1]])
jac: array([ 0.])
message: 'Optimization terminated successfully.'
nfev: 3
nit: 0
njev: 1
status: 0
success: True
x: array([ 30.])
[ 30.]
Optimization terminated successfully.
[[1]]
In [81]:
[]
In [82]:
In [83]:
[10, 1, 18, 21, 12, 11, 9, 13, 6, 1] 10
[0, 1, 2, 3, 4, 5, 6, 7, 8, 9] 10
In [84]:
[ 1.00000000e+01 7.81285714e+01 -2.77077778e+02 3.26114881e+02
-1.84907639e+02 5.85541667e+01 -1.09430556e+01 1.20059524e+00
-7.15277778e-02 1.78571429e-03]
In [0]:
In [0]: