Christoph Ruegg
9f8a58ebcb
Sparse Vectors: post-refactoring cleanup
14 years ago
Christoph Ruegg
78a933aaf3
LA: migrate vectors to storage classes (major)
14 years ago
Christoph Ruegg
7f2b216fe2
Fix comment grammar, some cosmetics
14 years ago
Marcus Cuda
0c1b688a62
added the 'optimized' version of Multiply(scale) from Double.SparseVector to the other three SparseVectors
14 years ago
Marcus Cuda
ad97f31b72
trimmed result array so that result._nonZeroValues only contains NonZeroCount elements instead of _nonZeroValues.Length
14 years ago
Marcus Cuda
689ecea716
fix for issue #52
14 years ago
Christoph Ruegg
16414ce904
Perf: override CopyTo for all linear algebra types
14 years ago
Christoph Ruegg
5e72d7e5dc
Cosmetics, code quality
14 years ago
Gregor959
1b8c8c5b2d
Sparse Vector DoAdd Scalar fix
(cherry picked from commit d248151d02 )
Signed-off-by: Christoph Ruegg <git@cdrnet.ch>
14 years ago
Christoph Ruegg
386fb36bfc
Solution: Replace Silverlight with Portable library
Instead of a specific Silverlight version, we now provide a separate
Portable Library assebly that supports .Net 4.0.1 and higher,
Silverlight 5 ad well as .Net for Metro style apps (WinRT).
New NuGet Package MathNet.Numerics.Portable with the portable library.
Since MathNet.Numerics.Portable now supports silverlight, the normal
package MathNet.Numerics no longer supports it (.Net 4 only).
Reworked the common parallel execution infrastructure for more reasonable
abstractions and better compatibility with portable libraries. Portable
libraries do support parts of the TPL, but neither the Parallel class nor
straight threading.
14 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
7904a2c181
Sparse Linear Algebra: make unchecked setter privately accessible II
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
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
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
Marcus Cuda
089544a1f6
added missing Serializable attributes. work item:5683
15 years ago
Marcus Cuda
408184da78
corrected or added operators to sparse/dense vectos/matrices
16 years ago
Marcus Cuda
2cf99d8184
commented out CommonParallel.Aggregate modified the affected code
16 years ago
Marcus Cuda
ec85c4152f
vector: changed IndexedEnumberator from returning KeyValuePair to a Tuple to be consistent with the Matrix version
16 years ago
Marcus Cuda
9b72b71ebf
sparse vector optimizations
16 years ago
Marcus Cuda
289dad9181
removed redundant copyto's
16 years ago
Marcus Cuda
059cbec9a9
matlab: added missing GetIndexedEnumerator to sparse vectors and addded the intial matlab writer - only real matrices are supported, complex are next
16 years ago
Marcus Cuda
d9bbaa4a90
refactored the Vector classes to use an intermediate, type specific class
16 years ago
Jurgen Van Gael
96028daee3
Changed TensorProduct name to OuterProduct.
16 years ago
Marcus Cuda
82dec46518
merged Andriy's EVD improvements and Poisson distribution
16 years ago
Marcus Cuda
8585733257
la: added Andriy's complex32 LA code
16 years ago
Marcus Cuda
17d5941ea2
added andriy's single LA
16 years ago
Marcus Cuda
a3e51bcc93
added andriy's complex LA
16 years ago
Marcus Cuda
cbd321574f
andriy's conversion to a generic matrix
16 years ago
Marcus Cuda
9ba1fcc556
merged andriy's changes
16 years ago
Marcus Cuda
b17bbf47cc
merged andriy's changes
16 years ago
Marcus Cuda
1a8cce73c6
Merged Andriy's additions as follows:
Added optimized versions of L1, Frobenius, and infinity norms to the dense and sparse matrices
Added a TransposeAndMultiply method to Matrix DenseMatrix, and SparseMatrix
Ported the Gram-Schmidt QR factorization from dnAnalytics
Ported the diagonal matrix from dnAnalytics
Ported the iterative solvers from dnAnalytics
16 years ago
Jurgen Van Gael
941f0ca790
Added sparse interface to the F# front-end.
Fixed unit tests for new functional friendly vector interface.
16 years ago
Jurgen Van Gael
9f1461aa5b
Bug fixes in the unit tests for the new functional friendly API.
Typo fix: Sparce -> Sparse
16 years ago
Jurgen Van Gael
48454e6094
Updated unit tests to reflect new Vector API.
16 years ago
Jurgen Van Gael
7cd5f92098
Changed the Vector API to make methods more functional programming friendly.
16 years ago
Jurgen Van Gael
37bd9b67de
Reformatting of Vector.Norm and Vector.Normalize code.
16 years ago
Marcus Cuda
c62ba47988
merged Andriy's sparse optimizations
a little clean up
16 years ago
Marcus Cuda
a6572fa189
sparse: merge Andriy's additions
16 years ago
Marcus Cuda
a3b39c5622
sparse: added Andriy's sparse matrix
16 years ago
Jurgen Van Gael
510fa2c4c1
Small incremental changes.
Added F# DenseMatrix.initRow and DenseMatrix.initCol
Renamed PointWiseXXX to PointwiseXXX
Added Matrix.SetRow and Matrix.SetCol
16 years ago
Marcus Cuda
9b45a251eb
sparse: fixed stylecop errors
16 years ago
Marcus Cuda
57e590dc3b
sparse: added the latest of Andriy's changes
added sparse vector to the SilverLight project
16 years ago
Abratiychuk
16ee5688d7
Added SparseVector implementation and Unit tests for it
16 years ago
Marcus Cuda
3420d73995
Fixed bug pointed out by Andriy Bratiychuk
16 years ago
Marcus Cuda
44bded2c7b
added LA to siliverlight
switched LA parallel to CommonParallel class
16 years ago