473,396 Members | 1,785 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

A question about Matrixes and Triangular matrixes

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 matrise is shown as a vector as the
size of columns.[222]my problem is :i can not write the CTriangular
matrix to combine the upper and lower matrixes because both of these
matrixes are in a different struct ;how can i write a constructer both
of these is included)
;if you have any idea please tell.thanks...

Jul 23 '06 #1
1 1294
KinGPIN wrote:
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 matrise is shown as a vector as the
size of columns.[222]my problem is :i can not write the CTriangular
matrix to combine the upper and lower matrixes because both of these
matrixes are in a different struct ;how can i write a constructer both
of these is included)
;if you have any idea please tell.thanks...
Show us the code you have so far (at least the class declarations if
not the definitions), and we might be able to help more.

Cheers! --M

Jul 24 '06 #2

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

Similar topics

3
by: Jose Garcia | last post by:
Hi there, Can somebody explain me how can i use matrixes with dinamic memory? I use malloc and free (NOT new & delete). I want to access to the matrix like Matrix but i don't know how to do that...
14
by: LumisROB | last post by:
Is it possible to create matrixes with vector <vector <double >> ? If it is possible which is the element m23 ? You excuse but I am not an expert Thanks ROB
6
by: Tamir Khason | last post by:
Assist, I have different images wich I have to compare. Tnx to Bob, did it in unsafe blocks and it even works :) , BUT -> of couse I recieve buffer oveflows often. Checked the code and there is...
10
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 ...
2
by: liav.ezer | last post by:
Hello all, I need to find the correlation between two binary matrixes - should i use cross correlation for that or i can preform a simple convulution task to achive it? Is there any C++ library...
8
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.
4
by: ishakteyran | last post by:
hello to all.. i have a realy tough assignment which requires me to add, substract, multiply, and get inverse of non-sparse and sparse matrixes.. in a more clear way it wants me to to the...
13
by: mo/-/sin | last post by:
hi........... i m mohsin plz provide me the program which represents triangular matrix in c language.........
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...
0
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,...

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.