473,770 Members | 1,661 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

triangular matrix

hi........... i m mohsin
plz provide me the program which represents triangular matrix in c
language....... ..
Aug 27 '08 #1
13 3086
mo/-/sin <Ri*******@gmai l.comwrote:
hi........... i m mohsin
plz provide me the program which represents triangular matrix in c
language....... ..
int main( void )
{
int utm[ 2 ][ 2 ] = { { 1, 2 }, { 0, 3 } };
return 0;
}

HTH.

--
\ Jens Thoms Toerring ___ jt@toerring.de
\______________ ____________ http://toerring.de
Aug 27 '08 #2
On Wed, 27 Aug 2008 10:30:38 -0700, mo/-/sin wrote:
hi........... i m mohsin
plz provide me the program which represents triangular matrix in c
language....... ..
int triangular_matr ix[4][4] =
{
{1,0,0,0},
{1,1,0,0},
{1,1,1,0},
{1,1,1,1}
};

--
OU
Aug 27 '08 #3
mo/-/sin wrote:
hi........... i m mohsin
plz provide me the program which represents triangular matrix in c
language....... ..
.... and why should we do your homework for free?
--
jacob navia
jacob at jacob point remcomp point fr
logiciels/informatique
http://www.cs.virginia.edu/~lcc-win32
Aug 27 '08 #4
On Wed, 27 Aug 2008 10:30:38 -0700, mo/-/sin wrote:
hi........... i m mohsin
plz provide me the program which represents triangular matrix in c
language....... ..
Why?
Rui Maciel
Aug 27 '08 #5
On Aug 27, 10:30*am, "mo/-/sin" <Ri.moh...@gmai l.comwrote:
hi........... i m mohsin
plz provide me the program which represents triangular matrix in c
language....... ..
Here is a matrix which is both upper and lower triangular (bonus!).
Furthermore, it can be used as the identity matrix for certain small
matrices or even {in a pinch} as a scalar identity element:

static double ultriang[1] = {1.0};

HTH
Aug 27 '08 #6
On 2008-08-27, mo/-/sin <Ri*******@gmai l.comwrote:
hi........... i m mohsin
plz provide me the program which represents triangular matrix in c
language....... ..
This represents a triangular matrix:

/*

* **
** * *
* * *
* * *
*** **

** *
* * **
* * *
* * *
** ***

*/

int main(void) { return 0; }
Please give me credit for your art class.

--
Andrew Poelstra ap*******@wpsof tware.com
To email me, use the above email addresss with .com set to .net
Aug 27 '08 #7
On 2008-08-27, Andrew Poelstra <ap*******@supe rnova.homewrote :
On 2008-08-27, mo/-/sin <Ri*******@gmai l.comwrote:
>hi.......... . i m mohsin
plz provide me the program which represents triangular matrix in c
language...... ...

This represents a triangular matrix:

/*

* **
** * *
* * *
* * *
*** **

** *
* * **
* * *
* * *
** ***

*/

int main(void) { return 0; }
(Bear in mind I'm using the word "represents " with very
little sleep ;).

[/OT]

--
Andrew Poelstra ap*******@wpsof tware.com
To email me, use the above email addresss with .com set to .net
Aug 27 '08 #8
On Aug 27, 11:10*pm, jacob navia <ja...@nospam.c omwrote:
mo/-/sin wrote:
hi........... i m mohsin
plz provide me the program which represents triangular matrix in c
language....... ..

... and why should we do your homework for free?

--
jacob navia
jacob at jacob point remcomp point fr
logiciels/informatiquehtt p://www.cs.virginia .edu/~lcc-win32
its not ma homework....... .... i want it bcoz i havnt learn the
concept of triangular matrix......... .
Aug 28 '08 #9
On Aug 27, 10:54*pm, Rui Maciel <rui.mac...@gma il.comwrote:
On Wed, 27 Aug 2008 10:30:38 -0700, mo/-/sin wrote:
hi........... i m mohsin
plz provide me the program which represents triangular matrix in c
language....... ..

Why?

Rui Maciel
i want it bcoz i havnt learn the concept of triangular matrix......... .
Aug 28 '08 #10

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

Similar topics

10
1844
by: Nevets Steprock | last post by:
I'm writing a web program where one of the sections is supposed to output a correlation matrix. The typical correlation matrix looks like this: ..23 ..34 .54 ..76 .44 .28 ..02 .77 .80 .99 I've written code to calculate the correlation data and it is populated in a vector like this:
1
1322
by: KinGPIN | last post by:
hi ; I have a homework about CMatrix; and i had a problem ;in my homowork i hace functions and operators written for CMatrix class(this was my first homework); it is wanted to inherite the functions in CMatrix for CTriangular matrix ;and then inherite the CTriangular matrix as upper and lower triangular matrixes.In addition ;in the homework zero elements of matrixes will not be stored to use the memory efficiently;for example a diagonal...
5
2168
by: Je-Givara | last post by:
I want to get a Mapping Function for following sparse matrix of size NxN , where N is odd ----------------------------------------------------------------------------------- 0 0 0 0 0 ... 0 a1,n 0 0 0 0 0 ... ... 0 0 0 0 0 0 0 ... a3,n-2 a3,n-1 a3,n 0 0 0 0 0 .. ... 0 ...
4
1355
by: Je-Givara | last post by:
this is new mapping function needed for following --------------------------------------------------------------- a11 a12 a13 .... a1n 0 a22 a23 .... a2n 0 0 a33 .... a3n . . 0 0 0 .... ann ---------------------------------------------------- for example if we have n=5 : then the map like: ----------------------------------------------------
8
1297
by: empire5 | last post by:
I want to eliminate the little triangular arrow poinger that appears tot he right of the menu item. Which control setting lets me do that.
6
4276
by: suresh4ind | last post by:
Hi i need to copy the upper triangular elements of matrix A to an array B,how to perform this ,can u send me the accessing formula
0
9595
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9432
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9873
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8891
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7420
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6682
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5313
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5454
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2822
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.