Math.NET Numerics

Welcome to our official feedback forum. Do you have an idea? Do you recognize a good idea when you see one? We want to hear from you!

Math.NET Numerics

Categories

JUMP TO ANOTHER FORUM

  1. I am using the solve method on a DenseMatrix and two vectors. When I try to use the same method but with a SparseMatrix, I get a dimensionality error saying that all vectors must be the same dimensions.

    I believe the method asserts that the input vector is of the same length as the matrix's number of columns, and probably should check against the matrix's number of rows.

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  2. Implement the Gumbel ContinuousDistribution

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  3. Provide extremal points and values and thus also min/max for interpolated splines.

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  4. Add interchange/swap function to Matrix class which would allow swapping two rows or columns in the matrix (i.e. m.swapRows(2,3)).

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  5. I need to create a histogram with buckets from another histogram and expect my data to be counted relative to those buckets.

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    under review  ·  0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  6. For most cases it can be overcome with multiplying pi/180 and using loops, but it would make code simpler. Coming from Octave/Matlab it is something I am used to have

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    3 comments  ·  Flag idea as inappropriate…  ·  Admin →
  7. For FEM analysis the AddMatrix method is very useful. In opposite to SetMatrix this method summarize elements.

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    1 comment  ·  Flag idea as inappropriate…  ·  Admin →
  8. Where's the namespace for geometric problems?

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  9. I'm new to math.net, but I've found some issues with the libraries.

    One of these is related to sparsematrix and sparsecompressedrowstorage

    I've also wrote a post within the discussion forum, but I've recieved no response.

    The problem is simple: I've tried desperately to find a way to assign directly the sparse matrix in CRS format, but I've failed.
    It seems that the CSR must be constructed starting from an already existing matrix. This would imply a big performace issue and memory allocation problems.
    For istance, if one want to write a program to solve some physical problem with finite element…

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  10. Implement method:

    Matrix<T>.SetSubMatrix(int[] rowIndices, int[] columnIndices, Matrix<T> subMatrix)

    where

    int[] rowIndices
    The row indices to copy to.

    int[] columnIndices
    The column indices to copy to.

    Matrix<T> subMatrix
    The sub-matrix to copy from.

    This would enable us to set a larger number of entries at the same time.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  11. When adding the points of a circle ( Cos(t), sin(t) ) for t the values [0,6.28], I get complete garbage out.
    It seems that the splines are unable to handle ambiguous values for y for a given x.
    Splines should have a independent variable t, on which x and y depend. It seems this implementation has a t that somehow is coupled to x.
    Interpolate should for example return a point, and the differentiate should return a vector for a given point.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  12. 1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  13. This should allow functionality similar to MATLAB:
    Suppose that A is the following matrix

    A = [ 10 20 30 40 ;

         11 21 31 41;
    
    12 22 32 42;
    13 23 33 43]

    and I = { 1, 2, 4 } and J = { 3, 4 }

    A_IJ = A[I, J]

    should return a slice of the matrix according to the indices specified:
    A_IJ = [ 30 40;

             31 41;
    
    33 43 ]

    The same idea is very useful for arrays and it should work in both directions, for example:

    A[I, J] += some3by2matrix;

    The same…

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  14. Can provide the calculation abilities of what excel inbuilt formula does as a part of framework This include formula related to statistical and engineering capabilities.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  15. When working with Deep NNs, there are a lot of "Z = WX + b" operations going on, where matrix WX has the same number of rows as matrix b. But, matrix b is a single column matrix, so we can't just the built in add operations. With broadcasting, matrix b will be treated like a matrix with the same number of columns as WX, but where each column is identical.

    2 votes
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  16. If someone does one of the inplace Methods, normally this object will be used immediately.

    Therefore it makes sense (and is the common way) to return the inplace modified object.

    So, instead of

    public void MapInplace(Func<T, T> f, Zeros zeros = Zeros.AllowSkip);

    a

    public Matrix<T> MapInplace(Func<T, T> f, Zeros zeros = Zeros.AllowSkip);

    would be good. Also for Vector, and all other inplace methods.

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  17. 1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    planned  ·  0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  18. convert laplace space functions to time domain and viceversa

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  19. 1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  20. /// <summary>

        /// Returns the cartesian product of the two collections &lt;c&gt;c1&lt;/c&gt;
    
    /// and &lt;c&gt;c2&lt;/c&gt;.
    /// &lt;/summary&gt;
    /// &lt;param name=&quot;c1&quot;&gt;Should not be null.&lt;/param&gt;
    /// &lt;param name=&quot;c2&quot;&gt;Should not be null.&lt;/param&gt;
    public static ICollection Product(ICollection c1, ICollection c2)
    {
    if(c1 == null)
    {
    throw new ArgumentNullException(&quot;c1&quot;, string.Format(Resources.ArgumentNull, &quot;c1&quot;));
    }

    if(c2 == null)
    {
    throw new ArgumentNullException(&quot;c2&quot;, string.Format(Resources.ArgumentNull, &quot;c2&quot;));
    }

    return null;
    }

    1 vote
    Vote
    Sign in
    (thinking…)
    Sign in with: Facebook Google
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
  • Don't see your idea?