Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by noosphr

2 hours ago

A matrix is better represented as a nested list of lists:

   ((1 2 3)(4 5 6)(6 7 8))

Of course you ignore that representing a tensor of rank higher than 2 is just as difficult in 2d as a matrix is in 1d.

0 comments

noosphr

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities