Skip to content

Commit 61ea04a

Browse files
author
Vahid Tavanashad
committed
implement dpnp.hamming
1 parent 355e959 commit 61ea04a

File tree

22 files changed

+650
-16
lines changed

22 files changed

+650
-16
lines changed

doc/reference/routines.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,4 @@ These functions cover a subset of
2727
set
2828
sort
2929
statistics
30+
window

doc/reference/window.rst

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
Window functions
2+
================
3+
4+
.. https://numpy.org/doc/stable/reference/routines.window.html
5+
6+
Various windows
7+
---------------
8+
9+
.. autosummary::
10+
:toctree: generated/
11+
:nosignatures:
12+
13+
dpnp.bartlett
14+
dpnp.blackman
15+
dpnp.hamming
16+
dpnp.hanning
17+
dpnp.kaiser

dpnp/CMakeLists.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,13 @@ endfunction()
5858
add_subdirectory(backend)
5959
add_subdirectory(backend/extensions/blas)
6060
add_subdirectory(backend/extensions/fft)
61+
add_subdirectory(backend/extensions/indexing)
6162
add_subdirectory(backend/extensions/lapack)
62-
add_subdirectory(backend/extensions/vm)
63-
add_subdirectory(backend/extensions/ufunc)
6463
add_subdirectory(backend/extensions/statistics)
65-
add_subdirectory(backend/extensions/indexing)
64+
add_subdirectory(backend/extensions/ufunc)
65+
add_subdirectory(backend/extensions/vm)
66+
add_subdirectory(backend/extensions/window)
67+
6668

6769
add_subdirectory(dpnp_algo)
6870
add_subdirectory(dpnp_utils)

dpnp/backend/extensions/indexing/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# *****************************************************************************
2-
# Copyright (c) 2016-2024, Intel Corporation
2+
# Copyright (c) 2025, Intel Corporation
33
# All rights reserved.
44
#
55
# Redistribution and use in source and binary forms, with or without

dpnp/backend/extensions/indexing/choose.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//*****************************************************************************
2-
// Copyright (c) 2024, Intel Corporation
2+
// Copyright (c) 2025, Intel Corporation
33
// All rights reserved.
44
//
55
// Redistribution and use in source and binary forms, with or without

dpnp/backend/extensions/indexing/choose.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//*****************************************************************************
2-
// Copyright (c) 2024, Intel Corporation
2+
// Copyright (c) 2025, Intel Corporation
33
// All rights reserved.
44
//
55
// Redistribution and use in source and binary forms, with or without

dpnp/backend/extensions/indexing/choose_kernel.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//*****************************************************************************
2-
// Copyright (c) 2024, Intel Corporation
2+
// Copyright (c) 2025, Intel Corporation
33
// All rights reserved.
44
//
55
// Redistribution and use in source and binary forms, with or without

dpnp/backend/extensions/indexing/indexing_py.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//*****************************************************************************
2-
// Copyright (c) 2024, Intel Corporation
2+
// Copyright (c) 2025, Intel Corporation
33
// All rights reserved.
44
//
55
// Redistribution and use in source and binary forms, with or without
@@ -28,7 +28,6 @@
2828
//*****************************************************************************
2929

3030
#include <pybind11/pybind11.h>
31-
#include <pybind11/stl.h>
3231

3332
#include "choose.hpp"
3433

dpnp/backend/extensions/statistics/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# *****************************************************************************
2-
# Copyright (c) 2016-2025, Intel Corporation
2+
# Copyright (c) 2024-2025, Intel Corporation
33
# All rights reserved.
44
#
55
# Redistribution and use in source and binary forms, with or without

dpnp/backend/extensions/statistics/statistics_py.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
//*****************************************************************************
2929

3030
#include <pybind11/pybind11.h>
31-
#include <pybind11/stl.h>
3231

3332
#include "bincount.hpp"
3433
#include "histogram.hpp"

0 commit comments

Comments
 (0)