The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





Post Reply 
Extracting values from vectors/matrices in home
02-24-2016, 10:15 AM
Post: #1
Extracting values from vectors/matrices in home
Hello !

How can I extract a specific value from a vector or a matrix in home?

In cas I can extract the 2 value of a vector simply with [2 4 6](2) and I get 4.
If I do the same in home I get [4 8 12], so [2 4 6](2) will be interpreted as [2 4 6]*(2)
Is there a way to do this in home without having to store the vector in a variable?

Typical use is when you solve a polynomial equation with proot() or a linear system with RREF() and want to extract the single solutions.

Thank you very much for the help

Reto
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Extracting values from vectors/matrices in home - retoa - 02-24-2016 10:15 AM



User(s) browsing this thread: 2 Guest(s)