mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
doc updates
This commit is contained in:
parent
2a737c146a
commit
4bbef7b6de
@ -1,4 +1,4 @@
|
||||
Algorithms for the implementation of element wise operations between a Dense and Sparse matrices:
|
||||
**Algorithms for the implementation of element wise operations between a Dense and Sparse matrices:**
|
||||
|
||||
- **Algorithm 1 `x(dense, sparse)`**
|
||||
* Algorithm should clone `DenseMatrix` and call the `x(d(i,j), s(i,j))` operation for the items in the Dense and Sparse matrices (iterating on the Sparse matrix nonzero items), updating the cloned matrix.
|
||||
@ -33,7 +33,7 @@ Algorithms for the implementation of element wise operations between a Dense and
|
||||
**Cij = Aij; Aij != 0**
|
||||
**Cij = Bij; Bij != 0**
|
||||
|
||||
Algorithms for the implementation of element wise operations between a Sparse matrices:
|
||||
**Algorithms for the implementation of element wise operations between a Sparse matrices:**
|
||||
|
||||
- **Algorithm 5 `x(sparse, sparse)`**
|
||||
* Algorithm should iterate on the nonzero values of matrices A and B and call `x(Aij, Bij)` for every nonzero value.
|
||||
@ -75,7 +75,7 @@ Algorithms for the implementation of element wise operations between a Sparse ma
|
||||
**Cij = x(Aij, Bij); Aij != 0**
|
||||
**Cij = 0; otherwise**
|
||||
|
||||
Algorithms for the implementation of element wise operations between a Sparse and Scalar Value:
|
||||
**Algorithms for the implementation of element wise operations between a Sparse and Scalar Value:**
|
||||
|
||||
- **Algorithm 10 `x(sparse, scalar)`**
|
||||
* Algorithm should iterate on the nonzero values of matrix A and call `x(Aij, N)`.
|
||||
@ -101,7 +101,7 @@ Algorithms for the implementation of element wise operations between a Sparse ma
|
||||
**Cij = x(Aij, N); Aij != 0**
|
||||
**Cij = x(0, N); otherwise**
|
||||
|
||||
Algorithms for the implementation of element wise operations between a Dense and Dense matrices:
|
||||
**Algorithms for the implementation of element wise operations between a Dense and Dense matrices:**
|
||||
|
||||
- **Algorithm 13 `x(dense, dense)`
|
||||
* Algorithm should iterate on the values of matrix A and B for all dimensions and call `x(Aij..z,Bij..z)`
|
||||
@ -110,7 +110,7 @@ Algorithms for the implementation of element wise operations between a Sparse ma
|
||||
|
||||
**Cij..z = x(Aij..z, Bij..z)**
|
||||
|
||||
Algorithms for the implementation of element wise operations between a Dense Matrix and a Scalar Value.
|
||||
**Algorithms for the implementation of element wise operations between a Dense Matrix and a Scalar Value:**
|
||||
|
||||
- **Algorithm 14 `x(dense, scalar)`**
|
||||
* Algorithm should iterate on the values of matrix A for all dimensions and call `x(Aij..z, N)`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user