Thu Jan 4 20:08:48 2024 l4lib_test(): Python version: 3.8.10 Test l4lib(). i4_to_l4_test i4_to_l4 converts an I4 to an L4. I4 L4 -5 True -4 True -3 True -2 True -1 True 0 False 1 True 2 True 3 True 4 True 5 True i4_to_l4vec_test i4_to_l4vec converts an I4 to an L4VEC. I4 L4VEC 0: 0 0 0 0 0 0 0 0 1: 0 0 0 0 0 0 0 1 2: 0 0 0 0 0 0 1 0 3: 0 0 0 0 0 0 1 1 4: 0 0 0 0 0 1 0 0 5: 0 0 0 0 0 1 0 1 6: 0 0 0 0 0 1 1 0 7: 0 0 0 0 0 1 1 1 8: 0 0 0 0 1 0 0 0 9: 0 0 0 0 1 0 0 1 10: 0 0 0 0 1 0 1 0 l4_to_i4_test l4_to_i4 converts an L4 to an I4. L4 I4 False 0 True 1 l4_to_s_test l4_to_s converts an L4 to a string. L4 S False False True True l4_uniform_test() l4_uniform() returns random bool values 1 1 0 1 1 1 1 0 0 1 l4_xor_test(): l4_xor() computes the exclusive OR of two L4's L1 L2 l4_xor(L1,L2) False False False False True True True False True True True False l4mat_print_test(): l4mat_print() prints an L4MAT. A 5 x 3 integer matrix: Col: 0 1 2 3 4 5 6 7 8 91011 Row 0: F T F F F T T F F T F T 1: F F F T T T T F T F F T 2: T F T F T T F T T T T F 3: F T F F T F F T T T T T 4: F T F T T T F F F F F T l4mat_print_some_test(): l4mat_print_some() prints some of an L4MAT. Here is L4MAT, rows 0:2, cols 3:5: Col: 3 4 5 Row 0: F T F 1: F F T 2: T T F l4mat_transpose_print_test(): l4mat_transpose_print() prints an L4MAT transposed. A 5 x 12 integer matrix: Row: 0 1 2 3 4 Col 0: F T F F T 1: T F F F T 2: F F T F T 3: T T T F T 4: F F T F T 5: T T T T F 6: F F T T T 7: T T F F F 8: F T T F F 9: F F T T F 10: T F F T F 11: F T T F T l4mat_transpose_print_some_test(): l4mat_transpose_print()_some prints some of an L4MAT, transposed. Here is L4MAT, rows 0:2, cols 3:5: Row: 0 1 2 Col 3: T T T 4: T T T 5: T F F l4mat_uniform_test(): l4mat_uniform() computes a random L4MAT. Random L4MAT: Col: 0 1 2 3 Row 0: T T T T 1: F T T T 2: F T F F 3: T F F F 4: T F F F l4vec_next_test l4vec_next generates bool vectors of dimension N one at a time. Vector size N = 2 0: False False 1: False True 2: True False 3: True True Vector size N = 3 0: False False False 1: False False True 2: False True False 3: False True True 4: True False False 5: True False True 6: True True False 7: True True True l4vec_print_test(): l4vec_print() prints an L4VEC. Here is an L4VEC: 0 F 1 F 2 F 3 T 4 F 5 F 6 F 7 T 8 F 9 F l4vec_uniform_test() l4vec_uniform() computes a random L4VEC. Random L4VEC: 0 T 1 F 2 F 3 F 4 T 5 F 6 T 7 T 8 T 9 T s_to_l4_test s_to_l4 reads bool data from a string. S L4 "0 " False "F " False "f " False "1 " True "T " True "t " True " 0 " False " 1 0 " True " 01 " False " Talse" True l4lib_test(): Normal end of execution. Thu Jan 4 20:08:49 2024