1, 2], [3,4]]) matrix([[
'1234'
Compute a text represenation of matrix
matrix (matrix:Union[list,numpy.ndarray], decimal_sep_replacement:Optional[bool]='_')
Type | Default | Details | |
---|---|---|---|
matrix | Union | Input | |
decimal_sep_replacement | Optional | _ | Decimal point separator |
Returns | str | Text representation |
It can be used on lists,
or arrays
Decimal separators are by default replaced.
Lists are also fine.
Compute a text represenation of number
number (number:Union[float,numpy.float64], decimal_sep_replacement:Optional[bool]='_')
Type | Default | Details | |
---|---|---|---|
number | Union | Input | |
decimal_sep_replacement | Optional | _ | Decimal point separator |
Returns | str | Text representation |
From this post: a function to hash any arbitray string.
string (s:str)
Type | Details | |
---|---|---|
s | str | Input |
Returns | str | Text representation |