Maple Professional
Maple Academic
Maple Student Edition
Maple Personal Edition
Maple Player
Maple Player for iPad
MapleSim Professional
MapleSim Academic
Maple T.A. - Testing & Assessment
Maple T.A. MAA Placement Test Suite
Möbius - Online Courseware
Machine Design / Industrial Automation
Aerospace
Vehicle Engineering
Robotics
Power Industries
System Simulation and Analysis
Model development for HIL
Plant Modeling for Control Design
Robotics/Motion Control/Mechatronics
Other Application Areas
Mathematics Education
Engineering Education
High Schools & Two-Year Colleges
Testing & Assessment
Students
Financial Modeling
Operations Research
High Performance Computing
Physics
Live Webinars
Recorded Webinars
Upcoming Events
MaplePrimes
Maplesoft Blog
Maplesoft Membership
Maple Ambassador Program
MapleCloud
Technical Whitepapers
E-Mail Newsletters
Maple Books
Math Matters
Application Center
MapleSim Model Gallery
User Case Studies
Exploring Engineering Fundamentals
Teaching Concepts with Maple
Maplesoft Welcome Center
Teacher Resource Center
Student Help Center
Student[LinearAlgebra][ConstantMatrix] - construct a constant Matrix
Student[LinearAlgebra][ConstantVector] - construct a constant Vector
Calling Sequence
ConstantMatrix(s, r, c, options)
ConstantVector[o](s, d, options)
Parameters
s
-
algebraic expression; the constant value in the Matrix or Vector
r
(optional) non-negative integer; row dimension of the resulting Matrix
c
(optional) non-negative integer; column dimension of the resulting Matrix
[o]
(optional) use either [row] or [column]; specifies the orientation of the resulting Vector
d
(optional) non-negative integer; dimension of the resulting Vector
options
(optional) parameters; for a complete list, see LinearAlgebra[ConstantMatrix]
Description
The ConstantMatrix(s, r, c) command returns an Matrix in which all entries have the value s.
The ConstantMatrix(s, r) command returns an Matrix in which all entries have the value s.
The ConstantMatrix(s) command returns an Matrix.
The ConstantVector(s, d) command returns a d-dimensional column Vector in which all entries have the value s.
The ConstantVector[row](s, d) command behaves like ConstantVector(s, d) except that a row Vector is returned. If the orientation option is omitted or if ConstantVector[column](s, d) is used, a column Vector is returned.
If the dimension is not provided, it defaults to zero.
Examples
See Also
LinearAlgebra[ConstantMatrix], Student[LinearAlgebra]
Download Help Document