亚洲欧美第一页_禁久久精品乱码_粉嫩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电影在线| 欧美性大战久久久久久久蜜臀 | 欧美大白屁股肥臀xxxxxx| 综合色天天鬼久久鬼色| 国产曰批免费观看久久久| 91精品国产综合久久精品麻豆| 麻豆久久一区二区| 欧美极品xxx| 99re这里只有精品视频首页| 秋霞av亚洲一区二区三| 国产亚洲欧洲997久久综合 | 成人免费视频视频| 亚洲国产精品久久艾草纯爱| 精品伦理精品一区| 91丨九色porny丨蝌蚪| 欧美成人a∨高清免费观看| 天堂久久一区二区三区| 久久婷婷久久一区二区三区| 91福利社在线观看| 成人综合在线观看| 日韩国产成人精品| 亚洲视频在线观看三级| www日韩大片| 欧美精选在线播放| 91久久人澡人人添人人爽欧美| 精品一区二区三区免费观看| 亚洲色图欧美在线| 国产精品视频麻豆| 日韩欧美国产一区二区三区 | 亚洲一区二区成人在线观看| 中文字幕不卡三区| 日韩午夜在线观看视频| 欧洲中文字幕精品| 欧美日韩一级片在线观看| 一本高清dvd不卡在线观看| 精品在线播放午夜| 91在线观看美女| 91精品福利在线| 欧美调教femdomvk| 色综合天天综合网天天狠天天| 一本到三区不卡视频| 在线一区二区视频| 日韩欧美一级精品久久| 日韩一区二区三区四区| 久久久夜色精品亚洲| 亚洲欧美另类久久久精品| 亚瑟在线精品视频| 久久国产精品露脸对白| 国产一区二区电影| 97久久久精品综合88久久| 欧美系列在线观看| 欧美揉bbbbb揉bbbbb| 日韩精品影音先锋| 亚洲国产日产av| 国产一区 二区 三区一级| 99久久国产综合精品麻豆| 欧美三区免费完整视频在线观看| 日韩手机在线导航| 久久九九99视频| 亚洲最大成人网4388xx| 免费成人小视频| 欧美在线视频不卡| 久久婷婷综合激情| 午夜精品一区在线观看| 国产 欧美在线| 色爱区综合激月婷婷| 国产亚洲美州欧州综合国| 自拍av一区二区三区| 精品一区二区三区在线视频| 欧美不卡视频一区| 一区二区三区四区在线| 精品一区二区三区免费观看| 国产在线精品免费| 不卡高清视频专区| 国产欧美一区二区三区鸳鸯浴| 国内精品免费在线观看| 国产精品少妇自拍| 色呦呦一区二区三区| 久久一区二区三区四区| 久久影视一区二区| 亚洲国产视频a| 成人做爰69片免费看网站| 日韩欧美一区电影| 亚洲精品乱码久久久久久日本蜜臀| 成人欧美一区二区三区视频网页 | 亚洲午夜精品久久久久久久久| 国产精品亚洲综合一区在线观看| 欧美一级欧美一级在线播放| 最新高清无码专区| 在线观看日韩电影| 一区二区三区久久久| 成人中文字幕合集| 中文字幕欧美日韩一区| 极品少妇xxxx偷拍精品少妇| 亚洲欧洲www| 国产一区亚洲一区| 精品福利视频一区二区三区| 老司机免费视频一区二区三区| 精品美女一区二区| 国产乱对白刺激视频不卡| 欧美老女人第四色| 亚洲欧美一区二区三区极速播放 | 欧美性欧美巨大黑白大战| 精品国产乱码久久久久久图片 | 国产亚洲成aⅴ人片在线观看| 欧美亚洲丝袜传媒另类| 丝袜美腿成人在线| 久久久午夜精品| 欧美日韩成人综合在线一区二区| 国产精品小仙女| 国产精品白丝jk黑袜喷水| 日本不卡在线视频| 7777精品伊人久久久大香线蕉超级流畅 | 蜜桃一区二区三区在线观看| 久久综合一区二区| 91精品国产综合久久小美女| 91小视频在线| 99精品欧美一区二区三区综合在线| 精品在线免费观看| 国产一区二区主播在线| 老司机精品视频一区二区三区| 奇米777欧美一区二区| 午夜av一区二区| 五月天久久比比资源色| 亚洲最色的网站| 午夜精品在线视频一区| 丝袜亚洲另类欧美| 免费观看成人鲁鲁鲁鲁鲁视频| 天堂av在线一区| 麻豆一区二区99久久久久| 精品在线观看视频| 成人av在线影院| 日本韩国一区二区| 日韩精品中文字幕在线一区| 色婷婷国产精品| 国产一区二区三区免费| 亚洲一卡二卡三卡四卡| 久久一区二区三区国产精品| 97久久久精品综合88久久| 成人av影视在线观看| 精品无人区卡一卡二卡三乱码免费卡| 手机精品视频在线观看| 久久福利资源站| 色哟哟在线观看一区二区三区| 国产精品一二二区| 免费欧美日韩国产三级电影| 亚洲第一二三四区| 国产精品视频免费看| 欧美刺激午夜性久久久久久久 | 中文字幕免费不卡| 欧美精品第一页| 精品不卡在线视频| 成人欧美一区二区三区白人| 午夜精品久久久久久久久久| 麻豆91在线看| 欧美性大战久久久| 国产午夜精品久久久久久免费视 | 欧美三级日韩三级国产三级| 精品电影一区二区| 亚洲第一在线综合网站| 韩日欧美一区二区三区| 欧美美女网站色| 亚洲欧美日韩中文播放 | 日韩免费观看高清完整版 | 日本一区二区三区电影| 丝袜脚交一区二区| 91麻豆蜜桃一区二区三区| 精品国产成人在线影院| 天天射综合影视| 在线观看一区二区视频| 亚洲人成7777| 不卡一区在线观看| 亚洲欧洲一区二区三区| 国产91精品欧美| 国产精品青草久久| 国产999精品久久久久久绿帽| 欧美大黄免费观看| 久久97超碰国产精品超碰| 欧美精品成人一区二区三区四区| 自拍av一区二区三区| 99re热这里只有精品免费视频| 日韩视频一区二区| 老司机精品视频一区二区三区| 欧美日本乱大交xxxxx| 日日夜夜精品视频免费| 日韩欧美视频在线| 激情小说亚洲一区| 国产精品美日韩| 99久久精品国产精品久久| 亚洲最新视频在线播放| 337p亚洲精品色噜噜噜| 另类中文字幕网| 欧美国产亚洲另类动漫| 色综合天天综合网国产成人综合天 | 久久久精品天堂| 色综合天天综合网天天看片| 日韩不卡手机在线v区| 久久综合视频网| 欧美午夜精品久久久|