BayesianLogic / blog

The BLOG programming language
http://bayesianlogic.github.io/
BSD 4-Clause "Original" or "Old" License
98 stars 31 forks source link

built-in function to read matrix from file #227

Closed cberzan closed 10 years ago

cberzan commented 10 years ago

@lileicc

Ready for review. This is the easy part of input from files -- just reading a matrix with a statement like

fixed RealMatrix a = loadRealMatrix("file.txt");

The file format is space-separated -- it's the default that numpy and matlab produce, so hopefully fits the most common use cases.

lileicc commented 10 years ago

LGTM