import numpy as np a = np.eye(3) print( a ) # [[ 1. 0. 0.] # [ 0. 1. 0.] # [ 0. 0. 1.]]
CC-BY-SA 3.0 · Powered by MediaWiki
개인정보처리방침 · ABOUT