type/vector - check for vector (one-dimensional array)
|
Calling Sequence
|
|
type(v, vector)
type(v, 'vector'(K))
|
|
Parameters
|
|
v
|
-
|
expression
|
K
|
-
|
type of the coefficient field
|
|
|
|
|
Description
|
|
•
|
This function checks whether its first argument is a Maple vector. A vector is defined to be an one-dimensional array indexed from 1.
|
•
|
If the argument K is given, the function checks whether A is a vector with entries of type K .
|
•
|
Also, if K is given, it is essential to quote the word vector in order to avoid confusion with the vector function in the linalg package.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
>
|
|
| (5) |
|
|
Download Help Document
Was this information helpful?