|Total Hits: 1 | Today: 0||Author: Jason Rudland|| Rating: |
The goal was to achieve improved sorting performance by spawning a limited number of threads to use as much of the available processing power on multi-core and/or multi-processor machines as possible. The result is an improvement of 40% on dual core and more than 100% on a 4 processor machine....
|Total Hits: 0 | Today: 0||Author: Marc Clifton|| Rating: |
I recently needed to order the rows in a matrix based on the value of the data in a particular column. This wasn't coming from a database, so a nice "order by" SQL clause wouldn't work. I also wasn't using a DataTable and its associated DataView class, so the Sort property wasn't an option either--I was using my own Matrix class. My first thought was, this is easy, I'll just specify my own IComparer when I call the Sort method for the column ArrayList and look up the interface that lets me sw...
|Total Hits: 0 | Today: 0||Author: Christ Kennedy|| Rating: |
In the previous and first article in the series Mars Mission (1): Surface Landing we looked at the collision detection classLandscape being exploited in a form designed for the sole purpose of debugging the landing and take-off phase of this project. This past month I've been busy incorporating the landing stage into a solar-system simulator and have joined the two together so that you can now fly your shuttle anywhere in the solar system. You can no longer bounce around indefinitely like you co...
|Total Hits: 1 | Today: 0||Author: JadBenAutho|| Rating: |
Matrixes are useful for so many things. My code demonstrates a small part of it, like solving sets of many equations, finding connections between vectors, multiplying, adding matrixes, and more. I thought that it will be most useful if matrixes wouldl come with the ability to handle complex numbers as well as rationals. I have split the code to the following headers to make it more simple: the main part RationalComlpexMatrix is based on the RationalComplex class, that is based on the Rational cl...
|Total Hits: 3 | Today: 0||Author: leniel|| Rating: |
The Critical Path Method or just CPM is a mathematically based algorithm for scheduling a set of project activities....
|Total Hits: 0 | Today: 0||Author: John D. Cook|| Rating: |
Sometimes you don't have data where you need it. Maybe you have figures collected sporadically but you need to present them as if they were collected at regular intervals, say once a week. Or maybe you need to make your best guess at missing data points. This is a job for interpolation.
Sometimes instead of wanting to guess at output values for inputs that you choose, you want to do the opposite: You have an output in mind and you need to guess what input would give you the output that yo...
|Total Hits: 1 | Today: 0||Author: VijayaSekhar Gullapalli|| Rating: |
This article presents a library developed in Microsoft VC#.NET, which contains methods used in linear algebra. Methods for inversion of matrices, finding determinant and solving linear systems are presented here. The advantages of using an object oriented language for computational problems is also discussed here....
|Total Hits: 2 | Today: 0||Author: karamana|| Rating: |
This article describes a dynamic programming method to solve the "Maximum value contiguous subsequence problem". The problem is defined as follows: given a sequence of n real numbers A(1) ... A(n), determine a contiguous subsequence A(i) ... A(j) for which the sum of elements in the subsequence is maximized....
|Total Hits: 0 | Today: 0||Author: Matthew Cochran|| Rating: |
Currying is a way to re-write a function with multiple arguments in such a way as it can be called as a chain of functions each with a single argument. This article covers using a few simple utility methods you can use to curry your methods....
|Total Hits: 2 | Today: 0||Author: Ghulam Murtaza|| Rating: |
# C# includes more primitive types and the functionality to catch arithmetic exceptions.
# Includes a large number of notational conveniences over Java, many of which, such as operator overloading and user-defined casts, are already familiar to the large community of C++ programmers.
# Event handling is a "first class citizen"; it is part of the language itself.
# Allows the definition of "structs", which are similar to classes but may be allocated on the stack (unlike instances of clas...
|Total Hits: 0 | Today: 0||Author: Khurram Shehzad|| Rating: |
Student Course Registration and Verification (SCRV) is designed to automatically read and modify Roll Number slips in Microsoft Word format. The idea is to design a tool that reads, parses and modifies the Microsoft Word document automatically. SCRV take input from Microsoft Word format files of Roll Number slips. It reads the Microsoft Word documents, comparing the contents of the document with an Oracle database. The document is updated/corrected, if required, and saved at a different location...
|Total Hits: 0 | Today: 0||Author: Matthew Cochran|| Rating: |
This article covers how to use functions as the basis for generating lists given some initial seed values. This technique is useful for constructing different types of numeric series, calculating growth and decay, and also useful for searching algorithms....
|Total Hits: 69 | Today: 0||Author: Chandramouli Muralidaran|| Rating: |
Several language extensions are introduced in C# 3.0 code-named "Orcas". These extensions are built on C# 2.0 to support functional programming style.
* Auto-implemented Properties
* Implicitly Typed Local Variables
* Extension Methods
* Lambda Expressions
* Object Initializers
* Collection Initializers
* Anonymous Types
* Partial Methods
* Expression Trees
* Query Expressions...
|Total Hits: 125 | Today: 0|| Rating: |
Step 1 : Create a blank Solution "testParameterReport"
Step 2 : Add new project Windows Forms Application name "testParameterReport"
Step 3 : Run this Script for create Table and Storedprocedure....
|Total Hits: 40 | Today: 0||Author: Abhishek6246|| Rating: |
XML is widely used for storing and formatting data. By using the current APIs, it is slightly cumbersome to handle and play with XML data.
LINQ to XML (.NET 3.5) makes handling XML easier through query experience similar to SQL....
|Total Hits: 15 | Today: 0||Author: syntaxed|| Rating: |
When using Microsoft Outlook, you come across a mail notification window that appears slowly and fades off. But, when you drop your mouse back on the window, it becomes opaque, and then again on mouse away it fades off, and this process continues so on. So, eventually it either fades away or you ignore the window, or you close it or you click it to read the mail. This article describes how to build that kind of window using C#....
|Total Hits: 77 | Today: 0||Author: junnark|| Rating: |
A Java Programmer friend of mine once asked me if I have ever built a web chat application. I said "No". He then asked me if I were to build a really simple, monitored, bare minimum, working web chat application, how long do I think will it take (something to that effect). I said, "I don't know". A few days had passed, one lazy evening, I was surfing the web looking for ASP.Net web chat applications. It seems that I can't find one that is simple enough to implement. So I decided to just build so...
|Total Hits: 49 | Today: 0||Author: Code24.com|| Rating: |
The executable and the source code could be found on the first part of this article. Click here to read the first part of this article: Part1. In this part we are going to describe step by step, how you could use the IP-Monitor tool....
|Total Hits: 144 | Today: 0||Author: mbanavige|| Rating: |
The FtpWebRequest class enables you to programatically create FTP connections to FTP Servers and transfer files. If you are interested in using the FtpWebRequest class to upload files to a server,...
|Total Hits: 178 | Today: 0||Author: Bechir Bejaoui|| Rating: |
In this article, I will try to make understand the importance of the where keyword used as a part of a generic class context through answering two questions why? And When or in witch case the where keyword is used....