Description
Normalize a nonempty nonnegative parts list by its positive sum and multiply each fraction by nonnegative basis for amounts.
A ratio compares quantities under a stated numerator and denominator. Fractions, percentage numerals, and percentage-point changes use different conventions, and changing a part can also change its whole. Unit consistency, zero denominators, rounding, and the order of adjustments determine the result.
Normalize a nonempty nonnegative parts list by its positive sum and multiply each fraction by nonnegative basis for amounts.
When to use this tool
Use Weighted Parts Common Basis Crosswalk when you need this specific ratio, allocation, transformation, interval, or adjustment-order calculation with an explicit base.
How to use the tool and how it works
- Enter parts, basis. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read amounts. Use the output convention below.
Normalize a nonempty nonnegative parts list by its positive sum and multiply each fraction by nonnegative basis for amounts.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| parts | Parts | Required. Array of finite number; maximum items 256. |
| basis | Basis | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| amounts | Amounts | Required. Array of finite number; maximum items 256. |
{
"input": {
"parts": [
2,
3
],
"basis": 100
},
"output": {
"amounts": [
40,
60
]
}
} Limitations and assumptions
- Parts are relative weights, not necessarily fractions summing to one. Basis zero yields all zero amounts; no indivisible-unit rounding, fairness criterion, or real allocation is determined.
- The field tables state structural bounds; the mechanics also specify cross-field constraints. Malformed inputs and unsupported domains cause errors. A successful false flag, empty branch value, or zero placeholder has the meaning stated above and is distinct from an input error.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Signed zero is exported as zero.
Alternative or Complementary methods
Check numerator, denominator, units, and adjustment order before comparing results. Use a complete allocation or physical mixture model when a single arithmetic term leaves relevant constraints unspecified.
References
Similar or alternative tools
- Concentration Addition Exact Volume Basis
Use an explicitly measured final volume rather than assuming additive component volumes.
- Proportion Interval Common Denominator Bound
Divide ordered numerator bounds by a nonzero common denominator, reversing their assignment to lower and upper when the denominator is negative.