Documentation / CalcMe

  • Demos
  • Visit our website
  • Contact us
  • MathType

    • Wiris Quizzes

      • Learning Lemur

        • CalcMe

          • MathPlayer

            • Store FAQ

              • VPAT for the electronic documentation

                • MathFlow

                  • BF FAQ

                    • Home
                    • CalcMe
                    • Commands
                    • Linear Algebra
                    • Linear Algebra

                    LU decomposition

                    Reading time: 1min

                    LU decomposition or LU factorization of a square matrix A is a factorization of A as the product of two matrices L and U: A=LU, where L is a lower-triangular matrix and U is an upper-triangular matrix.

                    Syntax

                    lu_decomposition(Matrix)
                    

                    Description

                    Given a matrix, returns a list with the matrices L and U. If the permutation matrix is different of the identity matrix or the option permutation_matrix is set to 1, the permutation matrix is returned at the first position.

                    Options

                    Below is a complete list of options that may be used in the lu_decomposition function.

                    Option Description Format Default value
                    permutation_matrix We can choose if the permutation matrix is showed or not. When the value equals 0, the permutation matrix is returned if and only if it is different from the identity matrix. If it is set to 1, the permutation matrix is returned always. If it is set to -1, the permutation matrix is not returned. {permutation_matrix=-1} {permutation_matrix=0}

                    Was this article helpful?

                    Yes
                    No
                    Give feedback about this article

                    Related Articles

                    • Analysis
                    • Differentiate
                    • Expansion point
                    • Minor

                    LU decomposition

                    Syntax Description Options

                    Making people’s STEM work more meaningful

                    MathType

                    • MathType for Office Tools
                    • MathType for Mac
                    • MathType for Microsoft 365
                    • MathType for Google Workspace
                    • MathType for LMS
                    • MathType for XML Editors
                    • Arabic notation
                    • Our products accessibility
                    • MathType is online

                    WirisQuizzes

                    Learning Lemur

                    Solutions for Education

                    • Blackboard Learn
                    • Brightspace by D2L
                    • Canvas
                    • Google Classroom
                    • Moodle
                    • Schoology

                    Solutions for Publishing Houses

                    Solutions for Technical Writers

                    Solutions for Chemistry

                    Integrations

                    • HTML Editors
                    • MathType in WordPress

                    Pricing

                    Company

                    Careers

                    Blog

                    Contact Us

                    Buy Now

                    Plugin Downloads

                    © Wiris 2025

                    • Cookie Preferences
                    • Cookie Policy
                    • Terms of Use
                    • Privacy Policy / GDPR
                    • Student Data Privacy
                    • Compliance
                    • Powered by Helpjuice
                    Expand