Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New methods and features for 0.6.0 #64

Merged
merged 25 commits into from
Jul 16, 2024
Merged

Conversation

henrique-borba
Copy link
Member

@henrique-borba henrique-borba commented Jul 15, 2024

This is an update package that implements new methods and new features to existing methods for the 0.6.0 update.

Updated: NDArray::transpose

Transpose now allows the user to specify permutation axes.

Updated: NDArray::squeeze

Now support axis parameter

New: NDArray::full

Creates a new array initialized with a user-specified value.

New: NDArray->fill

Fills an existing array with the user-specified value.

New: NDArray::positive

Returns a copy of the NDArray with all positive values.

New: NDArray::reciprocal

Returns the reciprocal of the matrix, element-wise.

New: NDArray::swapaxes

Interchange array axes.

New: NDArray::argmin

Return the indices of the minimum values over a specified axis.

New:: NDArray::argmax

Return the indices of the maximimum values over a specified axis.

New:: NDArray::rollaxis

Roll the specified axis backwards, until it lies in a given position.

New:: NDArray::moveaxis

Move axes of an array to new positions.

New:: NDArray::hstack

Stack arrays in sequence horizontally (column wise).

New:: NDArray::vstack

Stack arrays in sequence vertically (row wise).

New:: NDArray::dstack

Stack arrays in sequence depth wise (along third axis).

New:: NDArray::column_stack

Stack 1-D arrays as columns into a 2-D array.

New:: NDArray::concatenate

Join a sequence of arrays along an existing axis.

New:: NDArray::append

Append values to the end of an array.

@henrique-borba henrique-borba added the enhancement New feature or request label Jul 15, 2024
@henrique-borba henrique-borba added this to the 0.6.0 milestone Jul 15, 2024
@henrique-borba henrique-borba self-assigned this Jul 15, 2024
@henrique-borba henrique-borba marked this pull request as draft July 16, 2024 00:50
@henrique-borba henrique-borba marked this pull request as ready for review July 16, 2024 16:01
@henrique-borba henrique-borba merged commit 8f392c8 into main Jul 16, 2024
4 checks passed
@henrique-borba henrique-borba deleted the feat/routines_package branch July 16, 2024 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

[FEAT] Improve indexing and slicing to accept negative indices [FEAT] Implement more manipulation routines
1 participant