Generate a sequence of values ranging from -a to a given a fixed amount of points.
Source:R/RcppExports.R
seq_default_a.Rd
Creates a vector containing a sequence of values starting at the initial point and going to the terminal point.
Arguments
- a
A
long double
that denotes the starting point.- length_out
A
long unsigned int
that denotes the number of points to use.
Examples
# Call with the following data:
seq_default_a(1, 10)
#> [,1]
#> [1,] -1.0000000
#> [2,] -0.7777778
#> [3,] -0.5555556
#> [4,] -0.3333333
#> [5,] -0.1111111
#> [6,] 0.1111111
#> [7,] 0.3333333
#> [8,] 0.5555556
#> [9,] 0.7777778
#> [10,] 1.0000000
seq_default_a(1, 10)
#> [,1]
#> [1,] -1.0000000
#> [2,] -0.7777778
#> [3,] -0.5555556
#> [4,] -0.3333333
#> [5,] -0.1111111
#> [6,] 0.1111111
#> [7,] 0.3333333
#> [8,] 0.5555556
#> [9,] 0.7777778
#> [10,] 1.0000000