>>> A.size
(3, 3)
+ >>> from dunshire.options import ABS_TOL
>>> from dunshire.matrices import norm
>>> A = random_skew_symmetric_matrix(random_natural())
- >>> norm(A + A.trans()) < options.ABS_TOL
+ >>> norm(A + A.trans()) < ABS_TOL
True
"""
>>> L = random_lyapunov_like_icecream(3)
>>> L.size
(3, 3)
+
+ >>> from dunshire.options import ABS_TOL
+ >>> from dunshire.matrices import inner_product
>>> x = matrix([1,1,0])
>>> s = matrix([1,-1,0])
- >>> abs(inner_product(L*x, s)) < options.ABS_TOL
+ >>> abs(inner_product(L*x, s)) < ABS_TOL
True
"""