Sign in
|
Join
.NET at 9.400 ft above sea level
Programming in Quito, 2.860 m above sea level
This Blog
Home
About
Syndication
RSS
Atom
Comments RSS
Search
Go
Tags
.NET
.NET Framework 4
ADO.NET
ASP.NET
avalon
Biztalk Server 2006
C#
C# 3.0
CLR
CMMI
Community News
Entity Framework
Excel
Expression
F#
Fortran
Functional Programming
Gadget
General Software Development
Haskell
Imagine Cup
infocard
IronPython
Java
LINQ
Linux
Longhorn
Math
Mono
Numerical Analysis
Office
Open source
Oracle
Orcas
ParallexFX
Popfly
Postgresql
Programming Languages
Project Euler
Project Management
Python
Robotics Studio
Ruby
Scrum
Sharepoint
Silverlight
Sql Server 2005
Team System
TechEd 2006
TFS
VB.NET
vista
Visual Basic
Visual Studio
Visual Studio 2005
Visual Studio 2008
Visual Studio 2010
VSTO 2005
wcf
Web Services
wf
WideOpen Web
Windows Forms
Windows Vista
WindowsForms
WinFx
wpf
Navigation
Home
Blogs
Archives
August 2010 (2)
July 2010 (2)
October 2009 (1)
March 2009 (1)
November 2008 (2)
September 2008 (1)
August 2008 (1)
July 2008 (1)
May 2008 (4)
April 2008 (6)
January 2008 (1)
December 2007 (3)
November 2007 (4)
October 2007 (1)
July 2007 (1)
June 2007 (1)
May 2007 (1)
April 2007 (1)
March 2007 (2)
February 2007 (1)
January 2007 (2)
December 2006 (1)
August 2006 (2)
July 2006 (4)
June 2006 (16)
May 2006 (4)
April 2006 (10)
March 2006 (14)
February 2006 (5)
January 2006 (2)
August 2005 (4)
July 2005 (6)
June 2005 (5)
April 2005 (4)
February 2005 (5)
January 2005 (4)
December 2004 (8)
November 2004 (6)
October 2004 (3)
September 2004 (5)
August 2004 (14)
July 2004 (2)
June 2004 (3)
May 2004 (6)
April 2004 (4)
March 2004 (6)
February 2004 (5)
January 2004 (7)
October 2003 (10)
June 2003 (2)
May 2003 (2)
April 2003 (5)
March 2003 (9)
Blogs I (try to) read
Roy Osherove
Scott Guthrie
Neopoleon.com
Places
Logic Studio
MS RDs
CodeSmith
Didier Besset, C# Express, and NUnit
One of my most neglected hobbies is numerical computation (amid this sea of database access, layers, patterns, and services, anyone remember that one?), an example: a couple of years ago I bought the interesting
Object-Oriented Implementation of Numerical Methods: An Introduction with Java & Smalltalk
by Didier Besset, by then I was programming in C# and immediately had the idea of translating his algorithms to C#. Well, two years later (that is a couple of weeks ago) I dragged myself to do it only that, for being at least a little bit innovative, I decided to use
C# 2005 Express
. I know, I know, there are translators from Java to C# but, remember, this is my hobby, so I decided to take the scenic route; the process has been relatively painless (I'm in Chapter 7 now, working a few nights per week) and I've been able to use some of the nice features of C# (like operator overloading for polynomial operations, and List<double> instead of ArrayList for variable size vectors). Anyway, some doubts appeared on the way and I decided to contact Dr. Besset, after a couple of searches in Google I found his address and sent him my questions, to my amazement he promptly answered, and so here I am regularly e-mailing with Didier :-) One of the things I needed was some test data to validate my C# translation. Didier first sent me some test code in Smalltalk and then some more unit tests in Java, now to use them I needed
NUnit
, so this morning I downloaded the latets (beta) version of NUnit and, as it refused to install without .NET 1.1, I downloaded the source code, opened it with
VS 2005
and recompiled it, had an error due to a missing resource file but, as it was used only in one menu option, I blatantly commented the calls and tried again: voilá, in spite of a raft of warnings, NUnit now runs on my .NET 2.0 Beta 1 environment. So, finally I translated some of Didier tests and, to my exhilaration, my code actually *passed* them. Isn't programming fun?
Published Friday, July 30, 2004 6:42 PM by
Edgar Sánchez
Filed under:
Visual Studio 2005
Comments
#
Arrays in C# and Java
Wednesday, August 04, 2004 4:40 PM by
TrackBack
#
.NET 2.0 and Java 1.5 for numerical computing
Monday, August 09, 2004 2:59 AM by
TrackBack
#
.NET 2.0 y Java 1.5 para c?lculos num?ricos
Monday, August 09, 2004 4:27 PM by
TrackBack
#
OO Numerical Methods in C# 2.0
Tuesday, September 07, 2004 1:29 AM by
TrackBack
Leave a Comment
Title
(required)
Name
(required)
Your URL
(optional)
Comments
(required)
Remember Me?