1 страниц (12 вхождений)
Spline Contour - Spline Contour - Сообщения
This one works well for the given data set. Mesh finer at will and if needed,
bilinear ... not much use for bilinear, whereas "spline" is just something.
Jean

Spline Esplina [AI2000].sm (23 КиБ) скачан 168 раз(а).
bilinear ... not much use for bilinear, whereas "spline" is just something.
Jean

Spline Esplina [AI2000].sm (23 КиБ) скачан 168 раз(а).
... a faster version: one twin col extractor removed.
By same token, I wonder why the col extractor col(,,) is so slow ?
Jean
Spline Esplina [AI2000].sm (23 КиБ) скачан 156 раз(а).
By same token, I wonder why the col extractor col(,,) is so slow ?
Jean
Spline Esplina [AI2000].sm (23 КиБ) скачан 156 раз(а).
"By same token, I wonder why the col extractor col(,,) is so slow ?"
You can speed up calculation if o are using "eval":
Spline Esplina [AI2000] (1).sm (25 КиБ) скачан 172 раз(а).
You can speed up calculation if o are using "eval":
Spline Esplina [AI2000] (1).sm (25 КиБ) скачан 172 раз(а).
Thanks Ber7 for "speedy Gonzalez". In fact, the "uN"
conditional code is redundant in this dataset.
Here is the latest version, even faster.
Jean
Spline Esplina [AI2000].sm (23 КиБ) скачан 158 раз(а).
conditional code is redundant in this dataset.
Here is the latest version, even faster.
Jean
Spline Esplina [AI2000].sm (23 КиБ) скачан 158 раз(а).
Jean,calculation speed will be doubled, if we use the advice of Андрей
http://en.smath.info/forum/resource.ashx?a=14504&b=2
Spline Esplina [AI2000] 2.sm (20 КиБ) скачан 178 раз(а).
http://en.smath.info/forum/resource.ashx?a=14504&b=2
Spline Esplina [AI2000] 2.sm (20 КиБ) скачан 178 раз(а).
1 пользователям понравился этот пост
Davide Carpi 13.09.2016 11:45:00
2 пользователям понравился этот пост
2 пользователям понравился этот пост
WroteYou forgot to specify first element of u vector.
By doing so you can speed up calculation even more:
Thanks Andrey, damned me !
While you are there, can you speed up "DeBoor" ?
Jean
Spline De Boor [Esplina].sm (47 КиБ) скачан 161 раз(а).
Done
Spline De Boor [Esplina]_mod.sm (47 КиБ) скачан 173 раз(а).
Timings:
Regards.
Spline De Boor [Esplina]_mod.sm (47 КиБ) скачан 173 раз(а).
Timings:
- 6.1 seconds by 0.97.5890
- 2.3 seconds by 0.98.6096
Regards.
Thanks Andrey,
... for the local definition of Sx(v), Sy(v).
Must be consistant with all upward local definitions.
Jean
... for the local definition of Sx(v), Sy(v).
Must be consistant with all upward local definitions.
Jean
Quite right Andrey: 'u' is 'm', which 'm' is redundant.
I must have constructed N_(v,j) aroud 'u' from some source,
thus easier to check the coding. The attached work sheet
has been refactored with auxilliary explanations.
Can be used as model for DeBoor, pretty easy to adapt to
any project. Spline order is linear interpolation around
the polygon. Spline order 2 is "convex hull" per say.
They are about the only two types splines useful for
technical works [?]
Jean
Spline De Boor [Loop].sm (41 КиБ) скачан 186 раз(а).
I must have constructed N_(v,j) aroud 'u' from some source,
thus easier to check the coding. The attached work sheet
has been refactored with auxilliary explanations.
Can be used as model for DeBoor, pretty easy to adapt to
any project. Spline order is linear interpolation around
the polygon. Spline order 2 is "convex hull" per say.
They are about the only two types splines useful for
technical works [?]
Jean
Spline De Boor [Loop].sm (41 КиБ) скачан 186 раз(а).
1 страниц (12 вхождений)
-
Новые сообщения
-
Нет новых сообщений