Maple Professionel
Maple Académique
Maple Edition Étudiant
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professionel
MapleSim Académique
Maple T.A. - Suite d'examens de classement
Maple T.A. MAA Placement Test Suite
Möbius - Didacticiels de mathématiques en ligne
Machine Design / Industrial Automation
Aéronautique
Ingénierie des véhicules
Robotics
Energie
System Simulation and Analysis
Model development for HIL
Modélisation du procédé pour la conception de systèmes de contrôle
Robotics/Motion Control/Mechatronics
Other Application Areas
Enseignement des mathématiques
Enseignement de l’ingénierie
Enseignement secondaire et supérieur (CPGE, BTS)
Tests et évaluations
Etudiants
Modélisation financière
Recherche opérationnelle
Calcul haute performance
Physique
Webinaires en direct
Webinaires enregistrés
Agenda des évènements
Forum MaplePrimes
Blog Maplesoft
Membres Maplesoft
Maple Ambassador Program
MapleCloud
Livres blancs techniques
Bulletin électronique
Livres Maple
Math Matters
Portail des applications
Galerie de modèles MapleSim
Cas d'Etudes Utilisateur
Exploring Engineering Fundamentals
Concepts d’enseignement avec Maple
Centre d’accueil utilisateur Maplesoft
Centre de ressources pour enseignants
Centre d’assistance aux étudiants
linalg[vector] - create a vector
Calling Sequence
vector([x1, ..., xn])
vector(n, [x1, ..., xn])
vector(n)
vector(n, f)
Parameters
x[1], ..., x[n]
-
vector elements of type algebraic
n
length of the vector
f
function used to create the vector elements
Description
Important: The linalg package has been deprecated. Use the superseding packages, LinearAlgebra and VectorCalculus, instead.
- For information on migrating linalg code to the new packages, see examples/LinearAlgebraMigration.
The vector function is part of the linalg package. It provides a simplified syntax for creating vectors. For a general description of vectors in Maple, see the information under vector.
The calls vector([x1, ..., xn]) and vector(n, [x1, ..., xn]) will produce a vector (a one-dimensional array) of length n containing the given elements.
The call vector(n) will produce a vector of length n with unspecified elements.
The call vector(n, f) will produce a vector of length n whose elements are the result of the function f acting on the index of the vector. Thus vector(n, f) is equivalent to vector(1..n, [f(1), f(2), ..., f(n)]).
Since vectors are represented as one-dimensional arrays, see information under array for further details about how to work with vectors.
The command with(linalg,vector) allows the use of the abbreviated form of this command.
Note: The online documentation in Maple uses the convention that vector (lowercase "v") refers to an array-based vector used by routines in the linalg package, and Vector (uppercase "V") refers to an rtable-based Vector used by routines in the LinearAlgebra package. See LA_general for more information about linear algebra computations in Maple.
Examples
See Also
array(deprecated), linalg(deprecated)[matrix], linalg(deprecated)[randvector], linalg(deprecated)[vectdim], linalg(deprecated)[vector], LinearAlgebra, Matrix, Vector
Download Help Document