Scythe-1.0.3
template<typename T , matrix_order O, matrix_style S>
Matrix<T,O,S> scythe::seqa ( start,
incr,
uint  rows 
)

Create a rows x 1 vector-additive sequence Matrix.

This function creates a rows x 1 Matrix $v$, where $v_i = \mbox{start} + i \cdot \mbox{incr}$.

This function is defined by a series of templates. This template is the most general, requiring the user to explicitly instantiate the template in terms of element type, matrix_order and matrix_style. Further versions allow for explicit instantiation based just on type and matrix_order (with matrix_style defaulting to Concrete) and just on type (with matrix_style defaulting to Col). Finally, the default version of th function generates column-major concrete Matrix of doubles.

Parameters:
startDesired start value.
incrAmount to add in each step of the sequence.
rowsTotal number of rows in the Matrix.
Exceptions:
scythe_alloc_error(Level 1)

References scythe::Matrix< T_type, ORDER, STYLE >::begin_f(), and scythe::Matrix< T_type, ORDER, STYLE >::end_f().