# welcome to softhunt.net
# Python Programming illustrating
# numpy.asmatrix
import numpy as np
# array-like input
b = np.matrix([[1, 2, 3], [4, 5]])
print("Via array-like input :
", b, "
")
c = np.asmatrix(b)
b[0, 1] = 15
print("c matrix :
", c)