www.gusucode.com > mbcexpr 工具箱 matlab 源码程序 > mbcexpr/@cgdotproduct/gettype.m

    function str = gettype(dp) %#ok<INUSD>
%GETTYPE Return the type of an expression
%
%  TP = GETTYPE(OBJ) returns a short (one or two words) string that
%  describes the type of an expression.  This string is suitable for use in
%  lists of disparate expression types, for example.

%  Copyright 2012 The MathWorks, Inc. and Ford Global Technologies, Inc.

str='dot';