(49G) Shortest Integer Linear Combination of Two Vectors - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (49G) Shortest Integer Linear Combination of Two Vectors (/thread-4435.html) |
(49G) Shortest Integer Linear Combination of Two Vectors - Gerald H - 07-26-2015 10:34 AM For input of two conformable vectors the programme returns a shortest integer linear combination.(A small problem of English - the indefinite article in the previous sentence seems awkward.) eg For input [ 6 26 38 146 ] [ 35 49 77 462 ] the programme returns [ 17 -29 -37 24 ] Code:
|