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
Zoltan Kerenyi
NA
72
13.5k
matrix switch implementation
Jan 16 2021 12:33 PM
Hi,
I'd like to have a virtual matrix, in reality relays will read these states and switch accordingly.
I think its a bit complicated the way I started. Is there a built in more elegant way doing this with c sharp?
I'd like a method like this:
var matrix = new matrix(4,4,)
matrix.switch(2,3)
and this generates this:
0 0 1 0
1 1 1 0
0 0 0 0
0 0 0 0
So I switch the 2nd row to the 3rd.
--
Or another:
switch(4, 1):
0 1 0 0
0 1 0 0
0 1 0 0
1 1 0 0
"swich 4th row to the 2nd column.
Thanks,
Zolee
Attachment:
Matrrix_switch.rar
Reply
Answers (
2
)
What is the difference between Debug and Release Build Mode in Visual
How to use stored procudures with EF.