Skip to content

Commit 9892bad

Browse files
committed
Updated NEWS.
1 parent e6cca92 commit 9892bad

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

NEWS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ New utilities
2929
`replace()<-` is also implemented, allowing the list to be modified
3030
in place.
3131

32+
- New pair of functions, `arr_to_coo()` and `arr_from_coo()`, to
33+
translate between an array and its list of non-default values.
34+
35+
- New function, `set_diag()` to set a diagonal of a matrix to
36+
specified values and return (as opposed to modifying it in place).
37+
3238
Enhancements to existing utilities
3339
----------------------------------
3440

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414

1515
* New function, `replace()`, a more pipe-friendly drop-in replacement for `base::replace()` for which replacement indices and values can be specified as functions evaluated on the input vector. `replace()<-` is also implemented, allowing the list to be modified in place.
1616

17+
* New pair of functions, `arr_to_coo()` and `arr_from_coo()`, to translate between an array and its list of non-default values.
18+
19+
* New function, `set_diag()` to set a diagonal of a matrix to specified values and return (as opposed to modifying it in place).
20+
1721
## Enhancements to existing utilities
1822

1923
* The behavior of `trim_env()` has changed: if no variables are to be copied in, the environment is set directly to `baseenv()`.

0 commit comments

Comments
 (0)