Using the C Math Library |
|
Index
-
&
*
+
.*
./
.\
.^
.'
/
:
<
<=
=
See mlfAssign()
==
>
>=
\
^
|
~
~=
'
- Access members
- allocation of memory for arrays
- ANSI C compiler
- arguments
- optional <1> <2>
- example
- order of
- to a thunk function
- arithmetic operator functions <1> <2>
- arithmetic routines
- creating arrays
- array input arguments
- and
mlfRestorePreviousContext()
- array output arguments
- and
mlfRestorePreviousContext()
- array return values
- and
mlfReturnValue()
- arrays
- access routines
- accessing data in
- allocating
- assigning values to
- assignment by value
- basic information functions <1> <2>
- bound
- bound vs. temporary <1> <2> <3>
- column-major storage
- common programming tasks
- concatenating
- converting numeric to character
- converting sparse to full format
- converting to sparse matrix
- creating cell arrays
- creating multidimensional arrays
- creating structures
- deleting
- deleting elements from
- determining dimensions
- determining number of nonzero elements
- determining size
- determining type
- displaying
- freeing
- full
- creation
- indices
- initialization
- initializing with C array
- initializing with data
- input arguments
- input via
mlfLoad()
<1> <2>
- manipulation functions <1> <2>
- memory allocation
- multidimensional
- multidimensional character arrays
- numeric arrays
- of characters
- output arguments
- output via
mlfSave()
<1> <2>
- pointer to data
- preparing function arguments for a new context
- restoring function arguments to previous context
- as return values <1> <2>
- returned by arithmetic routines
- scalar
- sparse matrices
- string <1> <2> <3>
- temporary <1> <2> <3>
- two-dimensional
- assigning values to arrays
- array already has a value
- under automated memory management
- assignment
- and indexing
- creating cell arrays
- creating structures
- assignment by value
- automated memory management <1> <2> <3> <4>
- base number conversion
- basic array information functions <1> <2>
- binary file I/O
- blank character
- used as padding
- bound arrays <1> <2> <3> <4>
- behavior of
- build script
- location
- Microsoft Windows
- UNIX
- building applications
- on Microsoft Windows
- on UNIX
- other methods
- troubleshooting
mbuild
- C
- ANSI compiler
- array and initialization of MATLAB array
- function calling conventions
- indexing
- subscripts
- calling conventions <1> <2>
- mapping rules
- overview
- summary
- calling library functions
- calling operators
- cell array functions <1> <2>
- cell array indexing
- nested cell arrays
- referencing a cell
- referencing the contents of a cell
- cell arrays
- concatenating
- converting numeric arrays
- converting to structures
- creating
- creating by assignment
- displaying contents of
- using
mlfCell()
- character arrays
- accessing elements
- creating
- from numeric arrays
- multidimensional
- using
mxCreateString()
- character string functions
- base number conversion
- general <1> <2>
- string operations <1> <2>
- string tests
- string to number conversion <1> <2>
- closing files
- coding to automated memory management interface
- coding to explicit memory management interface
- column vector
- indexing as
- column-major order
- MATLAB array storage
- vs. row-major order
- compatibility between explicit and automated memory management
- compiler
- changing default on PC
- changing default on UNIX
- choosing on UNIX
- complex functions <1> <2>
- complex scalar arrays
compopts.bat
- concatenation
- creating arrays
- creating cell arrays
- creating multidimensional arrays
- constants, special
- contexts
- for array memory management
- contexts, for array memory management
- conventions
- array access routine names
- calling
- math functions
- conversion
- base number
- string to number <1> <2>
- coordinate system transforms
- correlation
- creating
- arrays
- complex scalars
- logical indices
ctranspose()
- use instead of
'
- data
- in arrays
- reading with
mlfLoad()
- writing with
mlfSave()
- data analysis and Fourier transform functions
- basic operations <1> <2>
- correlation
- filtering and convolution <1> <2>
- finite differences
- Fourier transforms <1> <2>
- sound and audio
- data analysis, basic operations <1> <2>
- data interpolation
- data type functions
- data types
- object functions
- date and time functions
- basic
- current date and time <1> <2>
- date
- timing
- dates
- basic functions <1> <2>
- current <1> <2>
.def
files, Microsoft Windows
- default handlers
- print
DefaultPrintHandler()
- C code
- deleting arrays
- deletion
- and indexing
- dialog box, modal
- directory organization
- Microsoft Windows
- UNIX
- displaying arrays
- distributing applications
- packaging
- DLLs
- Microsoft Windows
- efficiency
- eigenvalues <1> <2>
- elementary matrix and matrix manipulation functions
- basic array information <1> <2>
- elementary matrices <1> <2>
- matrix manipulation <1> <2>
- special constants
- specialized matrices <1> <2>
- elementary sparse matrices
- embedding calls to functions <1> <2>
- environment variable
- library path
- error handling
mlfSetErrorHandler()
- warnings
- error handling functions
- error messages
- printing to GUI
- errors
- list of
- example
- building the examples
- integrating a function
- managing array memory
mlfLoad()
and mlfSave()
- optional arguments
- passing functions as arguments
- print handling
- Microsoft Windows
- X Window system
- saving and loading data
- source code location
- UNIX <1> <2>
- template for managing array memory
- templates for managing array memory
- using explicit memory management
- writing a function
- examples
- creating arrays
ex1.c
- explicit memory management <1> <2>
- exponential functions <1> <2>
- expression
- function call
- factorization utilities <1> <2>
- file I/O functions
- binary
- file positioning <1> <2>
- formatted I/O <1> <2>
- import and export
- opening and closing
- string conversion
- file opening and closing
- files
- binary file I/O
- formatted I/O <1> <2>
- import and export functions
- positioning <1> <2>
- string conversion
- filtering and convolution <1> <2>
- finite differences
- formatted I/O <1> <2>
- Fourier transforms <1> <2>
free()
- freeing array memory
- full to sparse conversion <1> <2>
- function
- calling conventions <1> <2>
- integrating
- naming conventions
- passing as argument
- return values, multiple
- function-functions
- how they are called
mlfFmin()
mlfFmins()
mlfFunm()
mlfFzeros()
mlfOde
functions
- passing function name
- function-functions and ODE solvers
- numerical integration
- ODE option handling
- ODE solvers
- optimization and root finding
- functions
- compatibility between memory management styles
- documented in online reference
- embedding calls to <1> <2>
- nesting calls to <1> <2>
- order of arguments
- preparing function arguments for a new context
- restoring function arguments to a previous context
- steps for coding
- template for managing array memory
- using a single return statement
- writing your own under automated memory management
- writing your own under explicit memory management
- geometric analysis
- graphical user interface, output to
- graphics applications
- trouble starting
- GUI, output to
- Handle Graphics
- header files
libmatlb.h
location
- Microsoft Windows
- UNIX
libmmfile.h
location
- Microsoft Windows
- UNIX
matlab.h
location
- Microsoft Windows
- UNIX
matrix.h
location
- Microsoft Windows
- UNIX
- indexing
- and assignment <1> <2>
- and deletion <1> <2> <3>
- array storage
- assumptions for examples
- base
- C vs. MATLAB
- dimensions and subscripts
- logical
- N-dimensional <1> <2> <3> <4>
- one-dimensional
- similar to
for
-loop <1> <2>
- structure array
- table of examples
- terminology
- types of
- with
mlfCreateColonIndex()
<1> <2> <3> <4>
- with
mlfEnd()
<1> <2>
- indexing functions <1> <2>
mlfIndexAssign()
mlfIndexRef()
<1> <2> <3>
- nesting indexing operations
- specifying source array
- specifying target array
- specifying values for indices
- use of index string
- indices
- how MATLAB calculates
- logical
- initializing
- array output arguments <1> <2>
- local array variables <1> <2>
- Microsoft Windows
- X Window system
- initializing arrays
- input
- arguments
- optional <1> <2>
mlfLoad()
<1> <2>
- input arguments
- and
mlfRestorePreviousContext()
- installing the library
- PC details
- UNIX details
- with MATLAB
- without MATLAB
LD_LIBRARY_PATH
- run-time libraries
libmat.dll
libmat.
ext
libmatlb.dll
libmatlb.
ext
libmatlb.h
<1> <2>
libmi.dll
libmi.
ext
libmmfile.dll
libmmfile.
ext
libmmfile.h
<1> <2>
libmx.dll
libmx.
ext
LIBPATH
- run-time libraries
- libraries
libmat
location
- Microsoft Windows
- UNIX
- libmatlb location
- Microsoft Windows
libmatlb
location
- UNIX
libmi
location
- Microsoft Windows
- UNIX
libmmfile
location
- Microsoft Windows
- UNIX
libmx
location
- Microsoft Windows
- UNIX
libut
location
- Microsoft Windows
- UNIX
- Microsoft Windows
- UNIX
- library path
libut.dll
libut.
ext
- licensing
- stand-alone applications
- stand-alone graphics applications
- linear algebra <1> <2>
- linear equations <1> <2> <3>
- link
- library order
- local array variables
- paradigm for using
- logical flag
- logical functions <1> <2>
- logical indexing
- logical operator functions <1> <2>
- main routine
- template for managing array memory
- makefile
malloc()
- managing array memory
- managing variables
- MAT-files
.mat
extension
- and named variables
- created by
mlfLoad()
- created by
mlfSave()
- import and export functions
- read by
mlfLoad()
- written to with
mlfSave()
- math functions, elementary
- complex <1> <2>
- exponential <1> <2>
- rounding and remainder <1> <2>
- trigonometric <1> <2>
- math functions, specialized
- coordinate system transforms
- number theoretic
- MATLAB
- as a programming language functions <1> <2>
- function calling conventions
- Handle Graphics
- indexing
- sparse matrix
- subscripts
- MATLAB Access
- MATLAB Built-In Library
- calling conventions <1> <2>
- functions
- link order
- utility routines
mlfColon()
mlfComplexScalar()
mlfCreateColonIndex()
mlfEnd()
mlfFevalTableSetup()
mlfIndexAssign()
mlfIndexDelete()
mlfIndexRef()
mlfPrintf()
mlfPrintMatrix()
mlfScalar()
mlfSetErrorHandler()
mlfSetLibraryAllocFcns()
mlfSetPrintHandler()
- MATLAB C Math Library
- conventions
- installing
- PC details
- UNIX details
- with MATLAB
- without MATLAB
- number of routines
- MATLAB Math and Graphics Run-Time Library Installer
- MATLAB M-File Math Library
- calling conventions <1> <2>
- functions
- link order
matlab.h
<1> <2> <3>
- matrices
- creating
- matrices, elementary functions <1> <2>
- matrices, specialized functions <1> <2>
- matrix
- analysis functions <1> <2>
- creation
- functions <1> <2>
- initialization with C array
- output of
- printing
- singular value decomposition
- sparse
- matrix manipulation functions <1> <2>
matrix.h
<1> <2>
mbuild
- Microsoft Windows
- -setup option
- -setup option on PC
- -setup option on UNIX
- syntax and options
- on Microsoft Windows
- on UNIX
- troubleshooting
- UNIX
- verbose option on PC
- verbose option on UNIX
- memory
- management
- memory allocation
- writing own routines
- memory allocation functions
- memory leakage
- avoiding
- memory management
- automated
- automated, benefits of
- choosing automated or explicit
- coding to automated memory management interface
- coding to explicit memory management interface
- example <1> <2>
- explicit
mlfSetLibraryAllocFcns()
- prior to Version 2.0
- setting up your own
- message display
MessageDialog
, Motif widget
MFC42.dll
mglinstaller
mglinstaller.exe
- Microsoft Windows
- building stand-alone applications
- directory organization
- DLLs
- location
.def
files
- build script
- header files
- libraries <1> <2>
MessageBox
PopupMessageBox()
C code
- print handling
mlf
prefix
mlfAssign()
<1> <2> <3> <4>
mlfCat
- example
mlfCelldisp()
- using
mlfCellhcat()
- using
mlfColon()
mlfComplexScalar()
mlfCreateColonIndex()
<1> <2> <3> <4>
mlfEnd()
<1> <2>
mlfEnterNewContext()
<1> <2> <3>
- arguments to
- called from
main()
<1> <2>
mlfFeval()
<1> <2>
mlfFeval()
function table
- built-in table, extending
mlfFevalTableSetup()
<1> <2>
mlfFuncTabEnt
type
- setting up <1> <2>
mlfFeval() function table
mlfFevalTableSetup()
<1> <2> <3>
mlfFprintf
mlfFuncp
function pointer type <1> <2> <3>
mlfHorzcat()
- creating arrays
- number of arguments
mlfIndexAssign()
- for assignments
mlfIndexRef()
- for logical indexing
- for N-dimensional indexing
- for one-dimensional indexing
mlfIndexVarargout
function
- constructing
mlfLoad()
<1> <2> <3>
mlfLogical()
mlfNnz()
mlfOde23()
<1> <2>
mlfPrintf
mlfPrintf()
mlfPrintMatrix()
mlfRestorePreviousContext()
<1> <2> <3>
- arguments to <1> <2> <3>
- called from
main()
<1> <2>
mlfReturnValue()
<1> <2>
- argument to
- making an array temporary
mlfSave()
<1> <2> <3>
mlfScalar()
<1> <2>
mlfSetErrorHandler()
<1> <2>
mlfSetLibraryAllocFcns()
mlfSetPrintHandler()
<1> <2>
- calling first
mlfSvd()
mlfTobool()
mlfVarargoutList
- constructing
mlfVertcat()
- creating arrays
- number of arguments
- Motif
MessageDialog
widget
- print handler
- multidimensional array functions <1> <2>
- multidimensional arrays
- concatenating
- creating
- of characters
mxArray
- array access routines
- as input and output arguments
- creating
- deleting elements from
- indexing
- with
mlfCreateColonIndex()
<1> <2> <3> <4>
- initialization of pointers to
- paradigm for using as local variables
- pointer to data in
- reading from disk <1> <2>
- saving to disk <1> <2>
- string <1> <2>
mxCreateDoubleMatrix()
mxCreateString
mxCreateString()
mxDestroyArray()
<1> <2> <3> <4>
- in example <1> <2> <3> <4>
- no reinitialization of pointer
- passing NULL to
- under automated memory management
- under explicit memory management
mxMalloc()
- naming conventions
- array access routines
- math functions
- N-dimensional indexing <1> <2> <3> <4>
- selecting a matrix of elements
- selecting a single element
- selecting a vector of elements
- nesting calls to functions <1> <2>
- nonzero elements
- determining number of
NULL
- initializing output arguments to <1> <2>
- passing to
mxDestroyArray()
- number theoretic functions
- numeric arrays
- converting to cell arrays
- converting to character arrays
- creating
- numerical integration
- numerical linear algebra
- eigenvalues and singular values <1> <2>
- factorization utilities <1> <2>
- linear equations <1> <2>
- matrix analysis <1> <2>
- matrix functions <1> <2>
- object functions
- ODE option handling
- ODE solvers
- offsets
- for indexing
- one-dimensional indexing
- range for index
- selecting a matrix
- selecting a single element
- selecting a vector
- table of examples
- with a logical index
- opening files
- operators
- calling conventions
- operators and special functions
- arithmetic operator functions <1> <2>
- logical functions <1> <2>
- logical operator functions <1> <2>
- MATLAB as a programming language <1> <2>
- message display
- relational operator functions
- set operator functions <1> <2>
- special operator functions
- optimization and root finding
- optional input arguments <1> <2>
- optional output arguments <1> <2>
- options file
- combining customized on PC
- locating on PC
- locating on UNIX
- location on UNIX
- making changes persist on
- PC
- making changes persist on PC
- making changes persist on UNIX
- modifying on PC
- modifying on UNIX
- purpose
- temporarily changing on PC
- temporarily changing on UNIX
- options files
- PC
- options,
mbuild
- on Microsoft Windows
- on UNIX
- order
- link
- of arguments
- of call to
mlfSetPrintHandler()
- ordinary differential equations
- option handling
- solvers
- output
- and graphical user interface
- arguments
- multiple
- optional <1> <2>
- formatted arrays
mlfSave()
<1> <2>
- of arrays
- of error messages
- of matrix
- to GUI
- output arguments
- and
mlfRestorePreviousContext()
- initializing before function call
- packaging stand-alone applications
PATH
- run-time libraries
- performance
- polynomial and interpolation functions
- data interpolation
- geometric analysis
- polynomials
- spline interpolation
- polynomials
PopupMessageBox()
- Microsoft Windows C code
- X Window system C code
- print handler
- default
- C code
- Microsoft Windows example
mlfSetPrintHandler()
- providing your own
- X Window system example
- print handling functions
- printing arrays
- pure
varargin
functions
- pure
varargout
functions
- quadrature
- registering functions with
mlfFeval()
- relational operator functions
- release notes <1> <2>
- remainder functions <1> <2>
- reordering algorithms
- response file
- restrictions
- on calling functions <1> <2>
- return values
- and
mlfReturnValue()
<1> <2>
- return values, multiple
- returning an array from a function
- rounding functions <1> <2>
- row-major C array storage
- Runge-Kutta
- run-time libraries
- distributing
- saving and loading data
- example
- scalar array creation functions <1> <2>
- scalar arrays
- creating
scanf()
- set operator functions <1> <2>
- settings
- compiler
- linker
- shared libraries
SHLIB_PATH
- run-time libraries
- singular values <1> <2>
- sound and audio
- sparse matrix
- converting numeric array
- converting to full matrix format
- creating
- creating from data
- sparse matrix functions
- elementary sparse matrices
- full to sparse conversion <1> <2>
- linear algebra <1> <2>
- linear equations
- miscellaneous
- reordering algorithms
- working with nonzero entries <1> <2>
- special constants
- special operator functions
- specialized math functions
- specialized matrix functions <1> <2>
- spline interpolation
- stand-alone applications
- building on Microsoft Windows
- building on UNIX
- distributing
- licensing
- overview
- stand-alone graphics applications
- licensing
- storage layout
- column-major vs. row-major
- string operations <1> <2>
- string tests
- string to number conversion <1> <2>
- strings
- creating
- extracting from array
- structure functions <1> <2>
- structure indexing
- accessing a field
- accessing the contents of a field
- assigning values to a field
- assigning values to field elements
- referencing a single structure
- referencing nested structures
- within cells
- structures
- converting cell arrays
- converting to cell arrays
- creating
- creating by assignment
- indexing
- using
mlfStruct()
- subscripting
- how MATLAB calculates indices
- subscripts
- logical
- syntax
- index string
- indexing
- library functions, documented online
- subscripts
- temporary arrays <1> <2> <3> <4>
- behavior of
- thunk functions
- defining
- how to write
- relationship to
mlfFeval()
- when to write
- time, current <1> <2>
- timing functions
transpose()
- use instead of
.'
- trigonometric functions
- list of <1> <2>
- troubleshooting
- starting stand-alone graphics applications
- two libraries, justification for
- two-dimensional indexing
- table of examples
- with logical indices
- UNIX
- building stand-alone applications
- directory organization
- libraries
- location
- build script
- example source code <1> <2>
- header files
- libraries
- utility functions
- error handling
- indexing
- memory allocation
mlfFeval()
support
- print handling
- scalar array creation
varargin
functions
- pure
varargout
functions
- pure
- warnings
- list of
- working with nonzero entries of sparse matrices <1> <2>
- writing functions
- X Window system
- initializing
PopupMessageBox()
C code
- print handler
XtPopup()
XtSetArg()
XtSetValues()
XmCreateMessageDialog()
 | Warning Messages | |