derekbeaton/GSVD

functionalize checks

Closed this issue · 1 comments

The same checks are performed in geigen(), gsvd(), and gplssvd() (sometimes also multiple times in each). These should be turned into functions and put into utils.R

it's easier to leave them in the function as is because they make changes to items needed within the function. adding new functions requires passing items back and forth which we don't need