Heresy

0 Reputation

2 Badges

13 years, 72 days

MaplePrimes Activity


These are questions asked by Heresy

Dear All,

Further to my previous question on this forum "How to write data from a matrix while choosing the format?", I would like to update it by adding a complex number. What is the easiest way to deal with that?

Here is the file (that does not compile): writedataMatrix.mw

> driver := proc () local A, B, x, f, g, i, j, format, fd:

A := Matrix(3, 3):
f := 1-2*I:
g := evalf(sin((1/5)*Pi)):

Dear All,

I would like to know the easiest way to write data, that are stored in a matrix after a computation, to a file with a specific format. To be more precise, I wish to have the possibility to change the format for a given column.

Here is a trial (output is wrote to the terminal for simplification) based on some examples I found, but without success.

WritedataMatrix.mw

Dear All,

I am trying to find (complex) eigenvalues and eigenvectors of a matrix as a function of a variable. Using the following commands lead to the respective errors:

- LinearAlgebra[Eigenvalues](A): Error, (in content/polynom) general case of floats not handled

- LinearAlgebra[Eigenvectors](A): Error, (in LA_Main:-Eigenvectors) cannot determine if this expression is true or false: 0.2480392156e-4*abs...

Page 1 of 1