Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


3 Pages<123
Options
Go to last post Go to first unread
Offline MBernacca  
#41 Posted : 19 February 2018 12:36:00(UTC)
MBernacca


Rank: Member

Groups: Registered
Joined: 28/11/2017(UTC)
Posts: 20
Italy
Location: Pisa

Was thanked: 2 time(s) in 2 post(s)
Hello Everybody,

Thanks to all of you for these extremely interesting postings.
I am barely able to fully understand them in depth... I need a bit of time to study them thoroughly.
Programming is like making music, and this is a symphony!!

Once again, thanks for all these good suggestions.

Marco
Offline Jean Giraud  
#42 Posted : 20 February 2018 07:08:59(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: MBernacca Go to Quoted Post
Still on line intersections.
Bug corrected: only lines with same number of points were accepted.
Now lines with different # of points will work.
Also some improvements in efficiency so that runtime is now
approx. -25%.


Marco, your Line Intersection is a piece of gold for Engineering works.
1. Trifolium
2. Dragilev implicit solve
3. Focus [suggested as next exercise]

Zillions thanks ... Jean

Maths InterX.r1 (2) Trifolium Copy.sm (104kb) downloaded 27 time(s).

Offline Andrey Ivashov  
#43 Posted : 21 February 2018 23:34:53(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Originally Posted by: Andrey Ivashov Go to Quoted Post
Just take a look at the speed:
plotG_2.PNG


Originally Posted by: mkraska Go to Quoted Post
For such uses it would be good if the augment and stack functions could expand scalar arguments (or more generally any arguments not matching the maximum number of rows or cols) to uniformly populated vectors of the required size).


This is what I've got after improving stack/augment (see SMath Studio 0.99.6626):

plotg_improved_1.PNG

Note, that I had to make height of the result matrix about 40 times larger to see the same time! This means that this syntax of stack/augment is about 40 times faster then without it.

Thank you!

Edited by user 21 February 2018 23:36:46(UTC)  | Reason: Not specified

thanks 6 users thanked Andrey Ivashov for this useful post.
on 21/02/2018(UTC),  on 22/02/2018(UTC),  on 22/02/2018(UTC),  on 22/02/2018(UTC),  on 22/02/2018(UTC),  on 22/02/2018(UTC)
Offline Jean Giraud  
#44 Posted : 22 February 2018 18:55:14(UTC)
Jean Giraud

Rank: Guest

Groups: Registered
Joined: 04/07/2015(UTC)
Posts: 6,868
Canada

Was thanked: 980 time(s) in 808 post(s)
Originally Posted by: Andrey Ivashov Go to Quoted Post
This is what I've got after improving stack/augment (see SMath Studio 0.99.6626):

Looks great, not reproducible 6179.
Could it conflict in other situations ?

Users browsing this topic
3 Pages<123
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.