2.0.1 • Published 4 years ago
triz-helpers v2.0.1
getPrincipleWeights
Input
getPrincipleWeights([
[7, 2, 35],
[30, 6]
]);
Output
[
[7, 0.25],
[30, 0.25],
[2, 0.1875],
[6, 0.1875],
[35, 0.125]
];
getPrincipleWeights([
[7, 2, 35],
[30, 6]
]);
[
[7, 0.25],
[30, 0.25],
[2, 0.1875],
[6, 0.1875],
[35, 0.125]
];