colt

Floating Point errors in Colt Java matrix libraries

How do I avoid floating point errors in financial calculations performed with Colt matrix libraries? ...

Matrices of "long"s in Java/COLT?

I'm very new to Java/COLT so apologies if this is a dumb question... But, is it possible to define (2d) matrices of type "long" using the cern.colt.matrix stuff? If so, how?! I can find an abstract class for "Object" and a concrete implementation for "double", but then I am stuck... Thanks, ...

Java - Using Abstract classes properly (problem with COLT)

I'm using colt for some algebraic operations with sparse matrices. Actually i want to calculate a sparse matrix inverse, everything looks pretty easy but i'm not able to get it done. There is a method in "Algebra" called inverse that get a DoubleMatrix2D [abstract], and SparseMatrix2D is a direct subclass of DoubleMatrix2D. A couble of...

Remove row/column from Colt's ObjectMatrix2D

What's the best way to effectively remove a row from an ObjectMatrix2D? Use viewSelection to get all the other rows (is there a simpler way than me building arrays of rows and columns myself?) Transpose all the lower rows up one (docs mention transpose operation but I can't find any code for it) something else? If it matters I'm curr...