1 Pages (10 items)
How to Combine Vector and Matrix? - Messages
#1 Posted: 2 years ago
#2 Posted: 2 years ago
Hi. You can use augment and stack.

Combine Vector and Matrix.sm (9 KiB) downloaded 113 time(s).
Best regards.
Alvaro.
Combine Vector and Matrix.sm (9 KiB) downloaded 113 time(s).
Best regards.
Alvaro.
1 users liked this post
netsonicyxf 2 years ago
#3 Posted: 2 years ago
WroteHi. You can use augment and stack.
Combine Vector and Matrix.sm (9 KiB) downloaded 113 time(s).
Best regards.
Alvaro.
Thank you.
It looks to me that in order to combine 2 lists, the 1st list must be in "list" format (u=[0.1 0.2]) instead of "range" format (u=[0.1..0.2]).
Is there other method to combine list if the the 1st list is in "range" format?
Combine Vector and Matrix.sm (7 KiB) downloaded 105 time(s).
#4 Posted: 2 years ago
Some project will produce immensely long nests of solutions.
In such instances, use UnestV(data), UnestH(data) utilities.
In such instances, use UnestV(data), UnestH(data) utilities.
#5 Posted: 2 years ago
Wrote... It looks to me that in order to combine 2 lists, the 1st list must be in "list" format (u=[0.1 0.2]) instead of "range" format (u=[0.1..0.2]).
Is there other method to combine list if the 1st list is in "range" format?
Mathcad did have 'matrix' objects and 'range' objects, which were different. But in SMath the function range(#,#) or range(#,#,#) are matrix constructors and do not represent anything other than an matrices. There are no 'vectors' either, since they are simply matrices with a single column and one or more rows.
Best regards.
Alvaro
#6 Posted: 2 years ago
WroteIs there other method to combine list if the the 1st list is in "range" format ?
You can combine both directions.
They don't need be equally meshed.
Image Gaussian Spot.sm (30 KiB) downloaded 97 time(s).
#7 Posted: 2 years ago
WroteWroteIs there other method to combine list if the the 1st list is in "range" format ?
You can combine both directions.
They don't need be equally meshed.
Image Gaussian Spot.sm (30 KiB) downloaded 97 time(s).
Hi Jean
Thank you for the example, but it's litle bit overwhelming for me.
Do you happen to have a simpler example?
#8 Posted: 2 years ago
WroteThank you for the example, but it's little bit overwhelming for me.
Do you happen to have a simpler example
?
The 2D code is unique. You can have it algo style otherwise:
Sym(phi(x,y),L,H,n) for local command line.
Set ... Planet:=[0.25*Cir spot spot]
so to see the red circle visible on the image.
Cheers ... Jean.
Image Spot Satellites Copy.sm (121 KiB) downloaded 104 time(s).
#9 Posted: 2 years ago
WroteThe 2D code is unique. You can have it algo style otherwise:
Delicious Patch Work ... fully command line.
Pattern Patch Work.sm (11 KiB) downloaded 109 time(s).
1 Pages (10 items)
-
New Posts
-
No New Posts