Matlab C++ - Math Library Reference (2000) WW, Matlab

[ Pobierz całość w formacie PDF ]
MATLAB
®
C++
Math Library
The Language of Technical Computing
Compu
tation
Visuali
zation
Program
ming
Reference
Version 2.1
How to Contact The MathWorks:
508-647-7000
Phone
508-647-7001
Fax
The MathWorks, Inc.
Mail
3AppleHillDrive
Natick, MA 01760-2098
Web
ftp.mathworks.com
Anonymous FTP server
comp.soft-sys.matlab
Newsgroup
support@mathworks.com
Technical support
suggest@mathworks.com
Product enhancement suggestions
bugs@mathworks.com
Bug reports
doc@mathworks.com
Documentation error reports
subscribe@mathworks.com
Subscribing user registration
service@mathworks.com
Order status, license renewals, passcodes
info@mathworks.com
Sales, pricing, and general information
COPYRIGHT 1998 - 2000 by The MathWorks, Inc.
The software described in this document is furnished under a license agreement. The software may be used
or copied only under the terms of the license agreement. No part of this manual may be photocopied or repro-
duced in any form without prior written consent from The MathWorks, Inc
.
FEDERAL ACQUISITION: This provision applies to all acquisitions of the Program and Documentation by
or for the federal government of the United States. By accepting delivery of the Program, the government
hereby agrees that this software qualifies as "commercial" computer software within the meaning of FAR
Part 12.212, DFARS Part 227.7202-1, DFARS Part 227.7202-3, DFARS Part 252.227-7013, and DFARS Part
252.227-7014. The terms and conditions of The MathWorks, Inc. Software License Agreement shall pertain
to the government’s use and disclosure of the Program and Documentation, and shall supersede any
conflicting contractual terms or conditions. If this license fails to meet the government’s minimum needs or
is inconsistent in any respect with federal procurement law, the government agrees to return the Program
and Documentation, unused, to MathWorks.
MATLAB, Simulink, Stateflow, Handle Graphics, and Real-Time Workshop are registered trademarks, and
Target Language Compiler is a trademark of The MathWorks, Inc.
Other product or brand names are trademarks or registered trademarks of their respective holders.
Printing History: January 1998 Version 1.2
January 1999 Revised for Version 2.0 (Release 11) Online only
September 1999 Revised for Version 2.1 (Release 12) Online only
MATLAB C++ Math Library Reference
Ó
Contents
Reference Page Format
.................................
1
Structure .............................................
1
TypographicConventions ................................
2
NotesontheFormat ....................................
2
Calling Conventions
....................................
3
ConstructingaC++Prototype ............................
3
TranslatingMATLABSyntaxintoC++Syntax ..............
4
The mwArray Class
.....................................
7
Constructors...........................................
7
Operators .............................................
9
User-DefinedConversion ...............................
12
MemoryManagement ..................................
12
ArraySize ...........................................
13
The mwVarargin and mwVarargout Classes
..............
15
ThemwVararginClass .................................
15
ThemwVarargoutClass ................................
16
Function Reference
....................................
18
ArithmeticOperators ..................................
19
RelationalOperators< > <= >= ==!= .................
21
LogicalOperators .....................................
23
abs .................................................
24
acos,acosh ...........................................
25
acot,acoth ...........................................
26
acsc,acsch ...........................................
27
all ..................................................
28
angle ................................................
29
any .................................................
30
asec,asech ...........................................
31
asin,asinh ...........................................
32
atan,atanh...........................................
33
atan2 ...............................................
34
balance ..............................................
35
iii
base2dec .............................................
36
beta,betainc,betaln....................................
37
bicg .................................................
38
bicgstab ..............................................
40
bin2dec ..............................................
42
bitand_func...........................................
43
bitcmp ...............................................
44
bitget ................................................
45
bitmax ...............................................
46
bitor_func ............................................
47
bitset ................................................
48
bitshift ..............................................
49
bitxor................................................
50
blanks . . . . . ..........................................
51
calendar,Vcalendar ....................................
52
cart2pol ..............................................
53
cart2sph .............................................
54
cat ..................................................
55
cdf2rdf ...............................................
56
ceil ..................................................
57
cell ..................................................
58
cell2struct ............................................
59
celldisp ..............................................
60
cellfun ...............................................
61
cellhcat ..............................................
62
cellstr ...............................................
63
cgs ..................................................
64
char_func ............................................
66
chol .................................................
67
cholupdate ...........................................
68
cholinc ...............................................
69
classname ............................................
70
clock_func ............................................
71
colon ................................................
72
colmmd ..............................................
73
colperm ..............................................
74
compan ..............................................
75
computer .............................................
76
cond .................................................
77
condeig ..............................................
78
iv
Contents
condest ..............................................
79
conj .................................................
80
conv .................................................
81
conv2 ................................................
82
corrcoef . . . . ..........................................
83
cos,cosh .............................................
84
cot,coth..............................................
85
cov ..................................................
86
cplxpair ..............................................
87
cross ................................................
88
csc,csch..............................................
89
cumprod .............................................
90
cumsum..............................................
91
cumtrapz .............................................
92
date .................................................
93
datenum .............................................
94
datestr...............................................
95
datevec ..............................................
96
dblquad ..............................................
98
deal.................................................
99
deblank .............................................
100
dec2base ............................................
101
dec2bin .............................................
102
dec2hex .............................................
103
deconv ..............................................
104
del2 ................................................
105
det .................................................
106
diag ................................................
107
diff .................................................
108
disp ................................................
109
dmperm.............................................
110
double_func..........................................
111
eig .................................................
112
eigs ................................................
113
ellipj ...............................................
115
ellipke ..............................................
116
empty ..............................................
117
end.................................................
118
eomday .............................................
119
eps .................................................
120
v
[ Pobierz całość w formacie PDF ]

  • zanotowane.pl
  • doc.pisz.pl
  • pdf.pisz.pl
  • mement.xlx.pl
  •