Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "ssm-simulators"
version = "0.12.0b1"
version = "0.12.0b2"
description = "SSMS is a package collecting simulators and training data generators for cognitive science, neuroscience, and approximate bayesian computation"
authors = [
{ name = "Alexander Fengler", email = "alexander_fengler@brown.edu" },
Expand Down
14 changes: 7 additions & 7 deletions src/cssm/_utils.pxd
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
cimport numpy as np

# Random number generation functions (updated to NumPy-based implementations)
cdef set_seed(random_state)
cdef float random_uniform()
cdef float random_exponential()
cdef float[:] draw_random_stable(int n, float alpha)
cdef float[:] draw_gaussian(int n)
cpdef void set_seed(random_state)
cpdef float random_uniform()
cpdef float random_exponential()
cpdef float[:] draw_random_stable(int n, float alpha)
cpdef float[:] draw_gaussian(int n)

# Helper functions
cdef int sign(float x)
cdef float csum(float[:] x)
cpdef int sign(float x)
cpdef float csum(float[:] x)
Loading