# Example arrays

The package contains several example arrays and designs. They can be retrieved using the method exampleArray.

[4]:

import oapackage
al = oapackage.exampleArray(-1, 1)

exampleArray 0: array in OA(8,2, 2^2)
exampleArray 1: array 3 in OA(16, 2, 2^5)
exampleArray 2: array 6 in OA(16, 2, 2^6)
exampleArray 3: array ? in OA(32, 3, 2^7)
exampleArray 4: array 4 in OA(16, 2, 2^7)
exampleArray 5: array 0 in OA(24, 2, 4 3 2^a)
exampleArray 6: array in OA(4, 2, 2^a)
exampleArray 7: array 0 in OA(4, 2, 2^a)?
exampleArray 8: array in OA(40, 3, 2^7)
exampleArray 9: array in A(40, 2^7), D-optimal
exampleArray 10: array in OA(9, 3^3)
exampleArray 11: D-optimal array in OA(44, 2^8)
exampleArray 12: even-odd array OA(64, 2^13)
exampleArray 13: array in OA(25, 2^5)
exampleArray 16: array in OA(32, 2, 2^5)
exampleArray 17: unique array in OA(64, 4, 2^7)
exampleArray 18: conference matrix of size 16, 7
exampleArray 19: conference matrix of size 4, 3
exampleArray 20: first LMC-0 double conference matrix in DC(24,3)
exampleArray 21: second LMC-0 double conference matrix in DC(16,4)
exampleArray 22: LMC-0 double conference matrix in DC(32,4)
exampleArray 23: LMC-0 double conference matrix in DC(32,6)
exampleArray 43: 2x2 array with zeros and a singe value -1
exampleArray 44: D-optimal strength 3 ortogonal array in OA(40,3, 2^7)
exampleArray 49: array 4347 C(20,8)
exampleArray 50: array 4506 C(20,8)
exampleArray 51: first array in C(12,4)
exampleArray 52: second array in C(12,4)
exampleArray 53: third array in C(12,4)
exampleArray 54: root array in OA(6,2,3^1 2^1)
exampleArray: no example array with index 55 exists


Select an example array and show it.

[3]:

al=oapackage.exampleArray(2, 1)
al.showarray()

exampleArray 2: array 6 in OA(16, 2, 2^6)
array:
0   0   0   0   0   0
0   0   0   0   0   0
0   0   0   1   1   1
0   0   0   1   1   1
0   1   1   0   0   1
0   1   1   0   1   0
0   1   1   1   0   1
0   1   1   1   1   0
1   0   1   0   0   1
1   0   1   0   1   1
1   0   1   1   0   0
1   0   1   1   1   0
1   1   0   0   1   0
1   1   0   0   1   1
1   1   0   1   0   0
1   1   0   1   0   1