@@ -897,41 +897,42 @@ INP_DLLEXPORT void dpnp_rng_standard_cauchy_c(void* result, size_t size);
897
897
898
898
/* *
899
899
* @ingroup BACKEND_API
900
- * @brief math library implementation of random number generator (standard normal distribution)
900
+ * @brief math library implementation of random number generator (standard exponential distribution)
901
901
*
902
902
* @param [in] size Number of elements in `result` arrays.
903
903
*
904
904
* @param [out] result Output array.
905
905
*
906
906
*/
907
907
template <typename _DataType>
908
- INP_DLLEXPORT void dpnp_rng_standard_normal_c (void * result, size_t size);
908
+ INP_DLLEXPORT void dpnp_rng_standard_exponential_c (void * result, size_t size);
909
909
910
910
/* *
911
911
* @ingroup BACKEND_API
912
- * @brief math library implementation of random number generator (standard exponential distribution)
912
+ * @brief math library implementation of random number generator (standard gamma distribution)
913
913
*
914
914
* @param [in] size Number of elements in `result` arrays.
915
915
*
916
+ * @param [in] shape Shape value.
917
+ *
916
918
* @param [out] result Output array.
917
919
*
918
920
*/
919
921
template <typename _DataType>
920
- INP_DLLEXPORT void dpnp_rng_standard_exponential_c (void * result, size_t size);
922
+ INP_DLLEXPORT void dpnp_rng_standard_gamma_c (void * result, _DataType shape, size_t size);
923
+
921
924
922
925
/* *
923
926
* @ingroup BACKEND_API
924
- * @brief math library implementation of random number generator (standard gamma distribution)
927
+ * @brief math library implementation of random number generator (standard normal distribution)
925
928
*
926
929
* @param [in] size Number of elements in `result` arrays.
927
930
*
928
- * @param [in] shape Shape value.
929
- *
930
931
* @param [out] result Output array.
931
932
*
932
933
*/
933
934
template <typename _DataType>
934
- INP_DLLEXPORT void dpnp_rng_standard_gamma_c (void * result, _DataType shape , size_t size);
935
+ INP_DLLEXPORT void dpnp_rng_standard_normal_c (void * result, size_t size);
935
936
936
937
/* *
937
938
* @ingroup BACKEND_API
0 commit comments