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

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

?? scaled1d.h

?? Matrix_Template_Library.rar c++矩陣模塊庫函數
?? H
字號:
// -*- c++ -*-//// Copyright 1997, 1998, 1999 University of Notre Dame.// Authors: Andrew Lumsdaine, Jeremy G. Siek, Lie-Quan Lee//// This file is part of the Matrix Template Library//// You should have received a copy of the License Agreement for the// Matrix Template Library along with the software;  see the// file LICENSE.  If not, contact Office of Research, University of Notre// Dame, Notre Dame, IN  46556.//// Permission to modify the code and to distribute modified code is// granted, provided the text of this NOTICE is retained, a notice that// the code was modified is included with the above COPYRIGHT NOTICE and// with the COPYRIGHT NOTICE in the LICENSE file, and that the LICENSE// file is distributed with the modified code.//// LICENSOR MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED.// By way of example, but not limitation, Licensor MAKES NO// REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY// PARTICULAR PURPOSE OR THAT THE USE OF THE LICENSED SOFTWARE COMPONENTS// OR DOCUMENTATION WILL NOT INFRINGE ANY PATENTS, COPYRIGHTS, TRADEMARKS// OR OTHER RIGHTS.////                                                                           ////===========================================================================#ifndef MTL_SCALED1D_H#define MTL_SCALED1D_H#include "mtl/scale_iterator.h"#include "mtl/reverse_iter.h"#include "mtl/matrix_traits.h"namespace mtl {  //: Scaled Container  //!category: containers, adaptors  //!component: type  //  //  This class in not meant to be used directly. Instead it is  //  created automatically when the <TT>scaled(x,alpha)</TT> function is  //  invoked. See the documentation for "Shortcut for Creating A  //  Scaled Vector".  This vector type is READ ONLY therefore there  //  are only const versions of things ie. there is no iterator  //  typedef, just const_iterator.  //    //!definition: scaled1D.h  //!tparam: RandomAccessContainerRef - The type of underlying container  //!models: RandomAccessRefContainerReftemplate <class RandomAccessContainerRef>class scaled1D {  typedef RandomAccessContainerRef Vector;  typedef scaled1D<Vector> self;public:  /**@name Type Definitions */  //: Static size, 0 if dynamic size  enum { N = RandomAccessContainerRef::N };    //: The value type  typedef typename Vector::value_type value_type;  //: The unsigned integral type for dimensions and indices  typedef typename Vector::size_type size_type;  //: The dimension, should be 1D  typedef typename Vector::dimension dimension;  //: The iterator type (do not use this)  typedef scale_iterator<typename Vector::iterator, value_type> iterator;  //: The const iterator type  typedef scale_iterator<typename Vector::const_iterator, value_type> const_iterator;  //: The const reverse iterator type  typedef reverse_iter<const_iterator> const_reverse_iterator;  //: The pointer to the value type  typedef typename const_iterator::pointer pointer;  //: The reference type  typedef typename const_iterator::reference reference;  /* not really a reference, scale_iterator uses the value_type */  //: The const reference type  typedef typename const_iterator::reference const_reference;  //: The difference type  typedef typename const_iterator::difference_type difference_type;  //: The scaled type  typedef scaled1D< self > scaled_type;  //: The sparsity tag (dense_tag or sparse_tag)  typedef typename Vector::sparsity sparsity;  typedef scaled1D< typename Vector::subrange_type > subrange_type;  //: The type for the index array  typedef typename Vector::IndexArray IndexArray;  //: The reference type to the index array  typedef typename Vector::IndexArrayRef IndexArrayRef;    /**@name Constructors */  //: Default constructor  inline scaled1D() { }  //: Normal constructor  inline scaled1D(const Vector& r, value_type scale_)     : rep(r), scale(scale_) { }  inline scaled1D(const Vector& r, value_type scale_, do_scaled)     : rep(r), scale(scale_) { }  //: Copy constructor  inline scaled1D(const self& x) : rep(x.rep), scale(x.scale) { }  //: Assignment operator  inline self& operator=(const self& x) {    rep = x.rep; scale = x.scale; return *this;  }  //: Destructor  inline ~scaled1D() { }  /**@name Access Methods */    //: Access base containers  inline operator Vector&() { return rep; }  //: Return a const iterator pointing to the beginning of the vector  //!wheredef: Container  inline const_iterator begin() const {    return const_iterator(rep.begin(), scale);   }  //: Return a const iterator pointing past the end of the vector  //!wheredef: Container  inline const_iterator end() const {    return const_iterator(rep.end(), scale);   }  //: Return a const reverse iterator pointing to the last element of the vector  //!wheredef: Reversible Container  inline const_reverse_iterator rbegin() const {    return const_reverse_iterator(end());  }  //: Return a const reverse iterator pointing past the end of the vector  //!wheredef: Reversible Container  inline const_reverse_iterator rend() const {    return const_reverse_iterator(begin());  }  //: Return a const reference to the element with index i  inline const_reference operator[](size_type i) const {     return rep[i] * scale;   }  /* JGS, this changes the behaviour of the indexing for submatrices   * inline const_reference operator[](int n) const { return *(begin() + n); }   */  inline subrange_type operator()(size_type s, size_type f) const {    return subrange_type(rep(s,f), scale);  }  //: Return the size of the vector  //!wheredef: Container    inline size_type size() const { return rep.size(); }  //: Return the number of non-zeroes  //!wheredef: Vector    inline size_type nnz() const { return rep.nnz(); }  inline self& adjust_index(size_type i) { rep.adjust_index(i); return *this; }    protected:  Vector rep;  value_type scale;}; //: Shortcut for Creating a Scaled Argument//   This function can be used to scale arguments in MTL//   functions. For example, to perform the vector addition operation//   z <- a x + b y one would do the following://   <pre>//   mtl::add(scaled(x, alpha), scaled(y, beta), z);//   </pre>//   The actual multiplication by alpha and beta is done within the//   algorithm, so the performance is the same as if the add()//   function had parameters for alpha and beta.  The//   <TT>scaled()</TT> function can be used with any vector or matrix//   argument in MTL functions.  Do not confuse this function with//   <TT>mtl::scale()</TT> which are stand-alone functions.//!category: containers//!component: function//!definition: scaled1D.h//!typereqs: T must be convertible to Scalable's value_type//!typereqs: Scalable's value_type must be a model of Ring//!complexity: compile time and adds a single multiplication//!complexity: to each element access inside of any algorithm//!example: y_ax_y.cctemplate <class Scalable, class T> inlinetypename Scalable::scaled_typescaled(const Scalable& A, const T& alpha){  typedef typename Scalable::scaled_type scaled_type;  return scaled_type(A, alpha, do_scaled());}} /* namespace mtl */#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久女同精品一区二区| 久久国产尿小便嘘嘘尿| 亚洲午夜激情av| 日韩精品1区2区3区| 激情综合亚洲精品| 99久久综合精品| 欧美乱妇20p| 久久久久久综合| 一区二区三区在线免费观看| 日韩精品欧美精品| 成人性生交大片免费看中文网站| 日本精品免费观看高清观看| 日韩欧美高清一区| 亚洲少妇最新在线视频| 日本va欧美va精品发布| 成人黄色av电影| 欧美美女bb生活片| 中文字幕精品—区二区四季| 亚洲国产成人高清精品| 国产一区高清在线| 欧美在线观看18| 国产色产综合产在线视频| 亚洲一区二区偷拍精品| 激情亚洲综合在线| 色94色欧美sute亚洲线路一ni| 日韩一卡二卡三卡| 亚洲三级在线观看| 久草这里只有精品视频| 色欧美片视频在线观看在线视频| 欧美成人一区二区三区在线观看| 亚洲色图在线播放| 国模一区二区三区白浆| 51午夜精品国产| 国产色产综合产在线视频| 亚洲国产精品人人做人人爽| 国产综合色视频| 国产人成亚洲第一网站在线播放| 一区二区视频在线| 成熟亚洲日本毛茸茸凸凹| 日韩一区二区三| 偷拍自拍另类欧美| 91视频www| 久久丝袜美腿综合| 911精品国产一区二区在线| 国产日韩欧美一区二区三区乱码| 亚洲成av人影院| 色噜噜狠狠色综合欧洲selulu| 久久免费美女视频| 亚洲gay无套男同| 91视频.com| 国产日产精品一区| 国产一区二区三区免费观看| 日韩三级免费观看| 日韩在线一区二区| 欧美午夜精品一区二区蜜桃| 国产精品你懂的在线欣赏| 国产一区二区在线电影| 日韩久久久精品| 日本免费在线视频不卡一不卡二| 国产亚洲污的网站| 美女性感视频久久| 91精品国产免费| 香蕉影视欧美成人| 欧美年轻男男videosbes| 亚洲综合一区在线| 在线观看区一区二| 一区二区视频在线| 91麻豆国产精品久久| 1000精品久久久久久久久| 成人a区在线观看| 中文文精品字幕一区二区| 国产一区美女在线| 国产欧美一区二区精品性色超碰| 国产高清不卡一区| 国产欧美日韩另类视频免费观看| 国产麻豆9l精品三级站| 亚洲精品一区二区三区99| 狠狠色综合播放一区二区| 久久婷婷综合激情| 成人永久aaa| 国产精品免费视频一区| k8久久久一区二区三区| 国产精品国产三级国产专播品爱网 | 国产一区二区三区四| 久久久五月婷婷| 视频一区视频二区中文| 欧美日韩中文一区| 亚洲国产成人av| 欧美日韩综合在线免费观看| 视频一区二区三区入口| 欧美日韩高清一区二区| 亚洲精品福利视频网站| 欧美日韩亚洲综合| 日本欧美一区二区三区乱码 | 337p日本欧洲亚洲大胆色噜噜| 国产成人av网站| 国产区在线观看成人精品| 精品一区二区三区在线观看| 久久精品一区蜜桃臀影院| 国产成人一区二区精品非洲| 国产精品乱码妇女bbbb| av亚洲精华国产精华| 亚洲国产综合视频在线观看| 欧美日韩欧美一区二区| 精品在线观看免费| 久久亚洲综合色| 成人爽a毛片一区二区免费| 国产精品短视频| 欧美日本一道本| 久久国产精品无码网站| 一区二区中文视频| 99免费精品视频| 日韩电影在线观看一区| 久久蜜桃一区二区| 99久久精品国产精品久久| 亚洲成人在线观看视频| 欧美xxx久久| 色综合欧美在线视频区| 日韩—二三区免费观看av| 国产色产综合色产在线视频| 色综合激情五月| 久久国产人妖系列| 国产精品热久久久久夜色精品三区| 91黄色免费网站| 麻豆成人久久精品二区三区小说| 欧美极品美女视频| 欧美性视频一区二区三区| 蜜臀国产一区二区三区在线播放 | 另类小说一区二区三区| 欧美国产一区二区在线观看| 精品视频一区二区三区免费| 精品在线播放午夜| 亚洲一二三四久久| 精品少妇一区二区三区免费观看 | 亚洲欧洲精品一区二区三区| 91精品国产色综合久久| 粉嫩av亚洲一区二区图片| 日韩高清国产一区在线| 国产精品日日摸夜夜摸av| 欧美一区二区三区免费| 成人av电影在线网| 麻豆91在线看| 中文字幕一区在线观看视频| 日韩视频一区二区在线观看| 91久久精品网| 国产乱对白刺激视频不卡| 婷婷一区二区三区| 中文字幕av不卡| 精品毛片乱码1区2区3区| 91原创在线视频| 国产高清视频一区| 日韩不卡手机在线v区| 国产精品国产三级国产普通话三级| 色成人在线视频| 成人午夜免费电影| 亚洲午夜国产一区99re久久| 中文字幕精品在线不卡| 精品国产凹凸成av人网站| 欧美日韩免费观看一区二区三区| 成人性视频免费网站| 久久精品国产第一区二区三区| 亚洲国产美国国产综合一区二区| 久久久蜜臀国产一区二区| 制服视频三区第一页精品| 精品国产成人系列| 91精品国产综合久久久久久| 色婷婷亚洲精品| 成人福利视频网站| 国产一区二区主播在线| 日本特黄久久久高潮| 三级影片在线观看欧美日韩一区二区| 国产精品免费久久| 精品久久久影院| 欧美日韩国产中文| 91蝌蚪porny| 成人免费福利片| 国产真实乱对白精彩久久| 性做久久久久久| 亚洲午夜在线电影| 亚洲色图制服诱惑 | 日韩黄色免费网站| 性做久久久久久免费观看欧美| 亚洲欧美激情在线| 欧美高清在线视频| 久久精子c满五个校花| 精品久久久久久久人人人人传媒 | 国产福利一区二区三区视频在线 | 欧美电影在线免费观看| 欧洲生活片亚洲生活在线观看| av在线不卡观看免费观看| 粉嫩av一区二区三区粉嫩| 成人av午夜影院| 国产99久久精品| 成人性生交大片免费看视频在线 | 亚洲精品国产第一综合99久久| 久久亚洲精品小早川怜子| 欧美一区二区三区四区久久| 色94色欧美sute亚洲线路一久| 欧美日韩亚洲综合一区二区三区| 在线视频国内一区二区|