Solved

matrix operations

Posted on 2001-08-19
4
354 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

726 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