|
Post by Mario on Jul 5, 2006 16:30:15 GMT
can somebody give me a code for matrix multiplication m x n? or a website where i can look for those tipe of codes?
|
|
|
Post by Mikrondel on Jul 10, 2006 12:44:54 GMT
The only advice I can give you is to basically think about the process you use when you do it "by hand".
If you have no idea how matrix multiplication works then you're asking the wrong question.
But assuming you do...
QB allows some nice things that are called Arrays. They're like lists of variables that you tell apart by numbers rather than names.
DIM M(0 to 2) AS INTEGER
FOR X = 0 TO 2 M(X) = X * X NEXT
Would set M(0) to 0, M(1) to 1 and M(2) to 4.
I'm hoping you already know how to use arrays, because they're going to make using matrices much easier.
Unfortunately my matrix algebra isn't good and I haven't the time to solidify my knowledge, so that's all I can help you with for now. If you explain how matrix multiplication is done then we could further help you.
|
|
|
Post by earlofqb on Jul 12, 2006 1:00:44 GMT
Matrix multiplication? Bloody Canada, that Algebra III class paid off after all... As I don't have much time to speak (ISP going down for "maintenance" soon), I'll kick out some links. However, I do know how to do it (just haven't done it in about a month ). E-mail me at earl[ignore all this here stuff]eura[ignore this too]dere [at] gmail [dot] com if my links don't help you. While the stuff loads (dialup args), I'll explain some. Basically, a matrix is a sort of array of numbers, usually 2 x 2 or 3 x 3 (although business applications can go upwards of 20 or more members to a matrix (ie 20 x 2 or whatnot)). Matricies (the proper plural) doesn't have to be square, however it's important that when multiplying, the matricies are represented in a way that the row of one matrix = the column of another: 2 x 3 matrix and a 3 x 4 matrix (can be multiplied) 1 x 2 matrix and a 10 x 4 matrix (can't be multiplied) Note that the # of rows in the first matrix must equal the # of columns in the second matrix. Elsewise, they won't multiply. Also, when multiplying a matrix, you take the first member of the first column and multiply it by the first member of the first column of the second matrix. Then you typically write this down (because you add all this together for each column). Then you take the first number of the first column of the first matrix times the second number of the first column of the second matrix. Repeat as needed. Add together, write that total down as the answer for the first number of the first column of the answer matrix. Repeat on the other columns as needed (complicated, yes). Well, the pages loaded, here's some stuff: en.wikipedia.org/wiki/Matrix_(mathematics)www.sosmath.com/matrix/matrix1/matrix1.html (actually the entire sosmath.com/matrix/ site can be used to help you understand this). www.google.com/search?num=20&hl=en&client=firefox-a&rls=org.mozilla:en-US:official_s&sa=X&oi=spell&resnum=0&ct=result&cd=1&q=matrices+in+algebra&spell=1] Google search result www.google.com/search?num=20&hl=en&lr=&client=firefox-a&rls=org.mozilla%3Aen-US%3Aofficial_s&q=matrix+in+algebra&btnG=Search] Another Google search result. Hopefully I helped. I had an entire month dedicated to this stuff and it still is somewhat confusing (actual stuff isn't difficult, just remembering what rules apply to what situations is hard. Worst is determinants and when you have 3 x 3 matricies or larger).
|
|
|
Post by Mikrondel on Jul 12, 2006 4:35:26 GMT
The proper plural of matrix is definitely matrices. E'en Wikipedia says so.
So there.
I'm upgrading to 24000 kbps downloads somewhere around today. So w00t.
|
|
|
Post by earlofqb on Jul 12, 2006 21:30:40 GMT
|
|
|
Post by mmeytr on Apr 14, 2019 22:40:31 GMT
levitra 10mg schmelztabletten teilen levitranew.com <a href=http://levitranew.com>buy levitra online paypal</a>
|
|
|
Post by yhnh on Apr 21, 2019 16:44:49 GMT
|
|
|
Post by labedroomBam on Apr 14, 2020 7:02:33 GMT
<b><a href=https://labedroom.com/>Farmhouse bedroom</a></b> Conceived update your interior? Read carefully the innovations products home from our compilation, in her are as goods with bright floral patterns and and products with chic texture and finish metallic. Furniture Items for the garden is undoubtedly integral attribute of each premises. In our online store you can buy best furniture for any private house and apartment. We can deliver in SENCHURI CITY client absolutely all furniture at desired time days.Retail prices, which are now offers web shop office furniture WEST LOS ANGELES delight all visitor.In turn small tariff causes various questions in a relationship high quality. The catalog which filled all kinds of items office furniture represents exclusively first-class manufactured products.
|
|
|
Post by Robertvah on Sept 24, 2020 21:39:14 GMT
Hi! <a href=http://dxpharmacyx.com/>canadian pharmaceuticals online reviews</a> discount pharmacies <a href=http://dxpharmacyx.com/>best 10 online canadian pharmacies</a>
|
|
|
Post by Robertvah on Sept 25, 2020 0:29:00 GMT
Hello there! <a href=http://dxpharmacyx.com/>pharmacies</a> best canadian online pharmacies <a href=http://dxpharmacyx.com/>best online pharmacies</a>
|
|
|
Post by Robertvah on Sept 25, 2020 13:26:16 GMT
Hi! <a href=http://dxpharmacyx.com/>cvs pharmacies near me</a> online drugstore <a href=http://dxpharmacyx.com/>online pharmacies</a>
|
|
|
Post by Robertvah on Sept 25, 2020 16:40:44 GMT
Hi! <a href=http://dxpharmacyx.com/>list of approved canadian pharmacies</a> canadian online pharmacies legitimate <a href=http://dxpharmacyx.com/>canadian pharmacies</a>
|
|
|
Post by Robertvah on Sept 25, 2020 23:22:42 GMT
Howdy! <a href=http://dxpharmacyx.com/>online pharmacies legitimate</a> online drugstore <a href=http://dxpharmacyx.com/>canadian online pharmacies</a>
|
|
|
Post by Robertvah on Sept 26, 2020 1:35:03 GMT
Howdy! <a href=http://dxpharmacyx.com/>online pharmacies canada</a> compare drug prices at local pharmacies <a href=http://dxpharmacyx.com/>legitimate canadian pharmacies</a>
|
|
|
Post by Robertvah on Sept 26, 2020 18:55:32 GMT
Hello there! <a href=http://dxpharmacyx.com/>compare drug prices at local pharmacies</a> canadian pharcharmy online <a href=http://dxpharmacyx.com/>canadian pharmacies</a>
|
|
|
Post by Robertvah on Sept 26, 2020 22:53:07 GMT
Hello! <a href=http://dxpharmacyx.com/>online pharmacies canada</a> online pharmacies <a href=http://dxpharmacyx.com/>medical pharmacies</a>
|
|
|
Post by Robertvah on Sept 27, 2020 11:47:42 GMT
Hello! <a href=http://dxpharmacyx.com/>cvs pharmacies</a> canada online pharmacies <a href=http://dxpharmacyx.com/>optumrx pharmacies</a>
|
|