# symbolic matrix norm

Matlab has symbolic matrix norm, does Sage also have a command to compute the norm of a symbolic matrix?

Thanks in advance!

symbolic matrix norm

Matlab has symbolic matrix norm, does Sage also have a command to compute the norm of a symbolic matrix?

Thanks in advance!

add a comment

0

It depends on what you call a "symbolic matrix". If `M`

is a matrix with entries in the symbolic ring `SR`

, then `M`

has a method `.norm()`

that computes **a** norm of `M`

(you can specify which norm as a parameter). However, this method only works when the entries of the matrix can be converted to fixed real or complex numbers (elements of `CDF`

or `RDF`

).

for more details, type:

```
sage: M.norm?
```

for the documentation and

```
sage: M.norm??
```

for the source code of this method.

Hence, if you want to compute a norm (there are many possibilities) of a matrix with symbolic entries such as `cos(x)`

, then you have to write your own function.

Asked: **
2013-11-07 04:54:05 -0500
**

Seen: **719 times**

Last updated: **Nov 07 '13**

Is there a way to simplify_full and trig_reduce a matrix?

Substituting for a matrix of variables

strings and other objects in matrices

Is there an easy way to get the matrix of coefficients from a product of a matrix and a vector?

Is there a way to block diagonalize a matrix?

how to obtain the real part of a complex function

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.