Questions tagged [colt]

A set of open source libraries for high-performance scientific computing written in Java and developed at CERN.

Colt is a set of open source libraries for high-performance scientific computing written in Java and developed at CERN. It was developed with a focus on applications in High Energy Physics, and provides an infrastructure for scalable scientific and technical computing in Java.

Colt was last updated in 2004 (when Java 1.4 was the current release). More recent development has been carried out in Parallel-Colt. Among other things, it contains efficient and scalable data structures and algorithms for offline and online data analysis, linear algebra and statistics.

46 questions
33
votes
6 answers

Java matrix libraries

I was wondering whether any of the well-known matrix libraries for Java, such as Colt or EJML, actually provide similar functionality as MatLab? For instance, I can't seem to find anywhere in the definition of their API simple method to add or…
Bober02
  • 15,034
  • 31
  • 92
  • 178
21
votes
9 answers

Is there a way to find common elements in multiple lists?

I have a list of integer arrays. I need to find the common elements between those. What I can think of is an extension of what is listed in Common elements in two lists Example would be [1,3,5], [1,6,7,9,3], [1,3,10,11] should result in…
ravindrab
  • 2,712
  • 5
  • 27
  • 37
7
votes
2 answers

How do I connect MariaDB to Node.JS and Express.JS?

I'm doing Colt Steele's The Web Developer Bootcamp and I've got to the point where we're going to start a database for the YelpCamp app. Problem is, he is using MongoDB, and I don't want to use that. I want to use MariaDB. How can I get Node JS to…
Shutter
  • 81
  • 1
  • 1
  • 6
7
votes
2 answers

Java math package for inverse cumulative distributions of skewed normal together with poisson and exponential

I am looking for a package that provides mathematical functions for the non-symmetrical (skewed) normal distribution and also the poisson and exponential distributions. I originally looked at the Colt package but it does not provide the inverse…
jbx
  • 21,365
  • 18
  • 90
  • 144
6
votes
4 answers

Can I use Java scientific libraries in Google App Engine?

I am trying to make a web application to perform scientific and engineering calculations. I am new to web developing and I've been looking for a free framework (with free hosting), that's why I came to Google App Engine, but there is no way to get…
4
votes
2 answers

Best way to compute a truncated singular value decomposition in java

I want to benchmark the best 2 or 3 libraries to compute a truncated singular value decomposition (SVD), i.e. an SVD where only the k largest singular values are kept. Moreover, I have those constraints : It has to be a java library My matrices are…
Maveric78f
  • 55
  • 6
3
votes
1 answer

'matrix too large' exception using colt java lib

I was using cern.colt.matrix.* lib for sparse matrix calculations ..but it seems that I keep running into this error: Exception in thread "main" java.lang.IllegalArgumentException: matrix too large I think this is because the constructor throws…
deepak
  • 41
  • 5
3
votes
1 answer

Modified Bessel functions of order (n)

I'm using Incanter and Parallel Colt for a project, and need to have a function that returns the modified Bessel function of an order n for a value v. The Colt library has two methods for order 0 and order 1, but beyond that, only a method that…
JPT
  • 519
  • 3
  • 13
3
votes
3 answers

Compiling failure of old library concurrent since Java 8

The math library colt (version 1.2) depends on the library EDU.oswego.cs.dl.util.concurrent (gee.cs.oswego.edu/dl/classes/EDU/oswego/cs/dl/util/concurrent/intro.html). Compiling concurrent (version 1.3.4) worked on java version 7 or previous…
qwert2003
  • 801
  • 6
  • 9
3
votes
2 answers

Simple matrix operations (2D & 3D) using Colt library

I want to perform simple matrix operations in my code and I use the Colt library (see in here: http://acs.lbl.gov/software/colt/api/index.html) I want for example to add/subtract/multiply matrices, add/subtract/multiply/divide a scalar to each cell…
Konstantinos_S
  • 65
  • 2
  • 10
3
votes
2 answers

Singular Value Decomposition: Different results with Jama, PColt and NumPy

I want to perform Singular Value Decomposition on a large (sparse) matrix. In order to choose the best(most accurate) library, I tried replicating the SVD example provided here using different Java and Python libraries. Strangely I am getting…
user2588219
  • 31
  • 1
  • 2
3
votes
1 answer

Java Hash Multi Map (key with multiple values) Implementation

From here, I found that Colt's OpenIntIntHashMap and Trove's TIntIntHashMap give better performance and memory uses than Java's built in HashMap or Guava's HashMultimap. Do Colt's OpenIntIntHashMap or Trove's TIntIntHashMap allow keys with multiple…
Arpssss
  • 3,850
  • 6
  • 36
  • 80
2
votes
1 answer

how to run Parallel COLT programs

How to run parallel colt programs? Can you please give link of a sample Parallel Colt program?
koder
  • 325
  • 3
  • 13
2
votes
1 answer

On repeatability of quantile estimates

I need to find arbitrary quantiles of a large stream of data (does't fit in memory) and the results need to be repeatable i.e for the same stream the results should be identical. I have been using colt for this and the results are not repeatable. Is…
fodon
  • 4,565
  • 12
  • 44
  • 58
1
vote
0 answers

Get non-zero elements of a specific row in SparseDoubleMatrix2D

import cern.colt.matrix.*; I have a huge square sparse matrix (say 30k*30k) and I need to get non-zero elements of a specific row (to do some complicated math in a nested loop). The method forEachNonZero(IntIntDoubleFunction function) is probably…
aaronqli
  • 790
  • 9
  • 26
1
2 3 4