The LinearAlgebra`MatrixManipulation` package

  • Thread starter Nusc
  • Start date
In summary, the LinearAlgebra`MatrixManipulation` package has been replaced by new features in the latest version of Mathematica. The commands TakeRows, TakeColumns, AppendColumns, ZeroMatrix, and AppendRows, which were previously available in the package, are now obsolete. Mathematica recommends using its kernel functions Join, ArrayFlatten, and Take instead. However, the SubMatrix command is still available. It may be confusing to determine if the new commands perform the same operations as the obsolete ones. Other than the Mathematica forums, there may not be many resources available to ask for help on this matter. Unfortunately, the level of support for Mathematica may not be as extensive as that of Maple.
  • #1
Nusc
760
2
The LinearAlgebra`MatrixManipulation` package is now obsolete with the new version of Mathematica.

Say you had an existing script with commands:TakeRows, TakeColumns, AppendColumns, ZeroMatrix, AppendRows (which are also obsolete)
Mathematica says:

AppendColumns, AppendRows, and BlockMatrix are available in the Mathematica kernel functions Join and ArrayFlatten.
TakeRows, TakeColumns, TakeMatrix, and SubMatrix are available in the Mathematica kernel function Take.

The later has four commands which use one now. How do I know if it's performing the same operation?
 
Mathematics news on Phys.org
  • #2


Where else can I ask about this? The Mathematica forums aren't much help. Too bad it didn't have as much support as Maple.
 

FAQ: The LinearAlgebra`MatrixManipulation` package

What is the purpose of the "LinearAlgebra`MatrixManipulation` package"?

The "LinearAlgebra`MatrixManipulation` package" is a pre-defined set of functions and algorithms designed to manipulate matrices in Mathematica. It provides a variety of tools for performing common matrix operations, such as addition, multiplication, inversion, and decomposition.

How do I load the "LinearAlgebra`MatrixManipulation` package" in Mathematica?

To load the package, simply use the command Needs["LinearAlgebra`MatrixManipulation`"] in your Mathematica notebook.

What are some of the key functions included in the "LinearAlgebra`MatrixManipulation` package"?

Some of the key functions include MatrixAdd for addition, MatrixMultiply for multiplication, MatrixInverse for inversion, and MatrixDecomposition for decomposing a matrix into its constituent parts (e.g. LU, QR, or Cholesky).

Can I use the "LinearAlgebra`MatrixManipulation` package" for symbolic calculations?

Yes, the package supports both numerical and symbolic calculations. You can use symbolic variables and expressions in your matrices and the package will handle them appropriately.

Are there any additional resources available for learning about the "LinearAlgebra`MatrixManipulation` package"?

Yes, Mathematica's documentation includes a detailed guide on using the package, as well as examples and tutorials. Additionally, there are many online resources and forums where you can find helpful tips and discussions about using the package.

Back
Top