Open derekbeaton opened 4 years ago
actually, instead of a compact input argument, the argument should be which items the user wants g*() to return...
it will be defaulted to all available (also as "all"), but they can select, and from there I'll choose. anything that does not match defaults to returning "all". upper or lower case should be irrelevant
So if I do a compact return, the first version should be a simple boolean T/F. IN the return object I should include a $rank to indicate the actual size, and then use an attribute for whether the object is compact or not
geigen() -- compact returns $q & $l gsvd() -- compact returns $p, $d, $q gplssvd() -- compact returns at least $lx $ly, and possibly $p, $d, $q
the g*() functions should have a "verbose" and "compact" return
the "verbose" is what I have now, the "compact" should focus strictly on what is needed for decomposition/rebuilding the matrices