代码搜索结果
找到约 582,192 项符合
Cortex-M 的代码
cmdlne-di-m.c
/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. */
/* { dg-do preprocess } */
/* { dg-options "-dI -M" } */
/* Test -dI -M does not fail. It should print just
the Makefile rule with
cmdlne-dn-m.c
/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. */
/* { dg-do preprocess } */
/* { dg-options "-dN -M" } */
/* Test -dN -M does not fail. It should print just
the Makefile rule with
cmdlne-dd-m.c
/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. */
/* { dg-do preprocess } */
/* { dg-options "-dD -M" } */
/* Test -dD -M does not fail. It should print just
the Makefile rule with
cmdlne-dm-m.c
/* Copyright (C) 2002, 2003 Free Software Foundation, Inc. */
/* { dg-do preprocess } */
/* { dg-options "-dM -M" } */
/* Test -dM -M does not fail. It should print both the
#define lines and a
log_prob_node.m
function L = log_prob_node(CPD, self_ev, pev)
% LOG_PROB_NODE Compute sum_m log P(x(i,m)| x(pi_i,m), theta_i) for node i (discrete)
% L = log_prob_node(CPD, self_ev, pev)
%
% self_ev(m) is the evi
marginal_nodes.m
function m = marginal_nodes(engine, query)
% MARGINAL_NODES Compute the marginal on the specified query nodes (quickscore)
% marginal = marginal_nodes(engine, query)
%
% 'query' must be a single d
marginal_nodes.m
function [m, pot] = marginal_nodes(engine, query)
% MARGINAL_NODES Compute the marginal on the specified set of nodes (global_joint)
% [m, pot] = marginal_nodes(engine, query)
pot = marginalize_p
combine_marginals_into_joint.m
function joint = combine_marginals_into_joint(marginalsT, hnodes, ns)
jointT = dpot(hnodes, ns(hnodes));
for i=hnodes(:)'
jointT = multiply_by_pot(jointT, marginalsT{i});
end
m = pot_to_margi
pot_to_marginal.m
function m = pot_to_marginal(pot)
% POT_TO_MARGINAL Convert a dpot to a marginal structure.
% m = pot_to_marginal(pot)
m.domain = pot.domain;
m.T = pot.T;
m.mu = [];
m.Sigma = [];
%if isv
pot_to_marginal.m
function m = pot_to_marginal(pot)
% POT_TO_MARGINAL Convert a cgpot to a marginal structure.
% m = pot_to_marginal(pot)
pot = cg_can_to_mom(pot);
m.domain = pot.domain;
n = pot.csize;
d = leng