def init_array(A, B, tmp, x, y, alpha, beta):
    n = N.get()
    alpha[0] = datatype(1.5)
    beta[0] = datatype(1.2)
    for i in range(n):
        x[i] = (datatype((i % n)) / n)
        for j in range(n):
            A[(i, j)] = (datatype((((i * j) + 1) % n)) / n)
            B[(i, j)] = (datatype((((i * j) + 2) % n)) / n)
def init_array(A, B, tmp, x, y, alpha, beta):
    n = N.get()
    alpha[0] = datatype(1.5)
    beta[0] = datatype(1.2)
    for i in range(n):
        x[i] = (datatype((i % n)) / n)
        for j in range(n):
            A[(i, j)] = (datatype((((i * j) + 1) % n)) / n)
            B[(i, j)] = (datatype((((i * j) + 2) % n)) / n)