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

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

?? surf.c

?? 這本書是matlab經典書籍
?? C
字號:
/*
 * MATLAB Compiler: 2.2
 * Date: Tue Jun 25 10:53:59 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" "sgl" "-m" "-W"
 * "main" "-L" "C" "-t" "-T" "link:exe" "-h" "libmmfile.mlib" "-W" "mainhg"
 * "libmwsglm.mlib" "exm110633_1" 
 */
#include "surf.h"
#include "libmatlbm.h"
#include "libmmfile.h"

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 mxArray * _mxarray0_;
static mxArray * _mxarray2_;
static double _ieee_plusinf_;
static mxArray * _mxarray3_;
static mxArray * _mxarray4_;

static mxChar _array6_[6] = { 'p', 'a', 'r', 'e', 'n', 't' };
static mxArray * _mxarray5_;
static mxArray * _mxarray7_;

static mxChar _array9_[2] = { 'o', 'n' };
static mxArray * _mxarray8_;

void InitializeModule_surf(void) {
    _mxarray0_ = mclInitializeString(126, _array1_);
    _mxarray2_ = mclInitializeDouble(1.0);
    _ieee_plusinf_ = mclGetInf();
    _mxarray3_ = mclInitializeDouble(_ieee_plusinf_);
    _mxarray4_ = mclInitializeDoubleVector(0, 0, (double *)NULL);
    _mxarray5_ = mclInitializeString(6, _array6_);
    _mxarray7_ = mclInitializeDouble(3.0);
    _mxarray8_ = mclInitializeString(2, _array9_);
}

void TerminateModule_surf(void) {
    mxDestroyArray(_mxarray8_);
    mxDestroyArray(_mxarray7_);
    mxDestroyArray(_mxarray5_);
    mxDestroyArray(_mxarray4_);
    mxDestroyArray(_mxarray3_);
    mxDestroyArray(_mxarray2_);
    mxDestroyArray(_mxarray0_);
}

static mxArray * Msurf(int nargout_, mxArray * varargin);

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

/*
 * The function "mlfNSurf" 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.
 */
mxArray * mlfNSurf(int nargout, ...) {
    mxArray * varargin = NULL;
    mxArray * h = mclGetUninitializedArray();
    mlfVarargin(&varargin, nargout, 0);
    mlfEnterNewContext(0, -1, varargin);
    h = Msurf(nargout, varargin);
    mlfRestorePreviousContext(0, 0);
    mxDestroyArray(varargin);
    return mlfReturnValue(h);
}

/*
 * The function "mlfSurf" 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.
 */
mxArray * mlfSurf(mxArray * synthetic_varargin_argument, ...) {
    mxArray * varargin = NULL;
    int nargout = 1;
    mxArray * h = mclGetUninitializedArray();
    mlfVarargin(&varargin, synthetic_varargin_argument, 1);
    mlfEnterNewContext(0, -1, varargin);
    h = Msurf(nargout, varargin);
    mlfRestorePreviousContext(0, 0);
    mxDestroyArray(varargin);
    return mlfReturnValue(h);
}

