亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? zgelsx.c

?? 著名的LAPACK矩陣計算軟件包, 是比較新的版本, 一般用到矩陣分解的朋友也許會用到
?? C
?? 第 1 頁 / 共 2 頁
字號:
#include "blaswrap.h"
/*  -- translated by f2c (version 19990503).
   You must link the resulting object file with the libraries:
	-lf2c -lm   (in that order)
*/

#include "f2c.h"

/* Common Block Declarations */

struct {
    doublereal ops, itcnt;
} latime_;

#define latime_1 latime_

struct {
    doublereal opcnt[6], timng[6];
} lstime_;

#define lstime_1 lstime_

/* Table of constant values */

static doublecomplex c_b1 = {0.,0.};
static doublecomplex c_b2 = {1.,0.};
static integer c__0 = 0;
static integer c__2 = 2;
static integer c__1 = 1;

/* Subroutine */ int zgelsx_(integer *m, integer *n, integer *nrhs, 
	doublecomplex *a, integer *lda, doublecomplex *b, integer *ldb, 
	integer *jpvt, doublereal *rcond, integer *rank, doublecomplex *work, 
	doublereal *rwork, integer *info)
{
    /* Initialized data */

    static integer gelsx = 1;
    static integer geqpf = 2;
    static integer latzm = 6;
    static integer unm2r = 4;
    static integer trsm = 5;
    static integer tzrqf = 3;

    /* System generated locals */
    integer a_dim1, a_offset, b_dim1, b_offset, i__1, i__2, i__3;
    doublecomplex z__1;

    /* Builtin functions */
    double z_abs(doublecomplex *);
    void d_cnjg(doublecomplex *, doublecomplex *);

    /* Local variables */
    static doublereal anrm, bnrm, smin, smax;
    static integer i__, j, k, iascl, ibscl;
    extern doublereal dopla_(char *, integer *, integer *, integer *, integer 
	    *, integer *);
    static integer ismin, ismax;
    static doublecomplex c1, c2, s1, s2, t1, t2;
    extern /* Subroutine */ int ztrsm_(char *, char *, char *, char *, 
	    integer *, integer *, doublecomplex *, doublecomplex *, integer *,
	     doublecomplex *, integer *);
    extern doublereal dopbl3_(char *, integer *, integer *, integer *)
	    ;
    extern /* Subroutine */ int zlaic1_(integer *, integer *, doublecomplex *,
	     doublereal *, doublecomplex *, doublecomplex *, doublereal *, 
	    doublecomplex *, doublecomplex *), dlabad_(doublereal *, 
	    doublereal *);
    extern doublereal dlamch_(char *);
    static integer mn;
    extern /* Subroutine */ int zunm2r_(char *, char *, integer *, integer *, 
	    integer *, doublecomplex *, integer *, doublecomplex *, 
	    doublecomplex *, integer *, doublecomplex *, integer *);
    extern doublereal dsecnd_(void);
    extern /* Subroutine */ int xerbla_(char *, integer *);
    extern doublereal zlange_(char *, integer *, integer *, doublecomplex *, 
	    integer *, doublereal *);
    static doublereal bignum;
    extern /* Subroutine */ int zlascl_(char *, integer *, integer *, 
	    doublereal *, doublereal *, integer *, integer *, doublecomplex *,
	     integer *, integer *), zgeqpf_(integer *, integer *, 
	    doublecomplex *, integer *, integer *, doublecomplex *, 
	    doublecomplex *, doublereal *, integer *), zlaset_(char *, 
	    integer *, integer *, doublecomplex *, doublecomplex *, 
	    doublecomplex *, integer *);
    static doublereal sminpr, smaxpr, smlnum;
    extern /* Subroutine */ int zlatzm_(char *, integer *, integer *, 
	    doublecomplex *, integer *, doublecomplex *, doublecomplex *, 
	    doublecomplex *, integer *, doublecomplex *), ztzrqf_(
	    integer *, integer *, doublecomplex *, integer *, doublecomplex *,
	     integer *);
    static doublereal tim1, tim2;


#define a_subscr(a_1,a_2) (a_2)*a_dim1 + a_1
#define a_ref(a_1,a_2) a[a_subscr(a_1,a_2)]
#define b_subscr(a_1,a_2) (a_2)*b_dim1 + a_1
#define b_ref(a_1,a_2) b[b_subscr(a_1,a_2)]


/*  -- LAPACK driver routine (instrumented to count ops, version 3.0) --   
       Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,   
       Courant Institute, Argonne National Lab, and Rice University   
       September 30, 1994   

       Common blocks to return operation counts and timings   

    Purpose   
    =======   

    ZGELSX computes the minimum-norm solution to a complex linear least   
    squares problem:   
        minimize || A * X - B ||   
    using a complete orthogonal factorization of A.  A is an M-by-N   
    matrix which may be rank-deficient.   

    Several right hand side vectors b and solution vectors x can be   
    handled in a single call; they are stored as the columns of the   
    M-by-NRHS right hand side matrix B and the N-by-NRHS solution   
    matrix X.   

    The routine first computes a QR factorization with column pivoting:   
        A * P = Q * [ R11 R12 ]   
                    [  0  R22 ]   
    with R11 defined as the largest leading submatrix whose estimated   
    condition number is less than 1/RCOND.  The order of R11, RANK,   
    is the effective rank of A.   

    Then, R22 is considered to be negligible, and R12 is annihilated   
    by unitary transformations from the right, arriving at the   
    complete orthogonal factorization:   
       A * P = Q * [ T11 0 ] * Z   
                   [  0  0 ]   
    The minimum-norm solution is then   
       X = P * Z' [ inv(T11)*Q1'*B ]   
                  [        0       ]   
    where Q1 consists of the first RANK columns of Q.   

    Arguments   
    =========   

    M       (input) INTEGER   
            The number of rows of the matrix A.  M >= 0.   

    N       (input) INTEGER   
            The number of columns of the matrix A.  N >= 0.   

    NRHS    (input) INTEGER   
            The number of right hand sides, i.e., the number of   
            columns of matrices B and X. NRHS >= 0.   

    A       (input/output) COMPLEX*16 array, dimension (LDA,N)   
            On entry, the M-by-N matrix A.   
            On exit, A has been overwritten by details of its   
            complete orthogonal factorization.   

    LDA     (input) INTEGER   
            The leading dimension of the array A.  LDA >= max(1,M).   

    B       (input/output) COMPLEX*16 array, dimension (LDB,NRHS)   
            On entry, the M-by-NRHS right hand side matrix B.   
            On exit, the N-by-NRHS solution matrix X.   
            If m >= n and RANK = n, the residual sum-of-squares for   
            the solution in the i-th column is given by the sum of   
            squares of elements N+1:M in that column.   

    LDB     (input) INTEGER   
            The leading dimension of the array B. LDB >= max(1,M,N).   

    JPVT    (input/output) INTEGER array, dimension (N)   
            On entry, if JPVT(i) .ne. 0, the i-th column of A is an   
            initial column, otherwise it is a free column.  Before   
            the QR factorization of A, all initial columns are   
            permuted to the leading positions; only the remaining   
            free columns are moved as a result of column pivoting   
            during the factorization.   
            On exit, if JPVT(i) = k, then the i-th column of A*P   
            was the k-th column of A.   

    RCOND   (input) DOUBLE PRECISION   
            RCOND is used to determine the effective rank of A, which   
            is defined as the order of the largest leading triangular   
            submatrix R11 in the QR factorization with pivoting of A,   
            whose estimated condition number < 1/RCOND.   

    RANK    (output) INTEGER   
            The effective rank of A, i.e., the order of the submatrix   
            R11.  This is the same as the order of the submatrix T11   
            in the complete orthogonal factorization of A.   

    WORK    (workspace) COMPLEX*16 array, dimension   
                        (min(M,N) + max( N, 2*min(M,N)+NRHS )),   

    RWORK   (workspace) DOUBLE PRECISION array, dimension (2*N)   

    INFO    (output) INTEGER   
            = 0:  successful exit   
            < 0:  if INFO = -i, the i-th argument had an illegal value   

    =====================================================================   

       Parameter adjustments */
    a_dim1 = *lda;
    a_offset = 1 + a_dim1 * 1;
    a -= a_offset;
    b_dim1 = *ldb;
    b_offset = 1 + b_dim1 * 1;
    b -= b_offset;
    --jpvt;
    --work;
    --rwork;

    /* Function Body */

    mn = min(*m,*n);
    ismin = mn + 1;
    ismax = (mn << 1) + 1;

/*     Test the input arguments. */

    *info = 0;
    if (*m < 0) {
	*info = -1;
    } else if (*n < 0) {
	*info = -2;
    } else if (*nrhs < 0) {
	*info = -3;
    } else if (*lda < max(1,*m)) {
	*info = -5;
    } else /* if(complicated condition) */ {
/* Computing MAX */
	i__1 = max(1,*m);
	if (*ldb < max(i__1,*n)) {
	    *info = -7;
	}
    }

    if (*info != 0) {
	i__1 = -(*info);
	xerbla_("ZGELSX", &i__1);
	return 0;
    }

/*     Quick return if possible   

   Computing MIN */
    i__1 = min(*m,*n);
    if (min(i__1,*nrhs) == 0) {
	*rank = 0;
	return 0;
    }

/*     Get machine parameters */

    lstime_1.opcnt[gelsx - 1] += 2.;
    smlnum = dlamch_("S") / dlamch_("P");
    bignum = 1. / smlnum;
    dlabad_(&smlnum, &bignum);

/*     Scale A, B if max elements outside range [SMLNUM,BIGNUM] */

    anrm = zlange_("M", m, n, &a[a_offset], lda, &rwork[1]);
    iascl = 0;
    if (anrm > 0. && anrm < smlnum) {

/*        Scale matrix norm up to SMLNUM */

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲成人免费在线观看| 色婷婷综合久久久久中文一区二区| 国产91丝袜在线18| 欧美色图激情小说| 中文字幕中文字幕在线一区 | av网站一区二区三区| 欧美一区二区久久久| 亚洲免费在线观看视频| 国产一区二区在线看| 欧美猛男超大videosgay| 亚洲另类在线制服丝袜| 国产成人丝袜美腿| 久久这里只有精品首页| 蜜乳av一区二区| 88在线观看91蜜桃国自产| 亚洲免费在线电影| 99这里只有精品| 日本一区二区久久| 国产真实乱偷精品视频免| 欧美一卡二卡三卡| 日本aⅴ精品一区二区三区| 欧美色爱综合网| 亚洲国产cao| 欧美日韩一区精品| 亚洲午夜在线观看视频在线| 在线观看国产日韩| 亚洲精品高清视频在线观看| 色婷婷激情久久| 夜色激情一区二区| 欧美亚洲动漫精品| 亚洲一级电影视频| 欧美色爱综合网| 日韩电影在线免费观看| 欧美一区二区免费| 精品无人码麻豆乱码1区2区 | caoporen国产精品视频| 国产精品国产三级国产a| 成人动漫一区二区在线| 国产精品麻豆久久久| 色综合色综合色综合色综合色综合| 国产精品丝袜在线| 在线免费观看成人短视频| 亚洲精品v日韩精品| 色哟哟精品一区| 日韩国产在线一| 精品国产乱码久久久久久老虎| 久久国产精品露脸对白| 精品少妇一区二区三区免费观看 | 国产精品久久夜| 91亚洲精品一区二区乱码| 一级特黄大欧美久久久| 欧美美女一区二区在线观看| 免费一级欧美片在线观看| 久久嫩草精品久久久精品一| 99精品在线观看视频| 亚洲丰满少妇videoshd| 欧美不卡一二三| 成人小视频在线| 亚洲午夜久久久久| 久久综合久久久久88| 一本大道综合伊人精品热热| 日本欧美肥老太交大片| 国产女主播视频一区二区| 91福利国产成人精品照片| 久久精品国产亚洲高清剧情介绍| 国产蜜臀97一区二区三区| 欧美在线制服丝袜| 国产成人精品亚洲777人妖 | 日韩毛片高清在线播放| 欧美精品tushy高清| 成人午夜大片免费观看| 亚洲成人高清在线| 99久久精品99国产精品| 韩国毛片一区二区三区| 中文久久乱码一区二区| 欧美色中文字幕| 国产精品综合久久| 亚洲成人中文在线| 国产午夜精品理论片a级大结局| 欧美日韩一区二区三区在线看| 激情偷乱视频一区二区三区| 亚洲精品国产a久久久久久| 精品久久一区二区三区| 欧美色图免费看| av不卡免费电影| 免费观看日韩电影| 亚洲不卡av一区二区三区| 国产精品乱人伦一区二区| 欧美一级日韩不卡播放免费| 日本韩国精品在线| av资源网一区| 亚洲欧美日韩中文播放| 欧美在线不卡视频| 欧美视频完全免费看| 豆国产96在线|亚洲| 蜜桃一区二区三区四区| 亚洲国产精品一区二区久久恐怖片| 久久精品视频免费观看| 精品日韩99亚洲| 91精品国产欧美一区二区成人| 97精品久久久久中文字幕| 国产成人av影院| 国产一区二区三区四区五区美女| 青青草国产成人av片免费| 性感美女极品91精品| 亚洲老妇xxxxxx| 亚洲日本韩国一区| 亚洲色图清纯唯美| 亚洲欧美在线视频| 中文字幕亚洲综合久久菠萝蜜| 国产欧美一区二区精品性色 | 中文字幕亚洲不卡| 欧美高清在线精品一区| 麻豆国产精品777777在线| 欧美老年两性高潮| 色乱码一区二区三区88| 99久久99久久精品免费看蜜桃 | 日日摸夜夜添夜夜添国产精品 | 免费美女久久99| 日韩不卡在线观看日韩不卡视频| 天使萌一区二区三区免费观看| 亚洲第一会所有码转帖| 日韩专区一卡二卡| 麻豆国产欧美日韩综合精品二区| 另类小说欧美激情| 极品少妇xxxx精品少妇| 国产成人免费视频精品含羞草妖精| 国产一区二区免费视频| 99久久免费精品| 欧美图片一区二区三区| 欧美一级黄色录像| 精品电影一区二区| 欧美高清在线精品一区| 亚洲精品国产一区二区精华液 | 久久精品72免费观看| 国内不卡的二区三区中文字幕| 韩国理伦片一区二区三区在线播放 | 日韩欧美一级片| 日本一区二区三区在线不卡| 中文字幕日韩一区| 亚洲成人一二三| 国产一区二区在线视频| 日本精品一级二级| 欧美一区二区三区系列电影| 26uuu国产电影一区二区| 国产精品动漫网站| 三级一区在线视频先锋| 高清成人免费视频| 欧美色图激情小说| 国产亚洲一区字幕| 亚洲一区在线视频| 国产精品一级片在线观看| 欧美中文字幕一区| 国产日韩欧美精品综合| 亚洲主播在线观看| 国产精品一级在线| 这里只有精品电影| 国产精品乱人伦中文| 美国十次了思思久久精品导航| 成人av在线播放网址| 欧美一级欧美三级在线观看| 中文字幕不卡在线观看| 美女一区二区三区在线观看| 91视视频在线观看入口直接观看www | 国产成人综合在线观看| 欧美午夜精品久久久| 国产女同性恋一区二区| 蜜桃久久精品一区二区| 欧美性视频一区二区三区| 国产精品美女久久久久久久久久久 | 国产三级一区二区| 日日夜夜免费精品| 欧洲精品中文字幕| 亚洲欧洲精品一区二区三区不卡| 蜜桃视频一区二区三区在线观看| 91传媒视频在线播放| 欧美国产日韩在线观看| 国产主播一区二区三区| 7777女厕盗摄久久久| 亚洲一区二区精品久久av| 99久久精品国产麻豆演员表| 久久九九久久九九| 国产一区二区三区四| 精品成人私密视频| 久久精品国产99久久6| 777色狠狠一区二区三区| 一区二区三区在线观看国产 | 亚洲福利电影网| 91福利精品第一导航| 亚洲激情六月丁香| 99国产精品久久久久| 亚洲欧洲日韩av| 99精品国产热久久91蜜凸| 欧美国产禁国产网站cc| 粉嫩高潮美女一区二区三区| 国产日韩欧美一区二区三区乱码 | 色综合色综合色综合色综合色综合 | 国产一区二区在线电影| 久久免费国产精品| 国产高清亚洲一区|