![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Class-pair cross moments of a marked trace. More...
#include <vector>#include "line/api/trace/mtrace_cross_moment.h"#include "line/api/trace/trace_types.h"#include "line/num/number.h"Go to the source code of this file.
Namespaces | |
| namespace | line |
| namespace | line::trace |
Functions | |
| template<class T> | |
| MtraceCrossMomentResult< T > | line::trace::mtrace_moment_simple (const std::vector< T > &Tv, const std::vector< int > &L, unsigned k) |
Class-pair cross moments of a marked trace.
Templated port of matlab/lib/m3a/m3a/mtrace/mtrace_moment_simple.m, cross-checked against jar/src/main/java/jline/api/trace/Mtrace_moment_simple.java.
In BOTH codebases this function is a byte-for-byte duplicate of mtrace_cross_moment (same body, same doc comment, only the name differs), so it is kept as an alias rather than a second implementation: any future change to one of them would otherwise silently diverge here.
ARITHMETIC: as mtrace_cross_moment, exact in Rational.
Definition in file mtrace_moment_simple.h.