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

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

?? mvmc.cc

?? sparselib庫
?? CC
字號:
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*//*                                                                           *//*                                                                           *//*                   MV++ Numerical Matrix/Vector C++ Library                *//*                             MV++ Version 1.5                              *//*                                                                           *//*                                  R. Pozo                                  *//*               National Institute of Standards and Technology              *//*                                                                           *//*                                  NOTICE                                   *//*                                                                           *//* Permission to use, copy, modify, and distribute this software and         *//* its documentation for any purpose and without fee is hereby granted       *//* provided that this permission notice appear in all copies and             *//* supporting documentation.                                                 *//*                                                                           *//* Neither the Institution (National Institute of Standards and Technology)  *//* nor the author makes any representations about the suitability of this    *//* software for any purpose.  This software is provided ``as is''without     *//* expressed or implied warranty.                                            *//*                                                                           *//*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/////          Basic matrix class (COMPLEX precision)//#include "mvm.h" int MV_ColMat_COMPLEX::dim(int i) const {    if (i==0) return dim0_;    if (i==1) return dim1_;    else    {     std::cerr << "Called MV_ColMat::dim(" << i << ")  must be 0 or 1 " << "\n";     exit(1);    }    // never should be here, but many compilers warn about not    // returning a value    return 0;}// NOTE: null construct have ref_ flag turned OFF, otherwise, we can//          never reset the dim of matrix....MV_ColMat_COMPLEX::MV_ColMat_COMPLEX()  : v_(), dim0_(0), dim1_(0) , lda_(0), ref_(0){}                                                                MV_ColMat_COMPLEX::MV_ColMat_COMPLEX( int m,  int n) : v_(m*n),        dim0_(m), dim1_(n), lda_(m), ref_(0) {}MV_ColMat_COMPLEX::MV_ColMat_COMPLEX( int m,  int n, const COMPLEX &s) : v_(m*n),        dim0_(m), dim1_(n), lda_(m), ref_(0) {    operator=(s);}// operators and member functionsMV_ColMat_COMPLEX& MV_ColMat_COMPLEX::operator=(const COMPLEX & s) {    int M = dim(0);    int N = dim(1);    if (lda_ == M)      // if continuous, then just assign as a ?        v_ =  s;        // single long vector.    else    {    // this should run much faster than the just accessing each (i,j)    // element individually     //        MV_VecIndex I(0,M-1);        for (int j=0; j<N; j++)        {            v_(I) = s;            I += lda_;        }    }    return *this;}MV_ColMat_COMPLEX& MV_ColMat_COMPLEX::newsize( int M,  int N){    v_.newsize(M*N);    dim0_ = M;    dim1_ = N;    lda_ = M;    return *this;}MV_ColMat_COMPLEX& MV_ColMat_COMPLEX::operator=(const MV_ColMat_COMPLEX & m) {    int lM = dim0_;     // left hand arg  (this)    int lN = dim1_;    int rM = m.dim0_;   // right hand arg (m)    int rN = m.dim1_;    // if the left-hand side is a matrix reference, the we copy the    // elements of m *into* the region specfied by the reference.    // i.e. inject().    if (ref_)    {        // check conformance,               if (lM != rM  || lN != rN)              {            std::cerr << "MV_ColMatRef::operator=  non-conformant assignment.\n";            exit(1);        }    }    else    {        newsize(rM,rN);    }    // at this point the left hand and right hand sides are conformant    // this should run much faster than the just accessing each (i,j)    // element individually     // if both sides are contigous, then just copy as one vector    if ( lM == lda_ && rM == m.lda_)    {        MV_VecIndex I(0,rM*rN-1);        v_(I) = m.v_(I);    }    else    {        // slower way...        MV_VecIndex I(0,rM-1);        MV_VecIndex K(0,rM-1);        for (int j=0; j<rN; j++)        {            v_(I) = m.v_(K);            I += lda_;            K += m.lda_;        }    }    return *this;   }MV_ColMat_COMPLEX::MV_ColMat_COMPLEX(const MV_ColMat_COMPLEX & m) :         v_(m.dim0_*m.dim1_), dim0_(m.dim0_),        dim1_(m.dim1_), lda_(m.dim0_), ref_(0){    int M = m.dim0_;    int N = m.dim1_;    // this should run much faster than the just accessing each (i,j)    // element individually     MV_VecIndex I(0,M-1);    MV_VecIndex K(0,M-1);    for (int j=0; j<N; j++)    {        v_(I) = m.v_(K);        I += lda_;        K += m.lda_;    }}MV_ColMat_COMPLEX::MV_ColMat_COMPLEX(COMPLEX* d,  int m,  int n) :    v_(m*n), dim0_(m), dim1_(n), lda_(m), ref_(0){    int mn = m*n;    // d is contiguous, so just copy 1-d vector    for (int i=0; i< mn; i++)            v_[i] = d[i];}MV_ColMat_COMPLEX::MV_ColMat_COMPLEX(COMPLEX* d,  int m,  int n,          int lda) :    v_(m*n), dim0_(m), dim1_(n), lda_(lda), ref_(0){    for (int j=0; j< n; j++)        for (int i=0; i<m; i++)            operator()(i,j) = d[j*lda + i];   // could be made faster!!}MV_ColMat_COMPLEX MV_ColMat_COMPLEX::operator()(const MV_VecIndex &I, const MV_VecIndex &J){    // check that index is not out of bounds    //    if (I.end() >= dim0_  || J.end() >= dim1_)    {        std::cerr << "Matrix index: (" << I.start() << ":" << I.end()               << "," << J.start() << ":" << J.end()                << ") not a subset of (0:" << dim0_ - 1 << ", 0:"              << dim1_-1 << ") " << "\n";        exit(1);    }    // this automatically returns a reference    //     return MV_ColMat_COMPLEX(&v_[J.start()*lda_ + I.start()],             I.end() - I.start() + 1,             J.end() - J.start() + 1, lda_, MV_Matrix_::ref);}const MV_ColMat_COMPLEX MV_ColMat_COMPLEX::operator()(const MV_VecIndex &I,     const MV_VecIndex &J) const{    std::cerr << "Const operator()(MV_VecIndex, MV_VecIndex) called " << "\n";    // check that index is not out of bounds    //    if (I.end() >= dim0_  || J.end() >= dim1_)    {        std::cerr << "Matrix index: (" << I.start() << ":" << I.end()               << "," << J.start() << ":" << J.end()                << ") not a subset of (0:" << dim0_ - 1 << ", 0:"              << dim1_-1 << ") " << "\n";        exit(1);    }    // this automatically returns a reference.  we need to     // "cast away" constness here, so the &v_[] arg will    // not cause a compiler error.    //    MV_ColMat_COMPLEX *t =  (MV_ColMat_COMPLEX*) this;    return MV_ColMat_COMPLEX(&(t->v_[J.start()*lda_ + I.start()]),             I.end() - I.start() + 1,             J.end() - J.start() + 1, lda_, MV_Matrix_::ref);}MV_ColMat_COMPLEX::~MV_ColMat_COMPLEX() {}std::ostream&   operator<<(std::ostream& s, const MV_ColMat_COMPLEX& V){    int M = V.dim(0);    int N = V.dim(1);    for (int i=0; i<M; i++)    {        for (int j=0; j<N; j++)            s << V(i,j) << " " ;        s << "\n";    }        return s;}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美在线色视频| 亚洲小说春色综合另类电影| 亚洲欧美成人一区二区三区| 日韩av一级电影| 99久久国产免费看| 久久久久久久久久久久电影| 亚洲va韩国va欧美va| 99麻豆久久久国产精品免费 | 色哟哟国产精品免费观看| 日韩一区二区精品| 一区二区三区精密机械公司| 国产精品自在欧美一区| 制服丝袜亚洲精品中文字幕| 亚洲人成网站色在线观看| 国产乱子轮精品视频| 69堂亚洲精品首页| 亚洲成在线观看| 色综合久久中文字幕| 欧美国产日韩一二三区| 激情综合五月天| 日韩一级高清毛片| 日本欧美加勒比视频| 欧美精选一区二区| 午夜不卡av在线| 欧美色手机在线观看| 亚洲视频一二区| 91丨九色丨黑人外教| 亚洲视频一区在线| 91网上在线视频| 亚洲精品亚洲人成人网在线播放| 99久久精品免费观看| 国产精品少妇自拍| 91小视频在线| 亚洲一区二区欧美| 欧美日韩国产大片| 日韩精品1区2区3区| 欧美一区二区在线免费观看| 免费观看成人鲁鲁鲁鲁鲁视频| 欧美一区二区三区免费观看视频| 看片的网站亚洲| 久久一区二区视频| 粉嫩蜜臀av国产精品网站| 中文欧美字幕免费| 色女孩综合影院| 视频一区二区三区在线| 欧美一区二区福利在线| 国产一区欧美一区| 国产精品少妇自拍| 欧美色区777第一页| 奇米影视7777精品一区二区| 精品99久久久久久| 成人深夜福利app| 亚洲一区二区三区免费视频| 欧美一区二区三区四区高清| 国产一区二区三区在线观看免费视频 | 国产精品亚洲专一区二区三区| 国产日产精品一区| 色欧美日韩亚洲| 麻豆视频一区二区| 国产日韩欧美亚洲| 欧美日韩你懂得| 国产在线播放一区三区四| 日韩一区日韩二区| 日韩精品专区在线| 99精品欧美一区二区三区小说 | 国产精品水嫩水嫩| 欧美日韩一区在线观看| 九色综合狠狠综合久久| 国产精品久久久久久久蜜臀| 精品视频色一区| 国产精品伊人色| 一区二区三区四区乱视频| 欧美大片在线观看一区二区| 成人激情图片网| 日韩不卡一二三区| 亚洲天堂成人在线观看| 欧美精品一区二区三区视频| 91网站在线播放| 国产精品一区二区在线观看不卡| 一个色在线综合| 欧美国产禁国产网站cc| 欧美精品自拍偷拍| 成人一区二区三区视频| 麻豆一区二区三区| 亚洲成人综合视频| 日韩理论片中文av| 久久精子c满五个校花| 在线播放/欧美激情| 91免费版在线| 国产成人av一区二区三区在线观看| 一区二区三区欧美视频| 国产欧美日本一区视频| 日韩欧美高清一区| 欧美日韩中文国产| 一本色道久久综合亚洲精品按摩| 国产真实乱对白精彩久久| 午夜精品久久久久久不卡8050| 亚洲人成亚洲人成在线观看图片| 国产视频在线观看一区二区三区| 日韩一区二区精品在线观看| 欧美色网一区二区| 色爱区综合激月婷婷| 972aa.com艺术欧美| 99免费精品在线| 99久久婷婷国产综合精品电影| 国产高清一区日本| 精品一区二区三区在线播放视频| 三级欧美在线一区| 亚洲成人av福利| 亚洲成人免费av| 亚洲妇熟xx妇色黄| 婷婷中文字幕综合| 首页国产欧美久久| 青青草视频一区| 极品尤物av久久免费看| 久久精品国产99| 国产综合色在线视频区| 国产做a爰片久久毛片| 国产精品亚洲专一区二区三区| 国产高清无密码一区二区三区| 国产乱码精品一区二区三区av| 国产毛片精品视频| 成人综合在线观看| av电影一区二区| 欧美性大战久久| 欧美色网站导航| 欧美电影免费提供在线观看| 日韩欧美一级精品久久| 欧美精品一区视频| 亚洲国产高清在线| 一区二区高清在线| 日韩va欧美va亚洲va久久| 久久se精品一区精品二区| 国产电影一区在线| 在线观看视频欧美| 日韩一区二区在线观看| 久久久久9999亚洲精品| 日韩码欧中文字| 午夜精品福利一区二区三区蜜桃| 日韩国产精品久久| 国产成人免费在线| 欧美性三三影院| 欧美精品一区二区在线观看| 欧美激情综合在线| 亚洲成av人片| 国产精品一区二区x88av| 色婷婷精品大在线视频| 欧美一区二区大片| 国产精品久久毛片av大全日韩| 亚洲一区二区三区免费视频| 久久99精品久久久| 色综合久久久久久久| 91麻豆精品国产91久久久久| 国产亚洲精品久| 午夜久久久久久| 粉嫩13p一区二区三区| 欧美美女视频在线观看| 国产欧美在线观看一区| 亚洲电影在线免费观看| 国产成人在线视频播放| 欧美区一区二区三区| 国产精品三级久久久久三级| 琪琪久久久久日韩精品| 91在线播放网址| 久久综合久色欧美综合狠狠| 亚洲精品视频在线看| 国产精品18久久久久久久网站| 欧美中文字幕不卡| 国产精品无人区| 久久精品二区亚洲w码| 欧洲精品视频在线观看| 欧美激情在线免费观看| 精品亚洲aⅴ乱码一区二区三区| 91久久线看在观草草青青| 国产情人综合久久777777| 日韩成人一级大片| 欧洲精品在线观看| 亚洲激情第一区| www.日韩大片| 欧美国产精品v| 国产成人在线免费观看| 日韩免费看的电影| 香蕉av福利精品导航| 91免费版在线看| 亚洲女人****多毛耸耸8| 成人综合在线观看| 日本一区二区三区电影| 国产一区 二区| 欧美大片在线观看一区二区| 日韩成人免费在线| 在线播放日韩导航| 五月激情丁香一区二区三区| 色噜噜狠狠成人中文综合| 亚洲欧洲av另类| www.亚洲色图.com| 成人欧美一区二区三区白人| 99精品在线观看视频| 亚洲欧美日韩国产一区二区三区| 成人性生交大合| 中文字幕一区二区三区在线观看 |