TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Majid Kamali
NA
290
255.9k
Basic oop Problem
Aug 16 2011 11:22 AM
Hi.
I am creating a Matrix class that represents a matrix and I have a problem with OOP concept.
which way is the best for representing matrix determinant ?
1. create a property that represents matrix determinant.
2. create a member function that returns matrix determinant.
3. create a library that performs matrix operations and within it, create a function that returns a matrix determinant.
Or for example Transpose that is not as common as determinant:
1. create a member function that returns matrix transpose.
2. create a library that performs matrix operations and within it, create a function that returns a matrix transpose.
this is just an example, but I have this problem in all my OOPs.
Thanks
Reply
Answers (
3
)
How To Unpack tar.gz Archive using C#
Stat Tracker