function of a matrix
|
06-26-2019, 04:03 AM
Post: #1
|
|||
|
|||
function of a matrix
Is there any way to have functions such as EXP, SIN, COS, LOG, SQRT, etc...accept matrix argument (square matrix)? I know how to go through the eigenvector and eigenvalues and implement this but other calculators even my old TI-92 could easily accept square matrix and give the exp() of it for example
|
|||
06-26-2019, 05:41 AM
Post: #2
|
|||
|
|||
RE: function of a matrix
Yes, this is built-in from CAS, e.g exp([[1,2],[3,4]]) (exact) or exp([[1.,2.],[3.,4.]]) (approx). Exact will work only if eigenvalues can be computed symbolically, approx will not work if matrix is not diagonalizable.
|
|||
06-26-2019, 11:11 AM
Post: #3
|
|||
|
|||
RE: function of a matrix
(06-26-2019 05:41 AM)parisse Wrote: Yes, this is built-in from CAS, e.g exp([[1,2],[3,4]]) (exact) or exp([[1.,2.],[3.,4.]]) (approx). Exact will work only if eigenvalues can be computed symbolically, approx will not work if matrix is not diagonalizable. Thanks! I actually realized that it works in CAS after my post. Sorry about that. I am very new to this. I just got my Prime 2 days ago and there is a lot to learn yet but why it doesnt work in Home screen (numerical mode?)? I also have a off topic question, what is the largest matrix size that Prime can handle? for things like solving linear equations, or eigensystem calculation, LU decomposition, inverse, etc.... |
|||
06-28-2019, 07:53 PM
Post: #4
|
|||
|
|||
RE: function of a matrix
Inside CAS, approx numeric matrix computations run fast enough at size 100. This should be sufficient for a calculator. If you need larger matrices, a computer is probably more appropriate...
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)