Is exp() a Documented Function in the Symbolic Math Toolbox?
조회 수: 2 (최근 30일)
이전 댓글 표시
답변 (3개)
Steven Lord
2022년 5월 27일
There is no separate documentation page for the exp method for sym objects, this is true. Not all methods of classes have documentation pages, and I believe this is especially true if the methods have very similar or the same behavior as the versions of the functions for double and single precision data. In fact if you look at the list of function reference pages for exp that appear on the first page of a search, the only three that show up are the double/single precision version in MATLAB, the quaternion version in a number of different toolboxes, and the fints version in Financial Toolbox (which is discouraged because fints is discouraged, with timetable being the recommended replacement.) There are more than just those three overloads.
which -all exp
If you want to see the operations defined for sym objects you can ask MATLAB what methods are defined for that class. Note that this doesn't list all the operations you can perform on sym objects, as some MATLAB functions will operate on instances of a class as long as all the operations the function uses work on that class. For example the var function is not overloaded for sym but because all of the functions var.m uses work for sym you can compute the var of a symbolic vector.
which -all var % No sym overload
var(1:5)
var(sym(1:5)) % But it works
methods sym
Walter Roberson
2022년 5월 27일
There is no doc for it.
help sym/exp
gives very brief help (nearly useless)
참고 항목
카테고리
Help Center 및 File Exchange에서 Linear Algebra에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!