stzMatrex, a regex-like pattern langauge for matrices

13 views
Skip to first unread message

Mansour Ayouni

unread,
Oct 26, 2025, 11:32:12 PM (3 days ago) Oct 26
to The Ring Programming Language
Hello All,

Through its `stzMatrex` class (with "e"), Softanza redefines how matrices are understood in code.

Where `stzMatrix` (with "i") performs computations, `stzMatrex`, a regex-like pattern engine for matrices, interprets structures.
Together, they unify the computational and semantic dimensions of matrix work in Softanza.

By writing clear, human-readable expressions such as:

Mx = new stzMatrex( { size(3x3) } ) or,
Mx = new stzMatrex( { shape(square) & property(symmetric) } ) or,
Mx = nex stzMatrex( { element(0..10) & @!property(diagonal) } )

and then matching any matrix data to them:
? Mx.Match([ ... ]) #--> TRUE or FALSE

you bring the expressive clarity of pattern languages into the numeric world — bridging mathematics and meaning in one line of code.

More on stzMatrix and how to use it in this article:

Best regards,
Mansour
Reply all
Reply to author
Forward
0 new messages