C Board  

Go Back   C Board > General Programming Boards > C# Programming

Reply
 
LinkBack Thread Tools Display Modes
Old 03-19-2009, 11:42 PM   #1
Registered User
 
Join Date: Mar 2009
Posts: 1
Matrix Programming Help

hi
i'm very new to the programming. i have two questions related to matrices. Hope somoeone will help me with the code or even pseudo code is fine.

1. A c# function that returns TRUE when a matrix have same elements in anyone of the rows.
eg. 1 2 4
1 1 1
2 2 4

The function for the above matrix should return True otherwise false.

2. A c# function which takes two input values and displays a matrix in the following pattern

input: a,b

a a a a
a a a b
a a b b
a b b b
b b b b

I would appreciate your help
solarexplode is offline   Reply With Quote
Old 03-20-2009, 02:10 AM   #2
CSharpener
 
vart's Avatar
 
Join Date: Oct 2006
Posts: 5,308
Quote:
Originally Posted by solarexplode View Post
I would appreciate your help
What help you need? Do you have a specific question?
Do you have a code which has problems?
What have you already done?
__________________
If I have eight hours for cutting wood, I spend six sharpening my axe.
vart is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
C - access violation uber C Programming 2 07-08-2009 01:30 PM
Matrix Help HelpmeMark C++ Programming 27 03-06-2008 05:57 PM
Gauss-Jordan Matrix Inversion in C++ Max_Power82 C++ Programming 3 12-03-2006 08:31 PM
Matrix and vector operations on computers DavidP A Brief History of Cprogramming.com 11 05-11-2004 06:36 AM


All times are GMT -6. The time now is 12:00 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22