MCPcopy Create free account
hub / github.com/davisking/dlib / round

Function round

dlib/matrix/matrix_math_functions.h:205–214  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203 typename EXP
204 >
205 const matrix_op<op_round<EXP> > round (
206 const matrix_exp<EXP>& m
207 )
208 {
209 // you can only round matrices that contain built in scalar types like double, long, float, etc.
210 COMPILE_TIME_ASSERT(is_built_in_scalar_type<typename EXP::type>::value);
211
212 typedef op_round<EXP> op;
213 return matrix_op<op>(op(m.ref()));
214 }
215
216// ----------------------------------------------------------------------------------------
217

Callers 15

align_pointsFunction · 0.85
make_train_test_splitsFunction · 0.85
resample_datasetFunction · 0.85
_max_cost_assignmentFunction · 0.85
long_mulMethod · 0.85
find_upper_quantileFunction · 0.85
make_random_vectorFunction · 0.85
function_specMethod · 0.85
get_next_xMethod · 0.85
do_trainMethod · 0.85

Calls

no outgoing calls

Tested by 7

matrix_test1Function · 0.68
matrix_test2Function · 0.68
matrix_testFunction · 0.68
test_stuffFunction · 0.68
test_convFunction · 0.68
matrix_test2Function · 0.68