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

Add a function to generate a constant matrix #1697

Open
Ecco opened this issue Oct 29, 2020 · 1 comment · May be fixed by #1699
Open

Add a function to generate a constant matrix #1697

Ecco opened this issue Oct 29, 2020 · 1 comment · May be fixed by #1699
Assignees

Comments

@Ecco
Copy link
Contributor

Ecco commented Oct 29, 2020

Problem you'd like to fix

It's a bit tedious to generate a constant matrix. We could provide a function that does just that.

Describe the solution you'd like

The original person that asked for this said that kmat(3,4) could produce a 3 by 4 matrix filled with 1's.

Additional context

Originally seen on Reddit

@Ecco
Copy link
Contributor Author

Ecco commented Oct 29, 2020

How about taking a 3rd value parameter?

@RedGl0w RedGl0w linked a pull request Oct 30, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants