Back to Linear Algebra (Eigen)
eigen.dense.linspace
Create a matrix with linearly spaced values.
Syntax
eigen.dense.linspace(start, end, n)
Description
Create a matrix with linearly spaced values. Creates a row vector with `n` values linearly spaced between `start` and `end`.
Parameters
| Name | Description |
|---|---|
| start | - Starting value |
| end | - Ending value (inclusive) |
| n | - Number of values |
Returns
MatrixHandle