Contents Previous Next Subchapters-> mlmode_setstr mlmode_strcmp mlmode_ones mlmode_zeros mlmode_length mlmode_ij mlmode_inf mlmode_nan mlmode_eye mlmode_exist mlmode_eps mlmode_clock mlmode_computer mlmode_cd mlmode_date mlmode_max mlmode_min Current Chapters-> mlmode_mode mlmode_language mlmode_script mlmode_function mlmode_autoexec mlmode_keyword mlmode_intrinsic mlmode_mfile mismatfun mlmode_diff Parent Chapters-> Omatrix6 mlmode mlmode_intrinsic Search Tools-> contents reference index search

Intrinsic Functions (Mlmode)

Description
The set of available intrinsic functions are automatically changed when you switch between O-Matrix and Mlmode. All the Mlmode intrinsic functions described below are available in O-Matrix mode by placing a `ml` in front of the name. All the O-Matrix intrinsic functions are available in Mlmode by placing an `om` in front of the name.

Example

Using O-Matrix Intrinsic In Mlmode
If you enter ```      mlmode      omidentity(2) ``` O-Matrix will also respond ``` { [ 1 , 0 ] [ 0 , 1 ] } ```
Using Mlmode Intrinsics In O-Matrix Mode
If you enter ```      omatrix      mleye(2) ``` O-Matrix will also respond ``` { [ 1 , 0 ] [ 0 , 1 ] } ```
List Of Mlmode Intrinsic Functions
 Function Name Description `abs` Absolute Value Function `acos` Inverse Cosine Function `all` Determining if All Elements are True (Mlmode) `any` Determining if Any Elements are True (Mlmode) `asin` Inverse Sine Function `atan` Inverse Tangent Function `atan2` Inverse Tangent Function With Two Arguments `cd` Getting And Setting The Current Working Directory (Mlmode) `ceil` Smallest Integer Greater Than or Equal a Specified Value `chol` Cholesky Factoring Of A Matrix `clc` Clearing the Command Window `clock` Numeric Value for Date and Time (Mlmode) `computer` Compute Type and Size Limitations `conj` The Complex Conjugate Function `cos` Cosine Function `cosh` Hyperbolic Cosine Function `cputime` Elapsed Time Since Start of Session `cumprod` Running Cumulative Product of Elements of a Matrix `cumsum` Running Cumulative Sum of Elements of a Matrix `date` Determining The Date (Mlmode) `delete` Removing A File `diag` The Diagonal Function `dir` Listing the Names of Files in a Directory `eig` Eigenvalues and EigenVectors of a General Matrix `eps` Double Precision Machine Epsilon (Mlmode) `error` Using the Standard O-Matrix Error Dialog `eval` Evaluating a Character Matrix `exist` Determine if an Identifier is Defined (Mlmode) `exp` Exponential Function `eye` Obtaining a Copy of the Identity Matrix (Mlmode) `fft` The Discrete Fourier Transform `filter` Auto-Regressive And Moving Average Filtering (Mlmode) `find` Determining Indices Corresponding to Nonzero Elements `fix` Conversion To Integer `floor` Largest Integer Less Than or Equal a Specified Value `fprintf` Converting Values To Ascii Using C Language Formatting `getenv` Getting an Environment Variable `help` Invoking Help From Within An O-Matrix Program `home` Clearing the Command Window `i` Square Root of Minus One (Mlmode) `ifft` The Inverse Discrete Fourier Transform `imag` The Imaginary Part Function `inf` Plus Infinity (Mlmode) `Inf` Plus Infinity (Mlmode) `input` Obtaining A Text String Using The Input Dialog `inv` Inverting A Square Matrix `isdir` Determining If There Is A Directory With A Specified Name `isempty` Determines if a Matrix is Empty `isequal` Checking For Matrix Equality `isfinite` Determines Which Elements Are Finite `isinf` Determines Which Elements Are Infinite `isnan` Determines Which Elements Are Not A Number `isreal` Determines If All Elements Have Zero Imaginary Part `isstudent` Determines If This is a Light Version of O-Matrix `j` Square Root of Minus One (Mlmode) `kron` Kronecker Tensor Product `length` Determining the Maximum Dimension (Mlmode) `log` Natural Logarithm Function `log10` Base Ten Logarithm Function `log2` Base Two Logarithm Function `lower` Converting Upper Case to Lower Case `lu` Computing The LU Factorization Of A Matrix `max` Maximum of a Set of Elements (Mlmode) `min` Minimum of a Set of Elements (Mlmode) `mod` Modulo Function `nan` Some Predefined Constants (Mlmode) `NaN` Some Predefined Constants (Mlmode) `nargin` Number of Arguments in a Function Call `nargout` Number of Return Values Corresponding to a Function Call `norm` The Norm Operator `omlink` Using DDE to Communicate with other Programs `ones` Creating a Matrix of Ones (Mlmode) `path` Source Code Search Path `pause` Slowing or Suspending Execution `pi` The Mathematical constant Pi `pow2` Base Two Exponentiation Function `print` Printing A Graphic Window `prod` Product of Elements of a Matrix `profile` Timing User-Defined Function Execution `qr` Simple Syntax for QR factorization `rand` Generating Uniformly Distributed Pseudo Random Numbers `randn` Generating Normally Distributed Pseudo Random Numbers `rem` Remainder Function `repmat` Filling A Matrix With Copies of Another Matrix `reshape` Copying and Changing the Dimensions of a Matrix `round` Rounding of to the Nearest Integer Value `schur` Schur Factorization `setstr` Converting to a Character Matrix (Mlmode) `sign` The Sign Function `sin` Sine Function `sinh` Hyperbolic Sine Function `size` Determining the Dimensions of a Matrix `sort` Sorting (Mlmode) `sprintf` Converting Values To Ascii Using C Language Formatting `sqrt` The Square Root Function `strcmp` Checking If Two Character Matrices are Equal (Mlmode) `sum` Sum of Elements of a Matrix `surface` Mesh And Surface Plots `svd` Singular Value Decomposition `tan` Tangent Function `tanh` Hyperbolic Tangent Function `tic` Starting and Reading an Elapsed Timer `title` Defining A Title For Current Viewport `toc` Starting and Reading an Elapsed Timer `tril` Lower Triangular Part of a Matrix `triu` Upper Triangular Part of a Matrix `upper` Converting Lower Case to Upper Case `usage` Using the Standard O-Matrix Error Dialog `version` O-Matrix Version Specification `xlabel` Defining A Title For An Axis In The Current Viewport `ylabel` Defining A Title For An Axis In The Current Viewport `zlabel` Defining A Title For An Axis In The Current Viewport `zeros` Creating a Matrix of Zeros (Mlmode)