-
```rust
//cost 13ms when data.length is 4000w
fn sum_scalar(data: &[f32]) -> f32 {
let mut sum = 0.0;
let pos = vec![2000.0, 2000.0, 2000.0];
let dir = vec![0.8, 0.6, 0.0];
for i…
-
Correspondingly, enrich the variable operator to allow multiple requests of recursive structures. This will make the structures of descriptions and ornaments more uniform. Hopefully, better theoretica…
-
[cf. #1962 where there's the beginnings of a possible design for this, so that I could properly define a left adjoint to the forgetful functor `Magma -> Setoid`, witnessed on objects by `Magma.setoid`…
-
In this repo, it needs the 3D structures of SMILES(the mol2 file) to Generate Algebraic Graph-based Fingerprints(AG-FPs). It is easy to get some properties of a SMILES(eg: from TDC) but it is hard t…
-
Currently, the modules for Functor, Applicative and Monad include records for the Raw types similar to the algebraic structures, but do not have corresponding types including the laws. I think this co…
-
Should check that the valid monoid within a semiring is in fact commutative. Monoid validity should check for algebraic properties of monoid structures, such as having an associative binary operator a…
-
Translated models contain algebraic loops and respective Jacobian matrices that might better be solved analytically. This would reduce model code and should also speed up simulations. In particular, t…
-
[Faulty Assumptions: Things I wish someone had explained about functional programming](https://jrsinclair.com/articles/2019/what-i-wish-someone-had-explained-about-functional-programming/)
函数式编程的三个…
-
for example instead of writing :
`a['fantasy-land/equals'](a) === true`
why not just:
` a.equals( a ) === true` , or just simply ` a equals a ` .
or this:
`a['fantasy-land/concat'](b)[…
-
![2](https://github.com/YoungHaKim7/Cpp_Training/assets/67513038/95a8230e-2497-4e9c-bc60-d85536c41937)