The procedure must accept pairs of positive integer arguments (i.e., Matrix indices) and return the value for the corresponding entry in the Matrix. (Dimensions must be provided in the calling sequence if init is one of the first four forms (procedure, expression, table, or set).) Parameter init can take any one of the following forms. If the initial entries of the Matrix are not provided, all of the entry values default to the fill value (default = 0). The Matrix(r,c,init) function constructs an r x c Matrix whose initial entries are determined by parameter init (and parameter f if all of the entries in the Matrix are not set by init ). The Matrix(init) function constructs a Matrix whose shape and entries are determined by parameter init. The column dimension cannot be specified without specifying the row dimension. If the column dimension is not provided, it defaults to the row dimension. The Matrix(r,c) function constructs an r x c Matrix whose entries are determined by the fill value in parameter f (default = 0). If the row dimension is not provided, it defaults to zero. The Matrix(r) function constructs an r x r Matrix whose entries are determined by the fill value in parameter f (default = 0). In particular, if no parameters are specified, the result is a 0 x 0 Matrix. However, enough information must be provided in the calling sequence for the mathematical shape of the Matrix and the storage requirements for its entries to be determined. To change the environment so that Maple always displays rtables inline, include the interface(rtablesize=infinity) command in a Maple initialization file (see maple ).Īll parameters are optional. You can display larger Matrices inline by using the interface(rtablesize=value) command, where value is an integer that represents the upper bound of the dimension range. For information on how to view the placeholder, see structuredview. Any Matrix whose dimension(s) are larger than this size is displayed by using a placeholder. By default, a small Matrix is defined as one whose dimensions are in the range 1.25 (Command-line version of Maple) or the range 1.10 (worksheet version of Maple). Only small Matrices are displayed inline in Maple. It is one of the principal data structures on which the LinearAlgebra routines operate. The Matrix(.) function is the constructor for the Matrix data structure. (optional) equation of the form attributes=list, where list specifies permitted attributes specifies additional mathematical properties of the Matrix (optional) equation of the form fill=value, where value is of the type specified by the dt parameter specifies Matrix entries at locations not otherwise set (optional) equation of the form datatype=name, where name is any Maple type, float, float, double, complex, or integer for n =1,2,4, or 8 type of data stored in Matrix (optional) equation of the form order=name, where name is either C_order or Fortran_order specifies if Matrix entries are stored by rows or columns (optional) equation of the form storage=name, where name is a permitted storage mode storage requirements for Matrix entries (optional) equation of the form shape=name or shape=list specifying one or more built-in or user-defined indexing functions storage allocation for Matrix entries (optional) equation of the form scan=name or scan=list specifying the structure and/or data order for interpreting initial values interpreter for initial values in parameter init (optional) equation of the form symbol=name specifies the symbolic name to be used for the Matrix entries (optional) equation of the form readonly=true or false specify whether Matrix entries can be changed (optional) Maple procedure, table, array, list, Array, Matrix, Vector, set of equations, or expression of type algebraic initial values for the Matrix (optional) non-negative integer or integer range with left-hand endpoint 1 column dimension of Matrix (optional) non-negative integer or integer range with left-hand endpoint 1 row dimension of Matrix Matrix( r, c, init, ro, sym, sc, sh, st, o, dt, f, a )
0 Comments
Leave a Reply. |