Skip to content

Add a function to generate a constant matrix #1697

@Ecco

Description

@Ecco

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions