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

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

?? surf.cpp

?? 這本書是matlab經典書籍
?? CPP
字號:
//
// MATLAB Compiler: 2.2
// Date: Tue Jun 25 10:54:12 2002
// Arguments: "-B" "macro_default" "-O" "all" "-O" "fold_scalar_mxarrays:on"
// "-O" "fold_non_scalar_mxarrays:on" "-O" "optimize_integer_for_loops:on" "-O"
// "array_indexing:on" "-O" "optimize_conditionals:on" "-B" "sglcpp" "-p" "-W"
// "main" "-L" "Cpp" "-t" "-T" "link:exe" "-h" "libmmfile.mlib" "-W" "mainhg"
// "libmwsglm.mlib" "exm110633_1" 
//
#include "surf.hpp"
#include "libmatlbm.hpp"
#include "libmmfile.hpp"

static mxChar _array1_[126] = { 'R', 'u', 'n', '-', 't', 'i', 'm', 'e', ' ',
                                'E', 'r', 'r', 'o', 'r', ':', ' ', 'F', 'i',
                                'l', 'e', ':', ' ', 's', 'u', 'r', 'f', ' ',
                                'L', 'i', 'n', 'e', ':', ' ', '1', ' ', 'C',
                                'o', 'l', 'u', 'm', 'n', ':', ' ', '1', ' ',
                                'T', 'h', 'e', ' ', 'f', 'u', 'n', 'c', 't',
                                'i', 'o', 'n', ' ', '"', 's', 'u', 'r', 'f',
                                '"', ' ', 'w', 'a', 's', ' ', 'c', 'a', 'l',
                                'l', 'e', 'd', ' ', 'w', 'i', 't', 'h', ' ',
                                'm', 'o', 'r', 'e', ' ', 't', 'h', 'a', 'n',
                                ' ', 't', 'h', 'e', ' ', 'd', 'e', 'c', 'l',
                                'a', 'r', 'e', 'd', ' ', 'n', 'u', 'm', 'b',
                                'e', 'r', ' ', 'o', 'f', ' ', 'o', 'u', 't',
                                'p', 'u', 't', 's', ' ', '(', '1', ')', '.' };
static mwArray _mxarray0_ = mclInitializeString(126, _array1_);
static mwArray _mxarray2_ = mclInitializeDouble(1.0);
static double _ieee_plusinf_ = mclGetInf();
static mwArray _mxarray3_ = mclInitializeDouble(_ieee_plusinf_);
static mwArray _mxarray4_ = mclInitializeDoubleVector(0, 0, (double *)NULL);

static mxChar _array6_[6] = { 'p', 'a', 'r', 'e', 'n', 't' };
static mwArray _mxarray5_ = mclInitializeString(6, _array6_);
static mwArray _mxarray7_ = mclInitializeDouble(3.0);

static mxChar _array9_[2] = { 'o', 'n' };
static mwArray _mxarray8_ = mclInitializeString(2, _array9_);

void InitializeModule_surf() {
}

void TerminateModule_surf() {
}

static mwArray Msurf(int nargout_, mwArray varargin);

_mexLocalFunctionTable _local_function_table_surf
  = { 0, (mexFunctionTableEntry *)NULL };

//
// The function "Nsurf" contains the nargout interface for the "surf"
// M-function from file "d:\MATLAB6p1\toolbox\matlab\graph3d\surf.m" (lines
// 1-78). This interface is only produced if the M-function uses the special
// variable "nargout". The nargout interface allows the number of requested
// outputs to be specified via the nargout argument, as opposed to the normal
// interface which dynamically calculates the number of outputs based on the
// number of non-NULL inputs it receives. This function processes any input
// arguments and passes them to the implementation version of the function,
// appearing above.
//
mwArray Nsurf(int nargout, mwVarargin varargin) {
    mwArray h(mclGetUninitializedArray());
    h = Msurf(nargout, varargin.ToArray());
    return h;
}

//
// The function "surf" contains the normal interface for the "surf" M-function
// from file "d:\MATLAB6p1\toolbox\matlab\graph3d\surf.m" (lines 1-78). This
// function processes any input arguments and passes them to the implementation
// version of the function, appearing above.
//
mwArray surf(mwVarargin varargin) {
    int nargout(1);
    mwArray h(mclGetUninitializedArray());
    h = Msurf(nargout, varargin.ToArray());
    return h;
}

