Comments (1)
This might be complicated to implement more generally for the different kinds of slices that could be passed to it. (e.g. with all
you have to use it multiple times with (some?) 2+ dimensional slices).
Another approach would be to define a shouldApproxEqual
that is basically (a, b) => a.shouldApprox == b
. Since it would return a bool
it would be a drop-in replacement for approxEqual
with better error messages.
from mir-algorithm.
Related Issues (20)
- Add support for column major slices HOT 1
- Enhance functionality of `RefTuple` `label`s HOT 4
- labels support HOT 9
- Compilation fails on Linux aarch64 with hardfloat HOT 3
- Replace asserts with `should`s
- fuse on array of string HOT 1
- [feature request] Add numpy.genfromtxt() HOT 32
- add static check for supported complier versions directly in the code
- Bitwise operations on `bitSlice` HOT 1
- U+23F4 is graphical as of Unicode v7
- filter and each compiler error HOT 2
- Sum doesn't work for const(Slice!T*) HOT 1
- `stairs` with 0 or 1 on diagonals HOT 1
- How to reference mir (and lubeck) libraries HOT 2
- 32 bit windows LDC build fails HOT 6
- dmd 2.103.0 deprecation warnings about class/interface alias this HOT 1
- is lightScope of Slice!(RCI!T, N) thread-safe? HOT 1
- Cannot writeln entire object when mixing zip/map
- const conversion with labels HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mir-algorithm.