Softanza
StartFrançais
Softanza
The library documents itself · Pattern matching

stzMatrex

58 own methods · 0 forms written with extensions, listed under their method

the source: base/regex/stzMatrex.ring(opens in a new tab) · All classes · The area reference: Pattern matching

Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean

Examples: 4 come from the library's tests; 17 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzMatrex("{@!property(symmetric)}"). 37 methods have none yet. Examples run on 2026-10-03 20:34 inside the library at commit 0e72e2e2c.

Method
Explanation, as the source carries it
init
initializationno extension
NormalizePattern
initialization
composed example
o1 = new stzMatrex("{@!property(symmetric)}")
? o1.NormalizePattern("an")
#--> {an}
composed from the signature, run for this page
no extension
ParsePattern
pattern parsingno extension
SplitByOperator
pattern parsingno extension
ParseAlternation
pattern parsingno extension
ParseConjunction
pattern parsingno extension
ParseSingleToken
pattern parsingno extension
ParseConstraints
pattern parsingno extension
matching logic 27 examples run
oMx = new stzMatrex("{size(1x1)}")
aMatrix = [[42]]
? oMx.Match(aMatrix)
#--> 1
library testno extension
MatchTokens
matching logicno extension
MatchSingleToken
matching logic
composed example
o1 = new stzMatrex("{@!property(symmetric)}")
? o1.MatchSingleToken([ "an", "a" ], [ "an", "a" ])
#--> 0
composed from the signature, run for this page
no extension
CheckSize
(no comment in the source: the name reads as a sentence) check sizein the section checking methods
composed example
o1 = new stzMatrex("{@!property(symmetric)}")
? o1.CheckSize([ "an", "a" ], [ "an", "a" ])
#--> 1
composed from the signature, run for this page
no extension
CheckShape
(no comment in the source: the name reads as a sentence) check shapein the section checking methods
composed example
o1 = new stzMatrex("{@!property(symmetric)}")
? o1.CheckShape("an", [ "an", "a" ])
#--> 0
composed from the signature, run for this page
no extension
CheckElements
(no comment in the source: the name reads as a sentence) check elementsin the section checking methods
composed example
o1 = new stzMatrex("{@!property(symmetric)}")
? o1.CheckElements([ "an", "a" ], [ "an", "a" ])
#--> 1
composed from the signature, run for this page
no extension
CheckRows
(no comment in the source: the name reads as a sentence) check rowsin the section checking methods
composed example
o1 = new stzMatrex("{@!property(symmetric)}")
? o1.CheckRows([ "an", "a" ], [ "an", "a" ])
#--> 1
composed from the signature, run for this page
no extension
CheckCols
(no comment in the source: the name reads as a sentence) check colsin the section checking methods
composed example
o1 = new stzMatrex("{@!property(symmetric)}")
? o1.CheckCols([ "an", "a" ], [ "an", "a" ])
#--> 1
composed from the signature, run for this page
no extension
CheckDiagonal
(no comment in the source: the name reads as a sentence) check diagonalin the section checking methods
composed example
o1 = new stzMatrex("{@!property(symmetric)}")
? o1.CheckDiagonal([ "an", "a" ], [ "an", "a" ])
#--> 1
composed from the signature, run for this page
no extension
CheckProperty
(no comment in the source: the name reads as a sentence) check propertyin the section checking methods
composed example
o1 = new stzMatrex("{@!property(symmetric)}")
? o1.CheckProperty("an", [ "an", "a" ])
#--> 0
composed from the signature, run for this page
no extension
CheckPattern
(no comment in the source: the name reads as a sentence) check patternin the section checking methods
composed example
o1 = new stzMatrex("{@!property(symmetric)}")
? o1.CheckPattern("an", [ "an", "a" ])
#--> 1
composed from the signature, run for this page
no extension
CheckDeterminant
(no comment in the source: the name reads as a sentence) check determinantin the section checking methods
composed example
o1 = new stzMatrex("{@!property(symmetric)}")
? o1.CheckDeterminant([ "an", "a" ], [ "an", "a" ])
#--> 1
composed from the signature, run for this page
no extension
CheckSum
(no comment in the source: the name reads as a sentence) check sumin the section checking methodsno extension
ExtractParts
part extractionno extension
IsSymmetric
part extraction
composed example
o1 = new stzMatrex("{@!property(symmetric)}")
? o1.IsSymmetric([ "an", "a" ])
#--> 0
composed from the signature, run for this page
no extension
IsDiagonal
part extraction
composed example
o1 = new stzMatrex("{@!property(symmetric)}")
? o1.IsDiagonal([ "an", "a" ])
#--> 0
composed from the signature, run for this page
no extension
IsIdentity
part extraction
composed example
o1 = new stzMatrex("{@!property(symmetric)}")
? o1.IsIdentity([ "an", "a" ])
#--> 0
composed from the signature, run for this page
no extension
MatchedParts
(no comment in the source: the name reads as a sentence) matched partsin the section query methodsno extension
(no comment in the source: the name reads as a sentence) size 1 examples runin the section query methods
oMx = new stzMatrex("{shape(square)}")
aMatrix = [[1, 2, 3, 4], [5, 6, 7, 8], [9, 10, 11, 12], [13, 14, 15, 16]]
oMx.Match(aMatrix)
? @@( oMx.Size() )
#--> [ 4, 4 ]
library testno extension
(no comment in the source: the name reads as a sentence) properties 1 examples runin the section query methodsno extension
Matrix
(no comment in the source: the name reads as a sentence) matrixin the section query methodsno extension
Tokens
(no comment in the source: the name reads as a sentence) tokensin the section query methods
composed example
o1 = new stzMatrex("{@!property(symmetric)}")
? @@( o1.Tokens() )
#--> [ [ [ "type", "property" ], [ "value", "symmetric" ], [ "constraints", [ ] ], [ "min", 1 ], [ "max", 1 ], [ "negated", 1 ] ] ]
composed from the signature, run for this page
no extension
(no comment in the source: the name reads as a sentence) pattern 1 examples runin the section query methods
oMx = new stzMatrex("{size(3x3) & property(identity)}")
? oMx.Pattern()
#--> {size(3x3) & property(identity)}
library testno extension
SetTarget
(no comment in the source: the name reads as a sentence) set targetin the section query methodsno extension
Explain
(no comment in the source: the name reads as a sentence) explainin the section query methodsno extension
MatchingMatrices
(no comment in the source: the name reads as a sentence) matching matricesalso written: MatchingMatricesInin the section advanced query methodsno extension
FindMatchingMatrices
filtering operationalso written: FilterMatrices · FindMatchingMatricesInin the section advanced query methodsno extension
(no comment in the source: the name reads as a sentence) count matching matrices 1 examples runalso written: CountMatchingMatricesInin the section advanced query methodsno extension
(no comment in the source: the name reads as a sentence) first matching matrix 1 examples runalso written: FirstMatchingMatrixInin the section advanced query methodsno extension
(no comment in the source: the name reads as a sentence) find first matching matrix 1 examples runalso written: FindFirstMatchingMatrixInin the section advanced query methodsno extension
(no comment in the source: the name reads as a sentence) matches none 1 examples runalso written: MatchesNoneInin the section advanced query methods
oMx = new stzMatrex("{property(symmetric)}")
aMatrices = [
	[[1, 2], [3, 4]],
	[[5, 6], [7, 8]]
]
? oMx.MatchesNone(:In = aMatrices)
#--> 0
library testno extension
(no comment in the source: the name reads as a sentence) matches all 1 examples runalso written: MatchesAllInin the section advanced query methodsno extension
pattern constraint 1 examples runno extension
RemoveConstraint
pattern constraintno extension
SimilarityScore
matrix comparison methodsalso written: SimilarityScoreBetweenno extension
MostSimilarMatrix
matrix comparison methodsno extension
FindMostSimilarMatrix
matrix comparison methodsno extension
AnalyzeMatches
statistical analysisno extension
CommonProperties
statistical analysisno extension
EnableDebug
debug methodsno extension
DisableDebug
debug methodsno extension
SetDebug
debug methodsno extension
IsNumeric
helper methods
composed example
o1 = new stzMatrex("{@!property(symmetric)}")
? o1.IsNumeric("an")
#--> 0
composed from the signature, run for this page
no extension
And_
pattern combinationno extension
Andd
pattern combinationno extension
Or_
pattern combinationno extension
Not_
pattern combinationno extension
ToJSON
serializationno extension
TokensToJSON
serializationno extension
TokenToJSON
serialization
composed example
o1 = new stzMatrex("{@!property(symmetric)}")
? o1.TokenToJSON([ "an", "a" ])
#--> {"an":"a"}
composed from the signature, run for this page
no extension