Beispiel #1
0
def algo_3(A, l=8, method='srft', verbose=False):
    """
    Computes the third algorithm
    """
    if verbose:
        print "Computing Fast Randomized Range Finder"
    Q, _ = fast_randomized_range_finder(A, l=l, method=method)
    if verbose:
        print "Compute direct SVD"
#    return row_extraction_svd(A, Q)
    return direct_svd(A, Q)
Beispiel #2
0
def algo_3(A, l=8, method='srft'):
    """
    Computes the third algorithm
    """
    Q, _ = fast_randomized_range_finder(A, l=l, method=method)
    return direct_svd(A, Q)
Beispiel #3
0
def algo_3(A, l=8, method='srft'):
    """
    Computes the third algorithm
    """
    Q, _ = fast_randomized_range_finder(A, l=l, method=method)
    return direct_svd(A, Q)