//
// The function "Vsurf" contains the void interface for the "surf" M-function
// from file "d:\MATLAB6p1\toolbox\matlab\graph3d\surf.m" (lines 1-78). The
// void interface is only produced if the M-function uses the special variable
// "nargout", and has at least one output. The void interface function
// specifies zero output arguments to the implementation version of the
// function, and in the event that the implementation version still returns an
// output (which, in MATLAB, would be assigned to the "ans" variable), it
// deallocates the output. This function processes any input arguments and
// passes them to the implementation version of the function, appearing above.
//
void Vsurf(mwVarargin varargin) {
    mwArray h(mwArray::UNDEFINED);
    h = Msurf(0, varargin.ToArray());
}

//
// The function "mlxSurf" contains the feval interface for the "surf"
// M-function from file "d:\MATLAB6p1\toolbox\matlab\graph3d\surf.m" (lines
// 1-78). The feval function calls the implementation version of surf through
// this function. This function processes any input arguments and passes them
// to the implementation version of the function, appearing above.
//
void mlxSurf(int nlhs, mxArray * plhs[], int nrhs, mxArray * prhs[]) {
    MW_BEGIN_MLX();
    {
        mwArray mprhs[1];
        mwArray mplhs[1];
        mclCppUninitializeArrays(1, mplhs);
        if (nlhs > 1) {
            error(_mxarray0_);
        }
        mprhs[0] = mclCreateVararginCell(nrhs, prhs);
        mplhs[0] = Msurf(nlhs, mprhs[0]);
        plhs[0] = mplhs[0].FreezeData();
    }
    MW_END_MLX();
}

