Christoph Ruegg
59a9933531
Cleanups
5 years ago
Christoph Ruegg
bdc020988b
Linear Algebra: add new sparse factories also to CreateMatrix type, drop no longer valid comments on zero-length
6 years ago
Christoph Ruegg
43297a0366
Get rid of resources
6 years ago
Christoph Ruegg
213fd09437
More Code Style and Cleanups
6 years ago
Christoph Ruegg
e51123cda0
Code Style and Cleanups
6 years ago
Christoph Ruegg
64f8e1cd8d
Linear Algebrea: fix range in non-suqare diagonal sparse mixed products
6 years ago
Alex Hildebrand
d6e5de0f69
Fixed Moore-Penrose Pseudo-Inverse for complex cases
7 years ago
Christoph Ruegg
22f65667a8
Managed Provider: move depending algorithms into provider; providers must be self-contained
6 years ago
Christoph Ruegg
4292d6c653
Namespaces: never fully open System.Numerics to avoid name clashes
8 years ago
Christoph Ruegg
968d079805
Cleanup: use nameof where appropriate
8 years ago
RR
5abb1fa07f
Addition of SparseMatrix implementation of OnTransposeThisAndMultiply method for all numeric types
8 years ago
Christoph Ruegg
66df283892
BREAKING: Providers: providers now own the active instance, support for hint path
9 years ago
Christoph Ruegg
8ba423a8a6
Build: rework and simplify compiler constants, bring native provider tests back
9 years ago
jnyrup
83441365c0
Fix typos
9 years ago
jnyrup
13e8bff318
Initialize list with known capacity
9 years ago
mjmckp
9a7edaf7aa
Added method 'Factorize' to 'Cholesky' base class to allow factorization with re-use of an existing factor matrix, and corresponding implementations and unit tests. ( #477 )
10 years ago
Christoph Ruegg
8accea1628
LA: explicitly demand a fully mutable matrix on SameAs in a few places #446
10 years ago
Christoph Ruegg
5e0514d932
Cosmetics: fix trailing whitespace
10 years ago
Albert Pang
8d36fb4ce6
LA: pointwise trigonometric functions, static functions (F#, usability)
* Added abstract functions for a bunch of pointwise functions (mainly those defined as operators in F#) in Matrix and Vector and also added implementations for all the subtypes
* Exposed some of the pointwise functions as static members in the Matrix and Vector generic types, so that these can be called from F# as if they are normal mathematical operators
* Removing Sign from static member as it won't work for F# which expects it to return an integer and is different from the pointwise definition.
* Exposed PointwiseLog() and PointwiseExp() as static members Log() and Exp() respectively so that they work with F# mathematical operator syntax
* Looks like op_DotHat is already in. Reverting to original so as not to overwrite other people's work
* Changing all the newly added pointwise functions with f(0)=0 to use the AllowSkip option in Map so that its more efficient for sparse matrices.
* Fixed one of the PointwiseBinary helpers so that it has protected access
* Filled in comments for all public functions. Fixed PointwiseBinary to consider both matrices when replicating so that a dense or sparse matrix is created accordingly
10 years ago
Christoph Ruegg
58b9f63e6a
LA: vector and matrix pointwise min/max and absmin/absmax
10 years ago
Christoph Ruegg
c27534b9a7
LA: ConugateTranspose into provided result matrix #431
10 years ago
Christoph Ruegg
6070beba7a
LA: Matrix Moore-Penrose Pseudo-Inverse (SVD) #432
10 years ago
Christoph Ruegg
d1dfb51a3d
LA: vector dot-power with vector exponent, bound to provider
10 years ago
Christoph Ruegg
f8012bca55
LA: bind matrix dot-power with matrix exponent to provider
10 years ago
Christoph Ruegg
5a5bc8a6f5
LA: Add matrix dot-power with matrix exponent
10 years ago
Arthur
40af1c8f1b
Directly address underlying data-array for multiplying sparse with dense matrices with DenseColumnMajorMatrixStorage for Complex types
10 years ago
IgorK
c120c73158
fixed documentation of Vector.MaximumIndex()
"returns Index of absolute maximum -> returns Index of Maximum"
10 years ago
Christoph Ruegg
b3bb2d1e73
Linear Algebra: fix bug in sparse vector pointwise multiply/divide to itself #390
11 years ago
Christoph Ruegg
36a46bd7fc
Cleanup: no longer mention CodePlex in file headers, deprecate its release archive
11 years ago
Christoph Ruegg
a72d01495d
Maintenance: minor code style fixes
11 years ago
Christoph Ruegg
35f12a62e6
Linear Algebra: Matrix Rank should use effective epsilon #334
Previously it was using the normalized epsilon at 1.0.
See http://discuss.mathdotnet.com/t/wrong-compute-of-the-matrix-rank/120
for discussion.
11 years ago
Christoph Ruegg
55db448f90
LA: fix bug in Complex and Complex32 SparseMatrix.ToTypeString #347
The Complex and Complex32 implementation of SparseMatrix.ToTypeString
was reporting a filling percentage that was too large by a factor of 100
because the conversion to percentage was done twice (once by `P2` string
format)
11 years ago
Christoph Ruegg
b2e9445a88
Minor optimization how we call Array.Copy
Reasoning and motivation see dotnet/corefx#3615
11 years ago
Christoph Ruegg
5ff5a75389
LA: fix a critical bug in SparseMatrix.Add when adding a matrix to itself #341
11 years ago
Christoph Ruegg
26657680b4
LA: fix a critical bug in SparseMatrix.Add when adding a matrix to itself #341
11 years ago
Christoph Ruegg
de15eb6dc1
LA: Matrix Rank calculation should use a tolerance based on the matrix size #334
11 years ago
Matt Heffron
31a7927062
Add (restore?) the missing SparseVector.AbsoluteMaximumIndex() override implementations.
12 years ago
Christoph Ruegg
fbfe077552
LA: migrate mixed-storage fallback implementations to use higher order functions
12 years ago
Christoph Ruegg
d1651ebb4f
LA: Storage should not make Zeros/ExistingData arguments optional (internal only until v4). Minor optimization.
12 years ago
Christoph Ruegg
83218f9881
LA: rework constant and random vector/matrix building #253
12 years ago
Christoph Ruegg
5798111b8d
LA: use provider MatrixMultiply, use more common idx names
12 years ago
Christoph Ruegg
31e937cbef
Tests: prefer matrix builders
12 years ago
Christoph Ruegg
e50de5b606
LA: the proper term for being conjugate symmetric is 'Hermitian'
12 years ago
Christoph Ruegg
848874e1b7
LA: CoerceZero for matrices and vectors (via MapInplace)
12 years ago
Christoph Ruegg
c2f4415dc2
LA: Matrix Column/Row sums and absolute-sums
12 years ago
Christoph Ruegg
b50d4417a9
LA: Matrix.FoldByRow/Column operates on arrays to allow arbitrary types (not just those supported by vectors)
12 years ago
Christoph Ruegg
8d19348662
LA: rename Matrix.FoldRows to FoldByRow; FoldColumns to FoldByColumn
12 years ago
Christoph Ruegg
34888f8413
LA: proper vector outer product api, faster implementation
12 years ago
Christoph Ruegg
d7124278af
LA: fix IsConjugateSymmetric to ensure diagonal is real
12 years ago
Christoph Ruegg
269f7f371e
LA: optimize diagonal-scalar division #146
12 years ago