def METHOD_NAME(array: f64[:, :], result: f64[:, :], size1:i32, size2:i32):
    i: i32
    j: i32
    eps: f64
    eps = 1e-12
    for i in range(size1):
        for j in range(size2):
            assert abs(arcsin(array[i, j])**2.0 - result[i, j]) <= eps