A0 = Matrix.New( {{0,0,0},{0,0,0},{0,0,0}} ) A1 = Matrix.New( {{1,2,3},{2,5,6},{3,6,9}} ) A2 = Matrix.New( {{2,2,3},{2,5,6},{3,6,9}} ) A3 = Matrix.New( {{3,2,3},{2,5,6},{3,6,9}} ) B0s = Matrix.New( {{1,0,0},{0,1,0},{0,0,1}} ) B0 = B0s * B0s B1s = Matrix.New( {{1,1,3},{1,5,6},{3,6,9}} ) B1 = B1s * B1s B2s = Matrix.New( {{2,0,3},{0,5,6},{3,6,9}} ) B2 = B2s * B2s B3s = Matrix.New( {{3,0,3},{0,5,6},{3,6,9}} ) B3 = B3s * B3s G = ResponseFunction.New( { {A0,A1,A2,A3}, {B0,B1,B2}, mu=0, type="And", name="MA"} ) print("The resposne function definition is") print(G) omega = 1.1 Gamma = 0.001 print() print("Evaluated at omega =",omega," and Gamma =",Gamma," yields ") print(G(omega,Gamma))