|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
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 "Ing. Carlos Villaseñor M." <cvmdis***@avantel.net> schrieb: Compile the C# class to a DLL file (project type Class Library) and > 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. 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/> Correct, but look at the VisualBasic Namespace; a lot of these functions
are standard in VB. Herfried K. Wagner [MVP] wrote: Show quoteHide quote > "Ing. Carlos Villaseñor M." <cvmdis***@avantel.net> schrieb: >> 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. > "Theo Verweij" <tverw***@xs4all.nl> schrieb: Matrix operation functions?!>Correct, but look at the VisualBasic Namespace; a lot of these functions >are standard in VB. -- M S Herfried K. Wagner M V P <URL:http://dotnet.mvps.org/> V B <URL:http://dotnet.mvps.org/dotnet/faqs/> No.
But a lot of other stuff, like stat functions are available. Herfried K. Wagner [MVP] wrote: Show quoteHide quote > "Theo Verweij" <tverw***@xs4all.nl> schrieb: >> Correct, but look at the VisualBasic Namespace; a lot of these >> functions are standard in VB. > > Matrix operation functions?! > "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> schreef in bericht When some time ago I wanted to use matrix operations the only things I found news:eSTKMyn%23GHA.4524@TK2MSFTNGP04.phx.gbl... > "Theo Verweij" <tverw***@xs4all.nl> schrieb: >>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/> > 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 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 Show quoteHide quote > "Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> schreef in > bericht news:eSTKMyn%23GHA.4524@TK2MSFTNGP04.phx.gbl... > >> "Theo Verweij" <tverw***@xs4all.nl> schrieb: >> >>> 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 > 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 dhin***@houston.rr.com -- Show quoteHide quoteDennis 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 > > > You may find this interesting: http://www.bluebit.gr/NET/
"Trifon" <trif***@otenet.gr> schreef in bericht Yes, looks nice!news:1162226019.366252.303850@e3g2000cwe.googlegroups.com... > You may find this interesting: http://www.bluebit.gr/NET/ > 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
Existential question!
vb.net; controls Detecting textchanged event when user initiates it how to check whether a number is an integer? Exception message How to tell if my app is running on laptop or desktop? Simple thread implementation not working. How to Reference a .Net Assembly from within VBA? Errors in Page directive Determine if xml is malformed |
|||||||||||||||||||||||