def find_fiedler(L, x, normalized, tol):
    q = (1 if (method == 'tracemin_pcg') else min(4, (L.shape[0] - 1)))
    X = asmatrix(normal(size=(q, L.shape[0]))).T
    (sigma, X) = _tracemin_fiedler(L, X, normalized, tol, method)
    return (sigma[0], X[:, 0])
def find_fiedler(L, x, normalized, tol):
    q = (1 if (method == 'tracemin_pcg') else min(4, (L.shape[0] - 1)))
    X = asmatrix(normal(size=(q, L.shape[0]))).T
    (sigma, X) = _tracemin_fiedler(L, X, normalized, tol, method)
    return (sigma[0], X[:, 0])