-
This came up in a Slack discussion about adding `lag` and `lead` functions, which are similar to `circshift`. In many cases, allocating a vector to store the result of `circshift` is a waste, as a laz…
-
> _**Contribute to this repo and get started with Open Source!**_
Every meaningful contribution is welcome.
You may fix a typo or add content to files, you can add new files to existing folders or…
-
ast example
```json
{
"type": "FunctionDeclaration",
"start": 5,
"end": 25,
"loc": {
"start": {
"line": 2,
"column": …
a-x- updated
2 months ago
-
## 🚀 Feature
Add a `torch.pad` function, based on [`numpy.pad`](https://numpy.org/doc/stable/reference/generated/numpy.pad.html)
## Motivation
NumPy compatability.
Plus, this will offer a so…
-
The current implementation of the circular median only returns correct results for well-behaved data. In particular, for an even number of data points, the line 141
```
min_idx = np.argsort(dm)[:2…
-
**Reported by dickeya on 7 Jan 2010 23:11 UTC**
I find myself using a lot of neighbor functions in r.mapcalc, but find the syntax to be tedious. Anything larger than a 3x3 neighborhood and writing ou…
-
Vue.js has a [slot concept](https://vuejs.org/guide/components/slots.html#named-slots).
The following code imagines how this concept could manifest in Slint:
```slint
component Page…
-
Hi,
I am using vg to create a variation graph from 2 E. coli genomes : O104 (NC_018658.1) and IAI39 (NC_011750.1). To validate the graph (and also practice the use of vg), I generated reads (with m…
-
The storage is passed as a value to the histogram, because it allows the storage to be configured at run-time.
```
auto h = make_histogram_with(dense_storage(), ...);
```
So far we have not made…
-
Assuming the FDSN identifiers will be used in the new data format (please discuss this in #4) how should the location code be expanded (or not) and what conventions should be adopated (if any)?