éè¡åã®è»¢ç½®ããããã°ã©ã ã§ãã # -*- coding: utf-8 -*- import numpy as np def main(): A = np.array([[1.,0.] # è¡åAã®çæ ,[0.,2.]]) invA = np.linalg.inv(A) # Aã®éè¡å print( "invA=\n" + str(invA) ) # è¨ç®çµæã®è¡¨ç¤º if __name__ == '__main__': main()
{{#tags}}- {{label}}
{{/tags}}