spams_sandbox/spams_sandbox.py: Rename output_array to result_array to be more consistent.
tests/test_spams_sandbox.py: Rename output_array to result_array to be more consistent.
spams_sandbox/spams_sandbox.py: Removed stricted type constraint from call_multiprocessing_array_spams_trainDL and run_multiprocessing_array_spams_trainDL in favor of using the type of the array input.
nanshe/advanced_image_processing.py: Provide support in generate_dictionary for single and double precision floating point types.
spams_sandbox/spams_sandbox.py: Space out sections.
spams_sandbox/spams_sandbox.py: Removed lock from result_array in shared array case.
tests/test_spams_sandbox.py: Changed tests to use the lockfree array.
spams_sandbox/spams_sandbox.py: Use ndpointer type to extract properties for result.
spams_sandbox/spams_sandbox.py: Changed X into a shared memory array. This has little effect on Unix-based OSes as fork is used to create the new process, which automatically shares memory. However, Windows spawns a new process so having a shared memory array helps in that case. This does not appear to have a substantial effect on performance.
tests/test_spams_sandbox.py: Update the tests to properly use the changes to the array sharing spams sandbox.
tests/test_advanced_image_processing.py: Add tests for single precision dictionary learning in addition to the double precision ones.