Vector representation of Strings?

Vector representation of Strings? - Poruke

#1 Objavljeno: 21. 9. 2025. 19:21:48
Stuart Bruff Y

Stuart Bruff Y

0 svidjanja u 4 postova.

Grupa: User

Is there a method within SMath for converting between strings and vectors of Unicode Points (or ASCII codes)? That is, a means of accomplishing what Mathcad's str2vec and vec2str do?


2025 09 21 H.png
#2 Objavljeno: 21. 9. 2025. 21:15:09
Martin Kraska

Martin Kraska

1.369 svidjanja u 2.283 postova.

Grupa: Moderator

You can use Maxima.

image.png

string.sm (5,5 KiB) preuzeto 1362 put(ova).
Izmenjeno 21. 9. 2025. 21:16:32
Technische Mechanik mit SMath Studio: https://link.springer.com/book/10.1007/978-3-658-50592-9
1 korisnika je svidelo ovu objavu
Stuart Bruff Y 23. 9. 2025. 13:46:30
#3 Objavljeno: 22. 9. 2025. 00:33:10
Alvaro

Alvaro

1.139 svidjanja u 1.805 postova.

Grupa: User

Hi Stuart. Nice to read you. You can use the functions in this post: https://smath.com/en-US/forum/topic/bppdgC/String-utilities, which, while not very efficient, at least get the job done.

image.png

Best regards.
Alvaro.
#4 Objavljeno: 23. 9. 2025. 13:50:55
Stuart Bruff Y

Stuart Bruff Y

0 svidjanja u 4 postova.

Grupa: User

Wrote

You can use Maxima.

image.png

string.sm (5,5 KiB) preuzeto 1362 put(ova).



Thanks, Martin.

Stuart
  • Novi postovi
  • Nema novih postova