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][DiagonalMatrix] - construct a (block) diagonal Matrix
Calling Sequence
DiagonalMatrix(V, options)
Parameters
V
-
Vector or list; diagonal entries
options
(optional) parameters; for a complete list, see LinearAlgebra[DiagonalMatrix]
Description
The DiagonalMatrix(V) command constructs a (block) diagonal Matrix whose diagonal entries, starting from the upper-left corner, are the elements of V.
If V is a Vector or a list of scalar values, then the blocks are and DiagonalMatrix(V) constructs a diagonal Matrix.
If V is a list containing any non-scalar value, then the blocks are not necessarily and DiagonalMatrix(V) builds a Matrix by placing each element, Bj, of V as an expanded block of entries, with each block placed immediately below and to the right of its predecessor. If the elements of V are all square (scalar values or square Matrices), a diagonal or block diagonal Matrix in the usual sense is returned.
By using this command in conjunction with the JordanBlockMatrix command, you can create a Jordan Matrix.
Examples
See Also
LinearAlgebra[DiagonalMatrix], Student[LinearAlgebra], Student[LinearAlgebra][BandMatrix], Student[LinearAlgebra][JordanBlockMatrix], Student[LinearAlgebra][JordanForm]
Download Help Document