Gustavo Guerra
4dfa1c66a5
Add Vector.insert (similar to Matrix.InsertColumn and Matrix.InsertRow)
15 years ago
Gustavo Guerra
a1618854ba
add foldBack to Vector and Matrix
15 years ago
Gustavo Guerra
be88393619
generalize sumColsBy and sumRowsBy so they are not bound to floats
15 years ago
Gustavo Guerra
934df455f3
added unit tests for mapCols, mapRows, sumColsBy and sumRowsBy
15 years ago
Christoph Ruegg
7a34beed26
Sparse Vectors: Equals now supports accidential zeros. Fixes gh-21.
Equals previously returned always false in case of (asymmetric) accidential
zeros. Instead, Equals now expects accidential zeros and treats them
correctly (so we can allow arithmetic algorithms to generate accidential
zeros, avoiding a lot of zero checks).
15 years ago
Christoph Ruegg
a8f21270b7
Unit Tests: confirming gh-21 on sparse accidantial zero/Equals inconsistency
15 years ago
Christoph Ruegg
42159c0b50
Unit Tests: more arithmetics covered by sparse vector theory
15 years ago
Christoph Ruegg
caa1060da0
Merge pull request #22 from ovatsus/master
Helper F# functions to do sums with matrices
15 years ago
Gustavo Guerra
7bedf35e52
added mapCols, mapRows, sumColsBy and sumRowsBy to Matrix F# module (for symmetry with sumBy from the List, Array and Seq modules)
15 years ago
Christoph Ruegg
5ee5e35267
Unit Tests: more compact yet also more thorough. note on gh-21.
15 years ago
Christoph Ruegg
7904a2c181
Sparse Linear Algebra: make unchecked setter privately accessible II
15 years ago
Christoph Ruegg
880da46657
Unit Tests: generic to avoid duplication (tests not performance critical)
15 years ago
Christoph Ruegg
f754a121f7
Sparse Linear Algebra: minor add/subtract optimization, gh-18.
15 years ago
Christoph Ruegg
ea4e6a6d80
Sparse Linear Algebra: fix subtraction bug gh-20 gh-18
15 years ago
Christoph Ruegg
68c0417368
Sparse Linear Algebra: fix addition bug gh-20 gh-18.
15 years ago
Christoph Ruegg
101864e798
Sparse Linear Algebra: make unchecked setter privately accessible. gh-20.
15 years ago
Christoph Ruegg
063e74989a
Unit Tests: now explicitly calling Equals to workaround NUnit (should no longer be needed with NUnit 2.6)
15 years ago
Christoph Ruegg
7b47fb50e3
Sparse Linear Algebra: complex vectors now override right Equals. gh-20.
Previously sparse vectors for Complex and Complex32 did override
Object.Equals instead of the generic IEquatable<Vector<T>>.Equals.
Now only overrides the generic version to ensure that the right version
is called in all code paths.
15 years ago
Christoph Ruegg
8ab70fce8d
Unit Tests: no longer pairwise
15 years ago
Christoph Ruegg
69487d2775
Unit Tests: extended vector arithmetic theories, confirming gh-20
15 years ago
Christoph Ruegg
7798dba82f
Unit Tests: Linear algebra vectors: arighmetic theories (failing, gh-18)
15 years ago
Christoph Ruegg
bbceec35e7
LinearAlgebra: sparse vectors longer than 20 are no longer fully rendered on ToString
15 years ago
Christoph Ruegg
45ed83ac12
Unit Tests: added sparse vector unit tests confirming gh-18.
15 years ago
Christoph Ruegg
7cced98dd2
Threading: CommonParallel now supports empty loops. Closes gh-19.
CommonParallel did break on empty loops with an argument exception instead
of just doing nothing. It now exits early if there's nothing to do in
For and Invoke, no longer throwing an exception. Also, it now special cases
single-element iterations and inlines their execution (trivial loop
unrolling), skipping all the threading/task overhead.
15 years ago
Christoph Ruegg
58e12a740f
Build: drop build number (4th part) of package versions for better semver compliance
15 years ago
Christoph Ruegg
ecb5e12cdb
Build: dropped example project AssemblyInfo.cs (breaks the Sample nuget package)
15 years ago
Christoph Ruegg
e9e8757006
Build: Updated TeamCity bootstrap to patch F# AssemblyInfo (C# is taken care of by TeamCity)
15 years ago
Christoph Ruegg
066621eea0
Fixes F# SparseMatrix.initCol to iterate over columns instead of rows. Closes gh-13.
15 years ago
Till Hoffmann
94c57bdf2d
Extended the chisquare distribution to support the generation of samples for non-integer dof.
15 years ago
Christoph Ruegg
4455e9f6e1
Fixes dirichlet distribution (multivariate beta) density function (pdf). Closes gh-9.
15 years ago
Christoph Ruegg
57a1082769
gitignore & ReSharper6
15 years ago
Jurgen Van Gael
bacac93336
Fixed sparse vector bug.
15 years ago
Marcus Cuda
722611725f
added methods to create matrices from a list of vectors. work items: 5691
15 years ago
Marcus Cuda
08f1483e87
tweaked cholesky solve
fixed issue with LU solve for complex types using parallel element copy instead of Array.Copy
15 years ago
Marcus Cuda
57da4a187e
vector parallelization tweaks
15 years ago
Alexander Karatarakis
2234560a7a
[Matrix] LeftMultiply with vector is exactly the same as TransposeThisAndMultiplty() with vector
Change LeftMultiply to a protected method (from protected abstract) and it now
calls TransposeThisAndMultiply(). TransposeThisAndMultiply has unit tests
so it was chosen as the "main" method. Overrides of LeftMultiply were removed,
because now only TransposeThisAndMultiply() needs to be overriden.
Signed-off-by: Alexander Karatarakis <alex@karatarakis.com>
15 years ago
Alexander Karatarakis
4889537d50
[Single/Double.Matrix] Remove redundant calculation of abs in frobenius norm
The formulas found in various references do not have abs. Furthermore,
when multiplying A*A^T or A^T*A (for the frobenius norm we only care
about the diagonal so it doesn't matter which product is used) the
i-ith diagonal element of the final matrix comes from the multiplication
of line i with itself. Therefore, all numbers involved will be multiplied
with themselves resulting in numbers that are always non-negative.
Signed-off-by: Alexander Karatarakis <alex@karatarakis.com>
16 years ago
Alexander Karatarakis
10059d1ea6
Fix documentation summary of RangeCheck()
Signed-off-by: Alexander Karatarakis <alex@karatarakis.com>
16 years ago
Marcus Cuda
b4c8440e57
tweaked vector scale routines
16 years ago
Marcus Cuda
89aa96eec8
started optimizing the parallel code for small matrices and vectors
16 years ago
Marcus Cuda
3c65043de4
removed links to missing files
16 years ago
Abratiychuk
3f470bc0bc
Fixed unit tests for Silverlight
Signed-off-by: abratiychuk <18.05.2011>
16 years ago
Christoph Ruegg
29673875f3
Samples: Fix namespace collisions in sample NuGet package
16 years ago
Christoph Ruegg
325eff6437
NuGet: fix sample package content folder and desc
16 years ago
Christoph Ruegg
b1c87752d5
NuGet: MathNet.Numerics.FSharp Code Sample package
16 years ago
Christoph Ruegg
dd38f0f725
NuGet: MathNet.Numerics Code Sample package
16 years ago
Christoph Ruegg
f348974728
NuGet: include readme and copyright info in App_Readme content folder (NuGet Conventions), explicitly add reference to framework assembly System.Numerics
16 years ago
Christoph Ruegg
c2ba6ef0f9
upgrade NuGet, add assembly descriptions (taken from nuspecs)
16 years ago
Christoph Ruegg
1fdb3599c2
Set beta2 version for F# modules
16 years ago
Marcus Cuda
820cba83cd
added support for large sparse matrices with less than int.MaxValue non-zero elelements, work items: 5688
16 years ago