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

Functions to create constant matrices #373

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

nicaudinet
Copy link
Contributor

Hi,

I made a blog post the other day about adding a zeros function to Hmatrix. Thought I would make a pull request as well while I'm at it :)

I introduce three functions for easily creating matrices: zeros and ones to create matrices filled with zeros and ones respectively (following Numpy's naming convention). I also added a more general constMatrix function to create matrices with any value.

-Nicolas

@idontgetoutmuch idontgetoutmuch merged commit 419715a into haskell-numerics:master Feb 21, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants