numbers / numbers.js

Advanced Mathematics Library for Node.js and JavaScript
Apache License 2.0
1.76k stars 168 forks source link

LUP Decomposition #73

Closed mattfowler closed 11 years ago

mattfowler commented 11 years ago

Added a LUP decomposition using an in-place algorithm with partial pivoting. Added a couple of convenience methods along the way.

sjkaliski commented 11 years ago

This is really awesome, I was looking forward to someone adding this! I just did some minor clean up. We use 2 spaces for indents, so keep that in mind next time.

Thanks!

ethanresnick commented 11 years ago

@sjkaliski Can you transplant this into the Matrix object?

sjkaliski commented 11 years ago

Yup, let's do that on abstract-structures which needs updating anyways (from a variety of other commits made recently). We should move complex out as well.

mattfowler commented 11 years ago

Great! I'll update my editor with that standard.