Math class for Visual Basic.NET (matrix operations)

  • Thread starter Ing. Carlos Villaseñor M.
  • Start date
I

Ing. Carlos Villaseñor M.

Hi everybody!

I have developed in C# and got in a news group a math class that make matrix
operations, eigenvals, eigenvecs, stat functions and much more, but now I
trying to develop software in Visual Basic.NET and wondering if does exist
something like that for Basic.NET.

I appreciate some help

Thank you
Carlos Villaseñor
 
H

Herfried K. Wagner [MVP]

Ing. Carlos Villaseñor M. said:
I have developed in C# and got in a news group a math class that make
matrix
operations, eigenvals, eigenvecs, stat functions and much more, but now I
trying to develop software in Visual Basic.NET and wondering if does exist
something like that for Basic.NET.

Compile the C# class to a DLL file (project type Class Library) and
reference the project/library from your VB project.
 
T

Theo Verweij

Correct, but look at the VisualBasic Namespace; a lot of these functions
are standard in VB.
 
H

Herfried K. Wagner [MVP]

Theo Verweij said:
Correct, but look at the VisualBasic Namespace; a lot of these functions
are standard in VB.

Matrix operation functions?!
 
J

Jaap Bos

Herfried K. Wagner said:
Matrix operation functions?!

When some time ago I wanted to use matrix operations the only things I found
were the 3x3 matrices used in translating/rotating/shearing and so on.
So in the end had had to write my own methods for matrix multiplication and
matrix inversion in vb2005 express..
Have I overlooked something...?

Greetings
 
T

Tim Patrick

The GDI+ libraries in .NET include some matrix transformation methods, but
they are specifically designed to work with .NET's view of a graphics canvas.
There are a few matrix features in the book "Visual Basic 2005 Cookbook"
by O'Reilly Media, including matrix inversion, but it sounds like you may
already have some of those basics written.
 
G

Guest

I have a set of functions written in VB3 and also a set in VB.Net. If you
want, I can e-mail them to you. My e-mail is (e-mail address removed)
 
J

Jaap Bos

Trifon said:
You may find this interesting: http://www.bluebit.gr/NET/
Yes, looks nice!
But still, should VB2005 not include basic matrix functions?

I'm (trying) porting some programs from TranEraHTBasic to VB. It came as a
bit of surprise to me that in VB2005 I had to write my own routines to do
matrix multiplication and matrix inversion. These are simply commands in
TransEraHTBasic (even in the 15-years old edition I'm using).
These commands are not too esoteric, if you work with e.g. simultaneous
equations, you really need them!
Suppose that you would want to calculate the square root of a number. And
there was not a function for that in VB2005!
I don't think anyone would be satisfied with the idee that if you wanted to
do that, that there is always the possibility to use third party software to
achieve this.

Greetings

Jaap
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top