Tcl Library Source Code

Ticket Change Details
Login
Overview

Artifact ID: 604ee198d820660456b61f89c5966ff338d80d3addcff3d593827637453c0931
Ticket: e6b26853885c35d26243793e917107fa6f47206d
proportional weighted shares
User & Date: anonymous 2018-08-06 23:17:21
Changes

  1. Change assignee to "nobody"
  2. Change closer to "nobody"
  3. Change cmimetype to "text/plain"
  4. Change comment to:

    ::math::stats::proportional_weighted_shares -- # # Return the proportional_weighted_shares from quantity by two or more given ratios # # Arguments:

    1. quantity first value is quantity
    2. args second, third, and sucessive values
    3. are two or more given ratios (usually integers in high school)
    4. However, decimal fractions for both quantity and args seem
    5. to be reasonably accurate to TCL precison. # Conditions and answer checks
    6. The quantity must be larger than 0
    7. The number of args must be larger than 2
    8. If sum of parts equals zero, formula is undefined
    9. Number of parts should be equal to [ llength $args ]
    10. Total value of parts should be equal to quantity entry
    11. The solution may not be unique in that more than one
    12. set of shares may have or generate the same multiple ratios. # Results: parts of quantity into proportional weighted shares
  5. Change foundin to "8.6"
  6. Change is_private to "0"
  7. Change login to "anonymous"
  8. Change priority to "5 Medium"
  9. Change private_contact to "6a35629ae8c91b8189de05be9d12871d9ac9f8f9"
  10. Change resolution to "None"
  11. Change severity to "Cosmetic"
  12. Change status to "Open"
  13. Change submitter to "anonymous"
  14. Change subsystem to "math :: statistics"
  15. Change title to "proportional weighted shares"
  16. Change type to "Patch"