{"id":561,"date":"2026-06-13T10:32:42","date_gmt":"2026-06-13T07:32:42","guid":{"rendered":"https:\/\/musruser.psi.ch\/?p=561"},"modified":"2026-06-13T10:35:26","modified_gmt":"2026-06-13T07:35:26","slug":"trim-sp-with-complex-compositions","status":"publish","type":"post","link":"https:\/\/musruser.psi.ch\/?p=561","title":{"rendered":"TRIM.SP with complex compositions"},"content":{"rendered":"\n<p>You may have not realized it, but TRIM.SP could not handle compositions with more than 5 elements (last elements were ignored). Well, now it can. A recent upgrade of the original FORTRAN code enables you to simulate the stopping distribution in compositions with up to 12 elements. During this upgrade, I also discovered and fixed some hidden bugs. These are not alarming and affect only boundary cases, so don&#8217;t worry your old TRIM.SP calculations were (most probably) fine.<\/p>\n\n\n\n<p>Download the most recent version <a href=\"http:\/\/musruser.psi.ch\/Packages\">here<\/a>. The source code is <a href=\"https:\/\/bitbucket.org\/zaher-salman\/trimsp\/\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You may have not realized it, but TRIM.SP could not handle compositions with more than 5 elements (last elements were ignored). Well, now it can. A recent upgrade of the original FORTRAN code enables you to simulate the stopping distribution in compositions with up to 12 elements. During this upgrade, I also discovered and fixed &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/musruser.psi.ch\/?p=561\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;TRIM.SP with complex compositions&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/musruser.psi.ch\/index.php?rest_route=\/wp\/v2\/posts\/561"}],"collection":[{"href":"https:\/\/musruser.psi.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/musruser.psi.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/musruser.psi.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/musruser.psi.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=561"}],"version-history":[{"count":2,"href":"https:\/\/musruser.psi.ch\/index.php?rest_route=\/wp\/v2\/posts\/561\/revisions"}],"predecessor-version":[{"id":564,"href":"https:\/\/musruser.psi.ch\/index.php?rest_route=\/wp\/v2\/posts\/561\/revisions\/564"}],"wp:attachment":[{"href":"https:\/\/musruser.psi.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/musruser.psi.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/musruser.psi.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}