Difference between revisions of "Sum Scan No Identity Element Assignment"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | + | Reimplement [[Sum_Scan_Assignment|Sum Scan]] with no identity element. | |
− | [ | ||
− | + | =Code to Implement= | |
+ | {{SMLToImplement|sum_scan_pattern|sum_scan|warmup_sum_scan_no_identity_element}} | ||
+ | |||
+ | =Test= | ||
+ | {{SMLUnitTesting|run_sum_scan_no_identity_element|warmup_sum_scan_no_identity_element}} |
Revision as of 05:11, 21 January 2023
Reimplement Sum Scan with no identity element.
Code to Implement
file: | src/main/sml/warmup_sum_scan_no_identity_element/sum_scan_pattern.sml | ![]() |
functions: | sum_scan |
Test
source folder: | src/test/sml/warmup_sum_scan_no_identity_element |
how to run with CM.make verbosity off: | sml -Ccm.verbose=false run_sum_scan_no_identity_element.sml |
how to run with CM.make verbosity on: | sml run_sum_scan_no_identity_element.sml |
note: ensure that you have removed all printing to receive credit for any assignment.