Exemplo n.º 1
0
def randgue(n):
	A = make_zero_matrix(n, n)
	for i in range(0, n):
		for j in range(i, n):
			A[i][j] = randc_m.randc_mean_sq_1()
	for i in range(0, n):
		for j in range(0, i):
			A[i][j] = conj(A[j][i])
	return A
Exemplo n.º 2
0
def test_randc_mean_sq_1(N, print_details):
    Zs = []
    for k in range(0, N):
        Z = randc_m.randc_mean_sq_1()
        Zs.append(Z)
    report(Zs)
Exemplo n.º 3
0
def randmatc(m, n):
	A = make_zero_matrix(m, n)
	for i in range(0, m):
		for j in range(0, n):
			A[i][j] = randc_m.randc_mean_sq_1()
	return A
Exemplo n.º 4
0
def test_randc_mean_sq_1(N, print_details):
	Zs = []
	for k in range(0, N):
		Z = randc_m.randc_mean_sq_1()
		Zs.append(Z)
	report(Zs)