473,320 Members | 2,083 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Math class for Visual Basic.NET (matrix operations)

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
Oct 27 '06 #1
10 8789
"Ing. Carlos Villaseñor M." <cv*******@avantel.netschrieb:
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.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Oct 27 '06 #2
Correct, but look at the VisualBasic Namespace; a lot of these functions
are standard in VB.

Herfried K. Wagner [MVP] wrote:
"Ing. Carlos Villaseñor M." <cv*******@avantel.netschrieb:
>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.
Oct 28 '06 #3
Yea, that is more likely the most correct answer in my idea.
Oct 28 '06 #4
"Theo Verweij" <tv******@xs4all.nlschrieb:
>Correct, but look at the VisualBasic Namespace; a lot of these functions
are standard in VB.
Matrix operation functions?!

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Oct 28 '06 #5
No.

But a lot of other stuff, like stat functions are available.

Herfried K. Wagner [MVP] wrote:
"Theo Verweij" <tv******@xs4all.nlschrieb:
>Correct, but look at the VisualBasic Namespace; a lot of these
functions are standard in VB.

Matrix operation functions?!
Oct 28 '06 #6

"Herfried K. Wagner [MVP]" <hi***************@gmx.atschreef in bericht
news:eS****************@TK2MSFTNGP04.phx.gbl...
"Theo Verweij" <tv******@xs4all.nlschrieb:
>>Correct, but look at the VisualBasic Namespace; a lot of these functions
are standard in VB.

Matrix operation functions?!

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
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
Oct 28 '06 #7
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.

-----
Tim Patrick
Start-to-Finish Visual Basic 2005
"Herfried K. Wagner [MVP]" <hi***************@gmx.atschreef in
bericht news:eS****************@TK2MSFTNGP04.phx.gbl...
>"Theo Verweij" <tv******@xs4all.nlschrieb:
>>Correct, but look at the VisualBasic Namespace; a lot of these
functions are standard in VB.
Matrix operation functions?!

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
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

Oct 28 '06 #8
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 dh*****@houston.rr.com
--
Dennis in Houston
"Ing. Carlos Villaseñor M." wrote:
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
Oct 28 '06 #9
You may find this interesting: http://www.bluebit.gr/NET/

Oct 30 '06 #10

"Trifon" <tr*****@otenet.grschreef in bericht
news:11**********************@e3g2000cwe.googlegro ups.com...
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

Oct 30 '06 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Robin Powers | last post by:
PROCESS CONTROLS/VISUAL BASIC PROGRAMMERS SALARY: TO $100,000 LOCATION: LOS ANGELES AREA Our Client has recently acquired process automation systems used to monitor and control their...
0
by: friends | last post by:
I am new in C language and want to be good in it. I am trying to write the program for Spare matrix operations using linked list. I got some success but in many scenarios it fails to give proper...
17
by: kiplring | last post by:
float sum = (float)Math.Sqrt( floatA*floatA + floatB*floatB); I'm using DirectX with c#. But the Math class in .net framework has a problem. It is "double" base! So I'm doing type casting...
2
by: Carlos Villaseñor M. | last post by:
Hi every body I'm still new to C#, and at this time I'm developing my firt application (console application to learn the lenguage), and I need to perform matrix operations like multiply, to...
2
by: Joel Vazquez | last post by:
Visual Basic.NET Application RunTime Crashes and Stalls Im a newbie if you could say in .NET ive been working with it the past 3 months and have done lots of things with it, without any prior...
7
by: ZS | last post by:
Hi I'm trying to do matrix operations in C#. Is there a API that can be used. Like for eg. I have 2 vectors Vector A: Vector B : Vector B - Vector A = Should just be using ArrayList for...
4
by: MikeB | last post by:
I've been all over the net with this question, I hope I've finally found a group where I can ask about Visual Basic 2005. I'm at uni and we're working with Visual Basic 2005. I have some books, ...
0
by: quinto1000 | last post by:
Hello to all, I have a problem that I cannot solve, I have a file in C++ and like not like translating it to visual BASIC, I write to them to be able to receive aid and that somebody helps me to...
1
by: davedba007 | last post by:
I am writing a project on the application of matrix with visual basic,but the problem i am having is i don't know how to relate it with matrix not to talk of using it solving.
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.