Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. better linear algebra

better linear algebra

Scheduled Pinned Locked Moved C / C++ / MFC
wpfgraphics
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    VeganFanatic
    wrote on last edited by
    #1

    OK I have a boat load of code, it works, bit its unaware of vectors etc. I have a vector template that fully supports all standard operators, including scalars I have a matrix template that supports all standard operators, including vectors and scalars So give some matrix m int rows=m.data.size() int cols=m.data[0].size(); what can we do to make m become reduced row echelon form no back substitution yet, I just wanted to see a vector way to identify a pivot from m and make it reduced form this way I it should be easier to find the rank etc. So as I see it we need to find a pivot My matrix works with std::swap for any 2 rows My m[] returns a vector, m[][] returns template_class m = m + v[] works m = m + template_class works so do the other operators I made it assignable by element or row BTW my vector and matrix templates are parallel, hence the reason I wanted to leverage them

    http://www.contract-developer.tk

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups