#include "genealogy.h"
#include "generics.h"
#include "internal.h"
Go to the source code of this file.
|
| SEXP | curtail (SEXP State, SEXP Time, SEXP Troot) |
| | curtail the given genealogy
|
| |
◆ curtail()
| SEXP curtail |
( |
SEXP | State, |
|
|
SEXP | Time, |
|
|
SEXP | Troot ) |
curtail the given genealogy
Definition at line 88 of file curtail.cc.
88 {
90 double t, t0;
91 t = *REAL(AS_NUMERIC(Time));
92 t0 = *REAL(AS_NUMERIC(Troot));
93 if (ISNA(t)) t = A.
time();
96 SEXP out;
98 SET_ATTR(out,install("class"),mkString("gpgen"));
99 UNPROTECT(1);
100 return out;
101 }
slate_t & timezero(void)
view/set zero time.
slate_t & time(void)
view/set current time.
void curtail(slate_t tnew, slate_t troot)
SEXP serial(const TYPE &X)
binary serialization