Solved

matrix operations

Posted on 2001-08-19
4
355 Views
Last Modified: 2012-08-13
is there is any source code for vb program that do matrix operation such as determinant,multiply,adjacent,reverse,...etc
0
Comment
Question by:aft
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 14

Expert Comment

by:wsh2
ID: 6404285
Nope.. You have to write your own.. <sigh>

Eg.

Dim lngMatrix1(1 to 5, 1 to 10) As Long
Dim lngMatrix2(1 to 5, 1 to 10) As Long
Dim lngX As Long
Dim lngY As Long

For lngX = 1 to 5
   For lngY = 1 to 10
      lngMatrix2(lngX, lngY) = lngMatrix1(lngX, lngY)
   Next lngY
Next lngX
0
 

Author Comment

by:aft
ID: 6404304
can any one help me built it and i will increase the degrees to what ever he want
0
 

Author Comment

by:aft
ID: 6404308
and sow me also how can i build a function that return an array, and how can find the dimension of the returned array, and how to call this function know ing that i am using vb6
0
 
LVL 28

Accepted Solution

by:
Ark earned 20 total points
ID: 6404613
Hi

>>Matrix operations (addition, subtraction, and multiplication)<<
http://www.freevbcode.com/ShowCode.Asp?ID=132

>>Perform Real & Complex Matrix Operations<<
http://www.freevbcode.com/ShowCode.Asp?ID=2944

Cheers
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question