/*
 * The function "mlfVSurf" 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 mlfVSurf(mxArray * synthetic_varargin_argument, ...) {
    mxArray * varargin = NULL;
    mxArray * h = NULL;
    mlfVarargin(&varargin, synthetic_varargin_argument, 1);
    mlfEnterNewContext(0, -1, varargin);
    h = Msurf(0, synthetic_varargin_argument);
    mlfRestorePreviousContext(0, 0);
    mxDestroyArray(varargin);
}

/*
 * 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[]) {
    mxArray * mprhs[1];
    mxArray * mplhs[1];
    int i;
    if (nlhs > 1) {
        mlfError(_mxarray0_);
    }
    for (i = 0; i < 1; ++i) {
        mplhs[i] = mclGetUninitializedArray();
    }
    mlfEnterNewContext(0, 0);
    mprhs[0] = NULL;
    mlfAssign(&mprhs[0], mclCreateVararginCell(nrhs, prhs));
    mplhs[0] = Msurf(nlhs, mprhs[0]);
    mlfRestorePreviousContext(0, 0);
    plhs[0] = mplhs[0];
    mxDestroyArray(mprhs[0]);
}

/*
 * 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 mxArray * Msurf(int nargout_, mxArray * varargin) {
    mexLocalFunctionTable save_local_function_table_
      = mclSetCurrentLocalFunctionTable(&_local_function_table_surf);
    int nargin_ = mclNargin(-1, varargin, NULL);
    mxArray * h = mclGetUninitializedArray();
    mxArray * hh = mclGetUninitializedArray();
    mxArray * i = mclGetUninitializedArray();
    mxArray * cax = mclGetUninitializedArray();
    mxArray * ans = mclGetUninitializedArray();
    mclCopyArray(&varargin);
    /*
     * %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))
     */
    mlfError(mclVe(mlfNargchk(_mxarray2_, _mxarray3_, mlfScalar(nargin_))));
    /*
     * 
     * cax = [];
     */
    mlfAssign(&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(mlfScalar(mclLengthInt(mclVa(varargin, "varargin"))));
        if (v_ > e_) {
            mlfAssign(&i, _mxarray4_);
        } else {
            /*
             * if isstr(varargin{i}) & strncmpi(varargin{i}, 'parent', length(varargin{i})) & nargin > i
             * cax = varargin{i+1};
             * break;
             * end
             * end
             */
            for (; ; ) {
                mxArray * a_
                  = mclInitialize(
                      mclVe(
                        mclFeval(
                          mclValueVarargout(),
                          mlxIsstr,
                          mclVe(
                            mlfIndexRef(
                              mclVsa(varargin, "varargin"),
                              "{?}",
                              mlfScalar(v_))),
                          NULL)));
                if (mlfTobool(a_)) {
                    mlfAssign(
                      &a_,
                      mclAnd(
                        a_,
                        mclVe(
                          mclFeval(
                            mclValueVarargout(),
                            mlxStrncmpi,
                            mclVe(
                              mlfIndexRef(
                                mclVsa(varargin, "varargin"),
                                "{?}",
                                mlfScalar(v_))),
                            _mxarray5_,
                            mclVe(
                              mclFeval(
                                mclValueVarargout(),
                                mlxLength,
                                mclVe(
                                  mlfIndexRef(
                                    mclVsa(varargin, "varargin"),
                                    "{?}",
                                    mlfScalar(v_))),
                                NULL)),
                            NULL))));
                } else {
                    mlfAssign(&a_, mlfScalar(0));
                }
                if (mlfTobool(a_)
                    && mlfTobool(mclAnd(a_, mclBoolToArray(nargin_ > v_)))) {
                    mxDestroyArray(a_);
                    mlfAssign(
                      &cax,
                      mlfIndexRef(
                        mclVsa(varargin, "varargin"),
                        "{?}",
                        mlfScalar(v_ + 1)));
                    break;
                } else {
                    mxDestroyArray(a_);
                }
                if (v_ == e_) {
                    break;
                }
                ++v_;
            }
            mlfAssign(&i, mlfScalar(v_));
        }
    /*
     * end
     */
    }
    /*
     * 
     * % use nextplot unless user specifed an axes handle
     * if isempty(cax)
     */
    if (mlfTobool(mclVe(mlfIsempty(mclVv(cax, "cax"))))) {
        /*
         * cax = newplot;
         */
        mlfAssign(&cax, mlfNNewplot(1, NULL));
    /*
     * end
     */
    }
    /*
     * 
     * hh = surface(varargin{:});
     */
    mlfAssign(
      &hh,
      mlfNSurface(
        1,
        mclVe(
          mlfIndexRef(
            mclVsa(varargin, "varargin"), "{?}", mlfCreateColonIndex())),
        NULL));
    /*
     * 
     * if ~ishold(cax)
     */
    if (mclNotBool(mclVe(mlfIshold(mclVv(cax, "cax"))))) {
        /*
         * view(cax,3);
         */
        mclAssignAns(
          &ans, mlfNView(0, NULL, mclVv(cax, "cax"), _mxarray7_, NULL));
        /*
         * grid(cax,'on');
         */
        mlfGrid(mclVv(cax, "cax"), _mxarray8_);
    /*
     * end
     */
    }
    /*
     * 
     * if nargout == 1
     */
    if (nargout_ == 1) {
        /*
         * h = hh;
         */
        mlfAssign(&h, mclVsv(hh, "hh"));
    /*
     * end
     */
    }
    mclValidateOutput(h, 1, nargout_, "h", "surf");
    mxDestroyArray(ans);
    mxDestroyArray(cax);
    mxDestroyArray(i);
    mxDestroyArray(hh);
    mxDestroyArray(varargin);
    mclSetCurrentLocalFunctionTable(save_local_function_table_);
    return h;
}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
男人的j进女人的j一区| 亚洲靠逼com| 69成人精品免费视频| 欧美专区日韩专区| 日本高清不卡在线观看| 日本高清不卡在线观看| 色婷婷国产精品综合在线观看| 成人18精品视频| 91香蕉视频污在线| 在线免费观看日本欧美| 欧美日韩另类一区| 91精品免费在线| 2023国产精华国产精品| 国产婷婷一区二区| 中文字幕中文字幕一区二区| 亚洲欧美另类久久久精品2019| 一区二区三区小说| 日韩国产高清在线| 国产毛片精品视频| 色综合 综合色| 7777精品伊人久久久大香线蕉最新版| 正在播放一区二区| 国产精品视频yy9299一区| 亚洲人成亚洲人成在线观看图片| 亚洲第一会所有码转帖| 蜜臀久久99精品久久久久久9| 国产剧情在线观看一区二区| 91蝌蚪porny| 欧美一二三区精品| 中文字幕中文字幕在线一区| 日本欧美久久久久免费播放网| 国产在线一区二区| 91福利资源站| 久久久电影一区二区三区| 一区二区三区高清不卡| 激情六月婷婷久久| 欧美中文字幕一区二区三区 | 亚洲最新视频在线观看| 欧美bbbbb| 91女厕偷拍女厕偷拍高清| 欧美一区欧美二区| 亚洲视频在线一区二区| 久久99热99| 欧美日韩一区二区在线视频| 久久久噜噜噜久久人人看| 亚洲成人激情社区| av高清久久久| 国产亚洲欧美激情| 日韩精品91亚洲二区在线观看| 成人免费不卡视频| 精品国产一区二区三区久久久蜜月| 中文字幕一区不卡| 国产高清不卡二三区| 欧美丰满美乳xxx高潮www| 国产精品久久久久婷婷二区次| 另类调教123区| 欧美日韩在线一区二区| 亚洲同性gay激情无套| 国产成人精品午夜视频免费| 91精品国产91综合久久蜜臀| 午夜电影一区二区三区| 91在线视频观看| 国产精品免费看片| 波多野结衣中文字幕一区| 国产性天天综合网| 看片的网站亚洲| 欧美一区二区三区不卡| 天堂影院一区二区| 欧美高清视频在线高清观看mv色露露十八| 综合精品久久久| 91女厕偷拍女厕偷拍高清| 亚洲欧美另类小说| 色婷婷综合久久久中文一区二区 | 久久久久97国产精华液好用吗| 日韩 欧美一区二区三区| 欧美日韩国产电影| 尤物av一区二区| 欧美在线一区二区| 亚洲成人一二三| 欧美高清视频www夜色资源网| 亚洲国产另类av| 欧美精品99久久久**| 蜜桃视频一区二区三区在线观看| 日韩欧美综合在线| 国内偷窥港台综合视频在线播放| 久久精品人人做人人综合| 国产91精品在线观看| 中文字幕在线观看一区| 色94色欧美sute亚洲线路一ni| 亚洲国产视频在线| 日韩一卡二卡三卡国产欧美| 狠狠色综合日日| 国产精品美女久久久久高潮| 日本电影亚洲天堂一区| 日韩国产高清影视| 国产丝袜在线精品| 色94色欧美sute亚洲线路一久| 琪琪一区二区三区| 国产午夜亚洲精品不卡| 色婷婷激情综合| 国内精品国产三级国产a久久| 国产精品国产馆在线真实露脸 | 欧美精品一区在线观看| 国产白丝精品91爽爽久久| 亚洲婷婷综合色高清在线| 7777精品伊人久久久大香线蕉的 | 久久久久久久久一| 91色乱码一区二区三区| 喷白浆一区二区| 亚洲视频免费看| 日韩欧美电影一二三| 粉嫩一区二区三区在线看| 亚洲一级二级三级| 久久久影院官网| 精品视频免费看| 国产99精品在线观看| 亚洲123区在线观看| 国产欧美一区二区精品秋霞影院| 91久久免费观看| 国产精品亚洲综合一区在线观看| 一区二区三区在线看| 久久综合久久综合久久综合| 欧美无乱码久久久免费午夜一区| 国产成人亚洲综合a∨婷婷 | 亚洲精品久久嫩草网站秘色| 精品国产青草久久久久福利| 欧美色偷偷大香| 99久久精品免费| 国产精品一级二级三级| 青青青伊人色综合久久| 亚洲自拍欧美精品| 国产精品久久久久久福利一牛影视| 欧美一区二区三区四区高清| 欧美在线观看一二区| 不卡的av电影| 懂色av中文一区二区三区| 激情综合色综合久久综合| 五月激情综合色| 亚洲午夜国产一区99re久久| 亚洲欧美偷拍另类a∨色屁股| 中文字幕国产一区| 国产午夜精品一区二区三区嫩草| 欧美一区二区三区爱爱| 777色狠狠一区二区三区| 欧美日韩精品是欧美日韩精品| 色伊人久久综合中文字幕| 99久久99精品久久久久久| 成人免费观看av| 97aⅴ精品视频一二三区| 91在线国内视频| 99久久免费精品| 日本丰满少妇一区二区三区| 91在线一区二区三区| 成人av电影在线观看| 99久久久免费精品国产一区二区| eeuss鲁一区二区三区| 99在线精品观看| 色狠狠桃花综合| 欧美片网站yy| 欧美一卡2卡三卡4卡5免费| 日韩欧美在线一区二区三区| 精品少妇一区二区三区免费观看| 日韩欧美成人激情| 2014亚洲片线观看视频免费| 国产三级欧美三级| 中文字幕一区二区不卡| 亚洲国产精品尤物yw在线观看| 图片区小说区国产精品视频| 青青草视频一区| 国产一区不卡精品| 成人涩涩免费视频| 在线观看91视频| 日韩欧美中文字幕公布| 欧美韩日一区二区三区| 一区二区三区四区中文字幕| 蜜臀a∨国产成人精品| 国产精品2024| 欧美亚洲综合另类| 欧美电视剧在线看免费| 国产精品亲子伦对白| 一级中文字幕一区二区| 久久精品av麻豆的观看方式| 成人av网站在线| 欧美一区日本一区韩国一区| 国产精品家庭影院| 日韩高清不卡一区二区| 风流少妇一区二区| 欧美日韩电影在线| 国产精品女主播av| 日韩av在线发布| av不卡在线播放| 日韩欧美二区三区| 亚洲国产视频一区| 成人免费视频免费观看| 3d成人动漫网站| 亚洲丝袜美腿综合| 国产麻豆成人精品| 欧美精品日韩精品| 亚洲免费在线播放| 国产乱码一区二区三区|