calc_sigma_cpp: Calculate the sigma covariance matrix of a Gaussian linear network.
This is the C++ backend of the function.
Description
Calculate the sigma covariance matrix of a Gaussian linear network.
This is the C++ backend of the function.
Usage
calc_sigma_cpp(fit, order)
Arguments
fit
a bn.fit object as a Rcpp::List
order
a topological ordering of the nodes as a vector of strings
Value
the covariance matrix