New Post: I have implemented LinearAlgebra.Integer, but ...
The main reason for adding Integer support (for me) it to make porting from Matlab easier. I'm adding separate extension methods to allow for the indexing by integer-valued vectors/matrices that Matlab...
View ArticleNew Post: Dense and Sparse Integer Vector
FYI, there is someone working on integer variants over at GitHub.
View ArticleNew Post: Noncentral StudentT.InvCDF
StudentT implements the non-standardized but still central Student's-T distribution, generalized with location and scale. This is related but different to the Noncentral T-Distribution which I think...
View ArticleNew Post: Sign(M) - No function available?
Hi all, I have a matrix M defined (for example) as Matrix M = new DenseMatrix(3) A whole bunch of computation happens with regards to rotation matrices and in the end my M is a full matrix. I now need...
View ArticleNew Post: Sign(M) - No function available?
What is the definition of this Sign function? I don't remember having ever used such a function and neither MATLAB nor Mathematica seem to provide it. They do have the pointwise-applied sign function...
View ArticleNew Post: Sign(M) - No function available?
I guess you're referring to this one: http://www.siam.org/books/ot104/OT104HighamChapter5.pdfUpdate: Or not, as it returns a matrix as well, not a scalar.
View ArticleNew Post: Numerics 3.0 matrix construction syntax
Sorry if this is a dumb question... I would like to upgrade from an older version to current Numerics library. I have lots of code of the form: double[][] ActualGaps = new double[10][]; // ... fill in...
View ArticleNew Post: how to do a cross product?
Hey All, I would like to use the (Dense)Vector class in MathNet.Numerics.LinearAlgebra.Double namespace. It seems that it does not contain a CrossProduct function and I was not able to find any similar...
View ArticleNew Post: how to do a cross product?
There is a reason there is no cross product available in the Math.NET Numerics linear algebra vectors: the cross product doesn't make a lot of sense in the context of linear algebra, and is even...
View ArticleNew Post: Numerics 3.0 matrix construction syntax
You'll find some examples how matrices can be created in the docs: Creating Matrices and Vectors. Assuming your jagged array is organized by rows (i.e. the outer index is the row...
View ArticleNew Post: Numerics 3.0 matrix construction syntax
Thanks Christoph, I eventually figured this out... Got tripped up by a number of very incompatible changes for which I found no documentation, but all working OK now. Thanks again, Best Regards, Dave...
View ArticleNew Post: I have implemented LinearAlgebra.Integer, but ...
I tried to run the "build.sh test" in bash. It runs for awhile (about 5 min), generates an apparently valid TestResults.xml file, and reports the Failed and Ignored tests and then it gives the error:...
View ArticleNew Post: Linear Interpolation
I am using the linear interpolation in Math.Net 3.5 var method = Interpolation.Linear(x,y) var y2 = method.Interpolate(x2) Is there a way to interpolate a list of x values? var yValues =...
View ArticleNew Post: Linear Interpolation
If the "list of x values" is a Vector<T> then why not useVector<T>.Map(Func<T, TU> f, Zeros zeros) which will return a new Vector<TU> of the "y values" If x values is just a...
View ArticleNew Post: syntax for armadillo into Math.net
Hi, I am a new to Math.Net Numerics and am struck in using the following in Math.NEt from armadillo c++ program rowvec td; colvec dda = (td.st() - td(0)) * 5; dda = dda .rows(1, 4- 1); Using Math.Net...
View ArticleNew Post: syntax for armadillo into Math.net
I don't know Armadillo well, but it sounds more like:Vector<double> td; Vector<double> dda = ((td - td[0]) * 5); dda = dda.SubVector(1,3); Thanks, Christoph
View ArticleNew Post: Average absolute deviation?
Hello, I'm trying to compute the average absolute deviation but don't see it. I see Mean-Absolute Error in Distance but this takes two different vectors. Are there other options besides this one? Thanks
View ArticleNew Post: Calculate eigenvector with relation to the smallest eigenvalue
Hello, I'm new to the Math.NET library, so please bear with me. What I'm trying to do is calculate the eigenvector with relation to the smallest eigenvalue. I have my dense 3x3 matrix calculated and...
View ArticleNew Post: How to use vector with matrix to find best match
Hello, I want to implement best match found using this Math Library to improve my search result. I want to Implement two Matrix with mn size. First Matrix contain my Data in Integer format with mn...
View ArticleNew Post: How to use vector with matrix to find best match
This might help: Matrices and Vectors Thanks, Christoph
View Article