NAITOH Jun

Results 13 comments of NAITOH Jun

>> (x-y).lt((x.abs+y.abs)*Numo::DFloat::EPSILON * 2) > numo/types/float_def.h:#define DBL_EPSILON 2.2204460492503131e-16 > numo/types/dfloat.h:#define m_nearly_eq(x,y) (fabs(x-y) numo/types/float_def.h:#define FLT_EPSILON 1.1920928955078125e-07 > numo/types/sfloat.h:#define m_nearly_eq(x,y) (fabs(x-y) x = Numo::DFloat[1] => Numo::DFloat#shape=[1] [1] > log_z = Numo::NMath.log(Numo::NMath.exp(x).sum(keepdims:true)) =>...

numo-narray also already has SIMD support. https://github.com/ruby-numo/numo-narray/pull/111

> It may be possible to recognize as a transposed array by stride length. I think that it is possible to recognize it as a transposed array with stride length...

I think this problem has been fixed in numo-narray 0.9.1.4, numo-linalg 0.1.4, but what do you think?

I agree. > !a looks like returning boolean value

I made a wiki of py2rb usage [example](https://github.com/naitoh/py2rb/wiki). Will this be your helpful?

please use https://rubygems.org/gems/rbpdf/versions/1.21.0

> I tested with an invalid src attribute and unfortunately infinite loop was occurred! > something like `` @salmanmp I can't reproduce it in my environment. ```Ruby $ irb >...

This is a duplicate of #56. Thank you.

tt2ufm source code is 577ab37b317022c8d3317a59f4fda70be3937fc8.