Skip to content

Releases: pSUNSET/Pytlin

v2.0.6

17 Apr 17:09

Choose a tag to compare

All the features are not changed.
Just optimize most of them.

Now, slices in kotlin can be used like one in python.
That means slices in Pytlin can be create by only a pattern string (without a array-like object).
Therefore, all function about slices get better and shorter expression.

What's more, the Kwargs get optimized, too.
We make it an interface instead of class.
And let MutableKwargs implement that.

Additionally, we add as3D function to Tensor class.
It is a mistake made by us to miss that function in last version.

v2.0.5

08 Mar 13:14

Choose a tag to compare

Optimize the functions about slices of collections and string.
Update set functions for slices of collections.

Update the architecture.
Move range functions into Py object.

v2.0.4

24 Feb 14:28

Choose a tag to compare

Update python-like slices for strings in kotlin.
Fix all toBool functions

v2.0.3

21 Feb 16:22

Choose a tag to compare

Update python-like slices for collections in kotlin.
Update setDefault function which is from python for kotlin maps.

v2.0.2

20 Feb 14:57

Choose a tag to compare

Fix the bug that when the two tensors plus each other, the data first tensor also be changed.
Update Tensor3D for storaging 3D data.
Update the range function for implementing the range features of python.

v2.0.0

15 Feb 15:28

Choose a tag to compare

We rename this project.
Because we won't confine to kwargs features.
Instead, we update Tensor class in this update.

The idea of tensor in this library is from PyTorch, which is a popular library for machine learning.
The features of tensor in that library are powerful.
We want to implement that in kotlin.

Though it only supports 1d tensor now, we will update more features for tensor in future.

v1.0.6

13 Feb 15:55

Choose a tag to compare

Remove hasFractionalPart() function. Please use !isFractionalPartZero() instead.

Fix the precision of the valEq() function.

Update other more powerful function about fractional part of a number.
They all work fine with the number in Double, Float or BigDecimal.

v1.0.5

12 Feb 15:40

Choose a tag to compare

Update many toBool() functions and operator not() functions in Boolize(which stands for boolean-ize) file. The functions can turn all object into boolean. Usually, it stands for whether the object is not null, not empty, not zero, etc., .

Update valEq() function for checking whether two numbers have the same numerical value, regardless of their data types.

Update hasFractionalPart() function for checking if the number has a non-zero fractional part.

v1.0.4

10 Feb 14:12

Choose a tag to compare

Update some times function for arrays and iterable object.

v1.0.3

08 Feb 16:40

Choose a tag to compare

Update more functions about math for collections.