Skip to content

Tessero\Io\MatrixMarket

← All classes

AI assistant

Build this with Claude Code, Cursor or Copilot

Copy a Tessero-tuned prompt for Tessero\Io\MatrixMarket, grounded in 3 real API signatures , into your IDE's AI. No chatbot, just exact context.

read static
read(string $text): array

Parse Matrix Market text.

info static
info(string $text): array

mminfo: inspect the header/size without reading the body.

write static
write(array $data, string $format = 'array', string $field = 'real', string $symmetry = 'general'): string

Serialise a dense row-major matrix to Matrix Market text, matching scipy.io.mmwrite's layout so scipy.io.mmread reads it back exactly.