-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
My HP50g is unable to multiply a 1 by n vector by a n by 1
vector. However, matrix dimensions agree for the product, and this
product is thus defined. This is even the definition of the scalar
product of two vectors when their components are given.
Is it normal? Is there a way to make this scalar product?
Thanks.
- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- --
Life is like a box of chocolate, you never know what you're gonna
get.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iEYEARECAAYFAk2HP6MACgkQM0LLzLt8MhwLYACfXZbqqS5qvuUgstQOB7W19UkE
y3sAnRTuva7HlEP4RykIXJ5hP+Q1L8Gk
=Vhoo
-----END PGP SIGNATURE-----
|
|
0
|
|
|
|
Reply
|
Merciadri
|
3/21/2011 12:08:03 PM |
|
> My HP50g is unable to multiply a 1 by n vector by a n by 1
> vector. However, matrix dimensions agree for the product, and this
> product is thus defined. This is even the definition of the scalar
> product of two vectors when their components are given.
One is a vector, the other is a matrix. They are two different types
to the calculator. Make sure they are defined both with [ [ 1 2
3 ... ] ] as opposed to just [ 1 2 3 ... ]. It should work then I
think.
TW
|
|
0
|
|
|
|
Reply
|
TW
|
3/21/2011 1:59:47 PM
|
|
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
TW <timwessman@gmail.com> writes:
>> My HP50g is unable to multiply a 1 by n vector by a n by 1
>> vector. However, matrix dimensions agree for the product, and this
>> product is thus defined. This is even the definition of the scalar
>> product of two vectors when their components are given.
>
> One is a vector, the other is a matrix. They are two different types
> to the calculator. Make sure they are defined both with [ [ 1 2
> 3 ... ] ] as opposed to just [ 1 2 3 ... ]. It should work then I
> think.
Okay. But a question then arises: why is a such a vector matrix not
defined as a vector, simply?
Thanks.
- --
Merciadri Luca
See http://www.student.montefiore.ulg.ac.be/~merciadri/
- --
The exception proves the rule.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iEYEARECAAYFAk2HXdMACgkQM0LLzLt8MhyT7gCZAVXmel6ay+SngTgO2oXhHhQ1
myEAoJo1oksJr0eslofyBb76pt+cTg0g
=eMiJ
-----END PGP SIGNATURE-----
|
|
0
|
|
|
|
Reply
|
Merciadri
|
3/21/2011 2:16:51 PM
|
|
On 21 mar, 11:16, Merciadri Luca <Luca.Mercia...@student.ulg.ac.be>
wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> TW <timwess...@gmail.com> writes:
> >> My HP50g is unable to multiply a 1 by n vector by a n by 1
> >> vector. However, matrix dimensions agree for the product, and this
> >> product is thus defined. This is even the definition of the scalar
> >> product of two vectors when their components are given.
>
> > One is a vector, the other is a matrix. They are two different types
> > to the calculator. Make sure they are defined both with [ [ 1 2
> > 3 ... ] ] =A0as opposed to just [ 1 2 3 ... ]. It should work then I
> > think.
>
> Okay. But a question then arises: why is a such a vector matrix not
> defined as a vector, simply?
>
> Thanks.
> - --
> Merciadri Luca
> Seehttp://www.student.montefiore.ulg.ac.be/~merciadri/
> - --
>
> The exception proves the rule.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
> Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
>
> iEYEARECAAYFAk2HXdMACgkQM0LLzLt8MhyT7gCZAVXmel6ay+SngTgO2oXhHhQ1
> myEAoJo1oksJr0eslofyBb76pt+cTg0g
> =3DeMiJ
> -----END PGP SIGNATURE-----
Hi!, Merciadri:
Have you seen the following video? ... http://www.youtube.com/watch?v=3Dg-p=
O8X8k8pg
Best Regards.
MACH.
|
|
0
|
|
|
|
Reply
|
MACH
|
3/21/2011 6:44:03 PM
|
|
On 3/21/2011 7:08 AM, Merciadri Luca wrote:
> My HP50g is unable to multiply a 1 by n vector by a n by 1 vector.
There is no such thing as a "1 by n vector" vs. an "n by 1 vector,"
because a "vector" is a ONE-dimensional LIST of 'n' values,
which has no "second dimension."
The only legitimate types of "vector multiplication"
defined in HP graphing calculators are:
[ 1 2 3 ] [ 4 5 6 ] DOT @ Result: 32
[ 1 2 3 ] [ 4 5 6 ] CROSS @ Result: [ -3 6 -3 ]
A Matrix, on the other hand, is a TWO-dimensional array,
and there is a significant different between these examples:
[[ 1 2 3 ]] @ "1x3" matrix (one row)
[[ 4 ] [ 5 ] [ 6 ]] @ "3x1" matrix (one column)
Valid products of these are highly dependent upon the order of multiplication
(or to put it another way, which "vector" to treat as a "one row matrix"
vs. the other "vector" being treated as a "one column matrix"):
[[ 1 2 3 ]] [[ 4 ] [ 5 ] [ 6 ]] * @ [[ 32 ]]
[[ 4 ] [ 5 ] [ 6 ]] [[ 1 2 3 ]] * @ [[ 4 8 12 ] [ 5 10 15 ] [ 6 12 18 ]]
As a special case, the calculators accept:
[[ 1 2 3 ]] [ 4 5 6 ] * @ [ 32 ]
Where a vector 2nd argument of "*" is treated as a 1-column matrix,
and the one-column matrix result is again output as a vector;
this is handy to save a little effort and eye-strain
in representing systems of linear equations as 'A*X=B'
where 'X' and 'B' may each be represented as vectors,
rather than as one-column matrices.
[r->] [OFF]
|
|
0
|
|
|
|
Reply
|
John
|
3/21/2011 9:21:09 PM
|
|
In article <87r5a0vfq4.fsf@merciadriluca-station.MERCIADRILUCA>,
Merciadri Luca <Luca.Merciadri@student.ulg.ac.be> wrote:
> Hi,
>
> My HP50g is unable to multiply a 1 by n vector by a n by 1
> vector. However, matrix dimensions agree for the product, and this
> product is thus defined. This is even the definition of the scalar
> product of two vectors when their components are given.
What is mostly displayed as row vector, such as [ 1 2 3 ] is treated
internally, as are all vectors, as a column vector so that [[1 2 3 ]]
times [1 2 3] in that order is a proper operation , a 1 by 3 matrix
times a 3 dimensional column vector and results in [ 14 ], a one
dimensional vector.
Whereas [1 2 3] times [[ 1 2 3 ]] in that order is improper and results
only in an error message.
If vectors were required to be matrices, then the vector [`1 2 3]
would be have to be [[1] [2] [3]] rather than [[1 2 3]].
So the hp50 does handle those matrix products, one you understand the
peculiar vector notation of displaying internally held column vectors as
if they were row vectors.
It is just one of those idiosyncracies of the HP48-49-50 series you
have to get used to.
|
|
0
|
|
|
|
Reply
|
Virgil
|
3/21/2011 10:07:45 PM
|
|
On Mar 21, 11:07=A0pm, Virgil <V...@gil.Gil> wrote:
> In article <87r5a0vfq4....@merciadriluca-station.MERCIADRILUCA>,
> =A0Merciadri Luca <Luca.Mercia...@student.ulg.ac.be> wrote:
>
> > Hi,
>
> > My HP50g is unable to multiply a 1 by n vector by a n by 1
> > vector. However, matrix dimensions agree for the product, and this
> > product is thus defined. This is even the definition of the scalar
> > product of two vectors when their components are given.
>
> What is mostly displayed as row vector, such as [ 1 2 3 ] is treated
> internally, as are all vectors, as a column vector so that [[1 2 3 ]]
> times [1 2 3] in that order is a proper operation , a =A01 by 3 matrix
> times a 3 dimensional column vector and results in [ 14 ], a one
> dimensional vector.
>
> Whereas [1 2 3] times [[ 1 2 3 ]] in that order is improper and results
> only in an error message.
>
> If vectors were required to be matrices, then the vector [`1 2 3]
> would be have to be [[1] [2] [3]] rather than [[1 2 3]].
>
> So the hp50 does handle those matrix products, one you understand the
> peculiar vector notation of displaying internally held column vectors as
> if they were row vectors.
>
> It is just one of those idiosyncracies of the HP48-49-50 series =A0you
> have to get used to.
Thanks all!
|
|
0
|
|
|
|
Reply
|
Merciadri
|
3/24/2011 12:56:14 AM
|
|
|
6 Replies
299 Views
(page loaded in 0.425 seconds)
Similiar Articles: Own a HP 48GX, upgrade to a 49G+? - comp.sys.hp48... about 90% of todays keyboards can't handle some ... But HP isn't > alone in this; these days a lot of products seem to be packaged ... sys.hp48 Using hpg library in HP50g c ... factor analysis: rotated axes angle - comp.soft-sys.matlab ...There may be some way to express that, since both depend on the rotation matrix, but you're on your own. ... point of calculating those factor scores if they can't ... create .avi files from different video and audio streams - comp ...Now can't find a way to get ... Also found some posts about using Simulink but I don't think it can happen ... the reader and got a matrix called videoFrame. Now you can ... how to use xlswrite for image files ? - comp.soft-sys.matlab ...... en/data/1-2EAKQR/index.html?product=ML ... allows 256 columns so it wouldn't be able to handle very big images. You can ... to use xlswrite to write a huge matrix to excel, some ... AR coefficients for complex numbers - comp.dspStill, I find it hard to believe that it does not handle ... letters denote column vector quantities, and the product ... Since I can't point you to other sources to the ... Can a procedure contain only a SELECT statement? - comp.databases ...... MS based products, some don't care ... front-end code can handle the output from a procedure when it doesn't ... Generate a CRUD matrix - comp.databases.oracle.server I don't ... Wireframe rendering? - comp.cad.solidworksI'll see if it can handle what you propose ... I'd like to add some notes: - The sheet scale doesn't seem to matter - You ... Generating matrix palettes for shader ... estimation parameter using fminsearch - comp.soft-sys.matlab ...You may want to do some sampling to get ... Simulink Design Optimization, which can perform parameter estimation and handles ... matrix form. which A is non-diagonal matrix ... Surface normals? - comp.graphics.api.openglWith some experience you'll see, that such ... You can't "know" where to put sharp "creases" in the ... but cannot think of a way to get say a array/matrix of ... Iterating over a String - comp.lang.java.help-- Roedy Green Canadian Mind Products http ... didn't mean to imply I don't know how to handle it. The problem is more that in some ... in iteration of the loop ... matrix ... Amazon.com: HP 50g Graphing Calculator: ElectronicsProduct Dimensions: 7.2 x 3.4 x 0.9 ... with SD card slot) means the 50g can handle ... You probably have some idea of what a stack is, but if you don't the concept is ... HP 50G Graphing Calculator F2229AA#ABA on sale for $107.98Product Description HP50G Graphing Calculator Editorial ... WILL BE AMAZED AT WHAT YOU CAN DO. VARIABLES, COMPLEX NUMBERS, EQUATIONS, MATRIX ... is my first HP calc so I can't ... 7/22/2012 7:45:18 AM
|