//
// The function "Msurf" is the implementation version of the "surf" M-function
// from file "d:\MATLAB6p1\toolbox\matlab\graph3d\surf.m" (lines 1-78). It
// contains the actual compiled code for that M-function. It is a static
// function and must only be called from one of the interface functions,
// appearing below.
//
//
// function h = surf(varargin)
//
static mwArray Msurf(int nargout_, mwArray varargin) {
    mwLocalFunctionTable save_local_function_table_
      (&_local_function_table_surf);
    int nargin_(nargin(-1, mwVarargin(varargin)));
    mwArray h(mclGetUninitializedArray());
    mwArray hh(mclGetUninitializedArray());
    mwArray i(mclGetUninitializedArray());
    mwArray cax(mclGetUninitializedArray());
    mwArray ans(mclGetUninitializedArray());
    //
    // %SURF   3-D colored surface.
    // %   SURF(X,Y,Z,C) plots the colored parametric surface defined by
    // %   four matrix arguments.  The view point is specified by VIEW.
    // %   The axis labels are determined by the range of X, Y and Z,
    // %   or by the current setting of AXIS.  The color scaling is determined
    // %   by the range of C, or by the current setting of CAXIS.  The scaled
    // %   color values are used as indices into the current COLORMAP.
    // %   The shading model is set by SHADING.
    // %
    // %   SURF(X,Y,Z) uses C = Z, so color is proportional to surface height.
    // %
    // %   SURF(x,y,Z) and SURF(x,y,Z,C), with two vector arguments replacing
    // %   the first two matrix arguments, must have length(x) = n and
    // %   length(y) = m where [m,n] = size(Z).  In this case, the vertices
    // %   of the surface patches are the triples (x(j), y(i), Z(i,j)).
    // %   Note that x corresponds to the columns of Z and y corresponds to
    // %   the rows.
    // %
    // %   SURF(Z) and SURF(Z,C) use x = 1:n and y = 1:m.  In this case,
    // %   the height, Z, is a single-valued function, defined over a
    // %   geometrically rectangular grid.
    // %
    // %   SURF(...,'PropertyName',PropertyValue,...) sets the value of the 
    // %   specified surface property.  Multiple property values can be set
    // %   with a single statement.
    // %
    // %   SURF returns a handle to a SURFACE object.
    // %
    // %   AXIS, CAXIS, COLORMAP, HOLD, SHADING and VIEW set figure, axes, and 
    // %   surface properties which affect the display of the surface.
    // %
    // %   See also SURFC, SURFL, MESH, SHADING.
    // 
    // %-------------------------------
    // %   Additional details:
    // %
    // %   If the NextPlot axis property is REPLACE (HOLD is off), SURF resets 
    // %   all axis properties, except Position, to their default values
    // %   and deletes all axis children (line, patch, surf, image, and 
    // %   text objects).
    // 
    // %   Copyright 1984-2001 The MathWorks, Inc. 
    // %   $Revision: 5.13 $  $Date: 2001/04/15 11:58:58 $
    // 
    // %   J.N. Little 1-5-92
    // 
    // error(nargchk(1,inf,nargin))
    //
    error(mwVe(nargchk(_mxarray2_, _mxarray3_, nargin_)));
    //
    // 
    // cax = [];
    //
    cax = _mxarray4_;
    //
    // 
    // 
    // if nargin > 1
    //
    if (nargin_ > 1) {
        //
        // % try to fetch axes handle from input args
        // for i = 1:length(varargin)
        //
        int v_(mclForIntStart(1));
        int e_(mclForIntEnd(mwArray(mclLengthInt(mwVa(varargin, "varargin")))));
        if (v_ > e_) {
            i = _mxarray4_;
        } else {
            //
            // if isstr(varargin{i}) & strncmpi(varargin{i}, 'parent', length(varargin{i})) & nargin > i
            // cax = varargin{i+1};
            // break;
            // end
            // end
            //
            for (; ; ) {
                mwArray a_
                  (mwVe(
                     feval(
                       mwValueVarargout(),
                       mlxIsstr,
                       mwVarargin(
                         mwVe(mwVsa(varargin, "varargin").cell(v_))))));
                if (tobool(a_)) {
                    a_
                      = a_
                        & mwVe(
                            feval(
                              mwValueVarargout(),
                              mlxStrncmpi,
                              mwVarargin(
                                mwVe(mwVsa(varargin, "varargin").cell(v_)),
                                _mxarray5_,
                                mwVe(
                                  feval(
                                    mwValueVarargout(),
                                    mlxLength,
                                    mwVarargin(
                                      mwVe(
                                        mwVsa(varargin, "varargin").cell(
                                          v_))))))));
                } else {
                    a_ = 0;
                }
                if (tobool(a_) && tobool(a_ & nargin_ > v_)) {
                    cax = mwVsa(varargin, "varargin").cell(v_ + 1);
                    break;
                } else {
                }
                if (v_ == e_) {
                    break;
                }
                ++v_;
            }
            i = v_;
        }
    //
    // end
    //
    }
    //
    // 
    // % use nextplot unless user specifed an axes handle
    // if isempty(cax)
    //
    if (tobool(mwVe(isempty(mwVv(cax, "cax"))))) {
        //
        // cax = newplot;
        //
        cax = Nnewplot(1, mwArray::DIN);
    //
    // end
    //
    }
    //
    // 
    // hh = surface(varargin{:});
    //
    hh
      = Nsurface(
          1, mwVarargin(mwVe(mwVsa(varargin, "varargin").cell(colon()))));
    //
    // 
    // if ~ishold(cax)
    //
    if (mclNotBool(mwVe(ishold(mwVv(cax, "cax"))))) {
        //
        // view(cax,3);
        //
        ans.EqAns(Nview(0, NULL, mwVv(cax, "cax"), _mxarray7_));
        //
        // grid(cax,'on');
        //
        grid(mwVv(cax, "cax"), _mxarray8_);
    //
    // end
    //
    }
    //
    // 
    // if nargout == 1
    //
    if (nargout_ == 1) {
        //
        // h = hh;
        //
        h = mwVsv(hh, "hh");
    //
    // end
    //
    }
    mwValidateOutput(h, 1, nargout_, "h", "surf");
    return h;
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
久久福利资源站| 91精品免费在线观看| 在线视频观看一区| 欧美精品一区视频| 偷窥国产亚洲免费视频| 成人性生交大片免费看中文| 欧美乱妇20p| 亚洲视频一二区| 国产高清不卡一区二区| 91精品蜜臀在线一区尤物| 国产精品亲子乱子伦xxxx裸| 男女激情视频一区| 欧美少妇bbb| 亚洲女人的天堂| 成人视屏免费看| 久久青草国产手机看片福利盒子 | 日韩精品影音先锋| 亚洲国产三级在线| 91麻豆国产在线观看| 欧美一区二区三级| 亚洲激情五月婷婷| 99久久国产综合精品麻豆| 久久久欧美精品sm网站| 欧美a级一区二区| 欧美日韩亚洲综合一区| 亚洲视频网在线直播| 成人午夜av影视| 久久久午夜精品| 国产成人亚洲综合a∨婷婷图片| 91精品一区二区三区久久久久久| 亚洲欧美区自拍先锋| 97精品国产97久久久久久久久久久久| 国产日韩欧美一区二区三区乱码| 精品制服美女丁香| 亚洲精品在线免费播放| 日av在线不卡| 欧美一区二区视频在线观看2020| 三级一区在线视频先锋| 欧美日韩国产大片| 亚洲第一精品在线| 欧美日韩日日摸| 日韩在线观看一区二区| 欧美一区二区三区在线视频 | 欧美日韩成人在线| 午夜精品影院在线观看| 欧美精品自拍偷拍动漫精品| 亚洲国产精品一区二区久久| 精品视频在线视频| 婷婷六月综合网| 欧美电视剧在线看免费| 狠狠色2019综合网| 久久色在线视频| 成年人国产精品| 亚洲精选一二三| 在线不卡免费欧美| 极品尤物av久久免费看| 久久免费看少妇高潮| 国产精品一卡二| 国产精品传媒入口麻豆| 在线观看免费视频综合| 日本午夜精品一区二区三区电影 | 欧美日韩精品专区| 免费成人av资源网| 欧美国产欧美综合| 91久久奴性调教| 美日韩一区二区三区| 精品国产免费一区二区三区香蕉 | 精品系列免费在线观看| 国产欧美精品一区aⅴ影院| 91在线国内视频| 亚洲不卡av一区二区三区| 欧美成人欧美edvon| 成人综合激情网| 香蕉影视欧美成人| 国产欧美日韩在线看| 欧美在线观看视频在线| 国产在线精品视频| 亚洲一区二区三区自拍| 亚洲精品在线观看网站| 日本韩国欧美国产| 国产伦精品一区二区三区视频青涩 | 欧美亚洲自拍偷拍| 国产一区欧美二区| 亚洲国产人成综合网站| 久久精品免费在线观看| 欧美亚洲一区二区在线| 国产ts人妖一区二区| 午夜国产不卡在线观看视频| 欧美激情中文字幕| 欧美精品久久天天躁| 成人黄色免费短视频| 久久精品理论片| 亚洲精品国久久99热| 欧美精品一区二区蜜臀亚洲| 色婷婷激情综合| 国产一区二区三区黄视频| 亚洲福利一区二区| 国产精品久久久99| 国产亚洲午夜高清国产拍精品| 欧美体内she精高潮| av成人动漫在线观看| 激情文学综合插| 日韩成人一级片| 亚洲国产你懂的| 亚洲欧美激情在线| 一区二区三区电影在线播| 国产精品灌醉下药二区| 国产欧美日韩在线| 久久婷婷国产综合精品青草| 日韩视频在线永久播放| 在线不卡免费av| 欧美绝品在线观看成人午夜影视| 99亚偷拍自图区亚洲| www.日韩精品| av亚洲精华国产精华精华| 成人毛片老司机大片| 国产精品中文字幕日韩精品| 国产做a爰片久久毛片| 久久99国内精品| 国产一区二区三区在线观看免费视频| 五月天久久比比资源色| 一级日本不卡的影视| 亚洲精品乱码久久久久久黑人| 国产精品卡一卡二| 国产精品狼人久久影院观看方式| 国产欧美一区在线| 亚洲色图在线视频| 亚洲精品国产精华液| 亚洲尤物视频在线| 亚洲成人黄色影院| 日韩精品成人一区二区三区| 男男视频亚洲欧美| 精品一区二区在线视频| 国产精品一区在线观看你懂的| 国产精品1区二区.| 成人av在线播放网站| 色综合天天综合给合国产| 91久久久免费一区二区| 91精品欧美一区二区三区综合在| 91麻豆精品久久久久蜜臀| 欧美成人伊人久久综合网| 久久久久综合网| 自拍av一区二区三区| 亚洲成人av中文| 精品一区二区三区久久久| 国产69精品久久久久777| 99麻豆久久久国产精品免费优播| 91激情在线视频| 日韩三级高清在线| 国产精品久久久久久户外露出| 一区二区高清在线| 久久成人久久鬼色| 99久久国产综合精品女不卡 | av一二三不卡影片| 欧美人妖巨大在线| 久久精品在这里| 亚洲一区二区成人在线观看| 久久99精品视频| 91国内精品野花午夜精品| 日韩精品一区二区三区四区视频| 欧美国产日韩亚洲一区| 日日夜夜精品免费视频| 国产成人综合自拍| 欧美日韩在线播放一区| 久久综合色之久久综合| 亚洲第一激情av| 成人激情校园春色| 欧美一区二区三区的| 亚洲乱码国产乱码精品精可以看| 免费观看久久久4p| 色婷婷综合在线| 国产亚洲成aⅴ人片在线观看| 亚洲国产另类精品专区| 成人黄色av电影| 精品电影一区二区三区| 视频一区视频二区中文字幕| av在线综合网| 国产欧美日韩综合| 精品一区二区日韩| 欧美精品免费视频| 亚洲美腿欧美偷拍| 丰满亚洲少妇av| 亚洲精品一区二区三区四区高清| 亚洲国产美国国产综合一区二区| 成人国产免费视频| 久久综合九色综合97_久久久| 亚洲成人资源网| 在线观看日韩精品| 亚洲欧美另类综合偷拍| 成人av电影观看| 国产精品污污网站在线观看| 久久99热这里只有精品| 日韩欧美国产高清| 免费高清在线视频一区·| 欧美丰满嫩嫩电影| 亚洲线精品一区二区三区| 色天天综合久久久久综合片| 中文字幕免费一区| 风间由美一区二区三区在线观看 | 高清在线成人网|