smart_svd: Smart Singular Value Decomposition (SVD)

Description Usage Arguments Details Examples

Description

Computes SVD in which only positive singular values are returned

Usage

1
  smart_svd(m, tol)

Arguments

m

a numeric matrix

tol

tolerance threshold for positiveness

Details

The signs of the columns vectors in u and v may be different from that given by svd.

Examples

1
2
3
4
set.seed(321)
m = matrix(runif(15), 5, 3)

smart_svd(m)

gastonstat/matrixkit documentation built on May 16, 2019, 5:45 p.m.