1 страниц (9 вхождений)
Deleting Rows an Columns - Matrice Handling - Сообщения
#1 Опубликовано: 30.05.2021 22:31:23
Some functions for row and column deletion.
For row and column functions accepts horizontal and vertical vectors, range(2) and range(3), numbers.
No need to convert anything during input, and exceeding and subceeding values not be removed.
Regards
delete_rowcol.sm (21 КиБ) скачан 64 раз(а). (old method)
delete_rowcol.sm (15 КиБ) скачан 67 раз(а). (new and faster method)

For row and column functions accepts horizontal and vertical vectors, range(2) and range(3), numbers.
No need to convert anything during input, and exceeding and subceeding values not be removed.
Regards
delete_rowcol.sm (21 КиБ) скачан 64 раз(а). (old method)
delete_rowcol.sm (15 КиБ) скачан 67 раз(а). (new and faster method)
1 пользователям понравился этот пост
sergio 31.05.2021 05:16:00
#3 Опубликовано: 01.06.2021 00:23:20
Alternate program. Very fast on large matrix.
Jean's program very helpful. Thank you Jean
New_Matrix_Delete [col_row].sm (24 КиБ) скачан 67 раз(а).

Jean's program very helpful. Thank you Jean
New_Matrix_Delete [col_row].sm (24 КиБ) скачан 67 раз(а).
Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
#4 Опубликовано: 01.06.2021 11:30:22
WroteAlternate program. Very fast on large matrix.
Jean's program very helpful. Thank you Jean
I tried your solution and found out it is faster with single row or single column removal. Good job.
And also found out transpose method is way much slower if I use ranges or matrices for input.
That method is not fast enough and not a good method when you use vectors of columns or rows for removal.
So I have combined your solution with mine, a fast and feature-full method is born.
New file is added in first post.
Regards
1 пользователям понравился этот пост
NDTM Amarasekera 01.06.2021 13:29:00
#5 Опубликовано: 01.06.2021 12:52:21
From square/rectangular matrix algo style do all at will.
1. delete cols & rows in any shuffled ways.
2. conserve selected rows deleted of 'j'.
3. conserve selected cols deleted of 'j'.
Hopefully, no red in your SS version !
Thanks, be good ... Jean.
Utilities Matrix Minor [col_row] ADVANCED OTHERWISE Copy.sm (21 КиБ) скачан 59 раз(а).
1. delete cols & rows in any shuffled ways.
2. conserve selected rows deleted of 'j'.
3. conserve selected cols deleted of 'j'.
Hopefully, no red in your SS version !
Thanks, be good ... Jean.
Utilities Matrix Minor [col_row] ADVANCED OTHERWISE Copy.sm (21 КиБ) скачан 59 раз(а).
#6 Опубликовано: 01.06.2021 13:28:36
WroteI tried your solution and found out it is faster with single row or single column removal. Good job.
And also found out transpose method is way much slower if I use ranges or matrices for input.
That method is not fast enough and not a good method when you use vectors of columns or rows for removal.
So I have combined your solution with mine, a fast and feature-full method is born.
New file is added in first post.
Yes it works fast. It is a smart code with added features.
Thank you.
Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
1 пользователям понравился этот пост
overlord 03.06.2021 21:45:00
#7 Опубликовано: 02.06.2021 15:34:35
A revised version, to delete multiple non-adjacent columns.
Faster on large matrix than my last example in post #3.
New_Matrix_Delete [col_row]_R2.sm (41 КиБ) скачан 63 раз(а).

Faster on large matrix than my last example in post #3.
New_Matrix_Delete [col_row]_R2.sm (41 КиБ) скачан 63 раз(а).
Look within!... The secret is inside you.
Best Regards
Eng. NDTM Amarasekera - Sri Lanka
2 пользователям понравился этот пост
#8 Опубликовано: 02.06.2021 18:12:03
Hi Amarasekera. Please try this other version, which works for single column values or column ranges.
New_Matrix_Delete [col_row]_R2.sm (38 КиБ) скачан 64 раз(а).

Best regards.
Alvaro.
New_Matrix_Delete [col_row]_R2.sm (38 КиБ) скачан 64 раз(а).
Best regards.
Alvaro.
2 пользователям понравился этот пост
#9 Опубликовано: 02.06.2021 18:35:44
1 пользователям понравился этот пост
NDTM Amarasekera 02.06.2021 23:48:00
1 страниц (9 вхождений)
-
Новые сообщения
-
Нет новых сообщений