Array interface for dense svd and pca