No matching definitions.

linalg/fmt

src/linalg/fmt.tur

pretty-printing and string conversion for mat and vec

defn

mat->str

(mat->str [m] :cstr)

convert matrix to string

defn

mat-print

(mat-print [m] :void)

print matrix to stdout

defn

mat-print-prec

(mat-print-prec [m prec] :void)

print matrix to stdout with precision control

defn

vec->str

(vec->str [v] :cstr)

convert vector to string

defn

vec-print

(vec-print [v] :void)

print vector to stdout

defn

vec-print-prec

(vec-print-prec [v prec] :void)

print vector to stdout with precision control

Internal definitions
fmt--float->str-- Private helper: format a float with given precision
fmt--str-free-- Private helper: free a string allocated by fmt--float->str
fmt--mat-col-width-- Private helper: compute max width needed for a column
fmt--mat-row->str-- Private helper: format a matrix row
mat->str-prec-- convert matrix to string with precision control
vec->str-prec-- convert vector to string with precision control