Loading ...
Sorry, an error occurred while loading the content.

Re: How to do math in vim ?

Expand Messages
  • Charles Campbell
    ... You can also do (some) matrix work with the following plugin: http://www.drchip.org/astronaut/vim/index.html#CECMATRIX: * multiply / divide (strictly
    Message 1 of 7 , Jun 21, 2013
    • 0 Attachment
      John Little wrote:
      > On Monday, May 20, 2013 5:00:03 AM UTC+12, Jeri Raye wrote:
      >> Can you do math in Vim?
      >> Can you do subtractions?
      > Surely. Floating point, trigonometry even. I would:
      > [snip]

      You can also do (some) matrix work with the following plugin:
      http://www.drchip.org/astronaut/vim/index.html#CECMATRIX:

      * multiply
      / divide (strictly speaking, multiply by the inverse)
      + add
      - subtract
      () group operation(s)
      ' transpose

      I probably won't try to do eigenvalues, singular value decomposition,
      etc anytime soon, though.

      Regards,
      C Campbell

      --
      --
      You received this message from the "vim_use" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php

      ---
      You received this message because you are subscribed to the Google Groups "vim_use" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    Your message has been successfully submitted and would be delivered to recipients shortly.