beginner99
Diamond Member
I'm looking for the name for a certain problem to be able to google for solutions. (before trying to reinvent the wheel).
I have a bunch of "patterns" where pattern is just a list of a numeric type of fixed size.
Example:
I then have Pattern Z:
The problem is to now find the a combination of patterns that result in Pattern Z.
By combination I mean "adding together each element i of the different patterns"; "Sum of columns"
Eg. for this example:
How is this problem called?
I have a bunch of "patterns" where pattern is just a list of a numeric type of fixed size.
Example:
Code:
Pattern 1: 1,0,5,2
Pattern 2: 9,3,1,1
...
Pattern X: 8,6,2,0
I then have Pattern Z:
Code:
Pattern Z: 9,6,7,2
The problem is to now find the a combination of patterns that result in Pattern Z.
By combination I mean "adding together each element i of the different patterns"; "Sum of columns"
Eg. for this example:
Code:
Pattern 1: 1,0,5,2
+
Pattern X: 8,6,2,0
=
Pattern Z: 9,6,7,2
How is this problem called?