Function vector_diffs (o2scl)
¶
O2scl
:
Function List
template
<
class
vec_t
,
class
rvec_t
>
void
o2scl
::
vector_diffs
(
const
vec_t
&
v_data
,
rvec_t
&
v_diffs
)
¶
Create a new vector containing the differences between adjacent entries.
template
<
class
vec_t
,
class
rvec_t
>
void
o2scl
::
vector_diffs
(
size_t
n
,
const
vec_t
&
v_data
,
rvec_t
&
v_diffs
)
¶
Create a new vector containing the differences between adjacent entries.