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

Method set_lambda

dlib/control/lspi.h:87–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 }
86
87 void set_lambda (
88 double lambda_
89 )
90 {
91 // make sure requires clause is not broken
92 DLIB_ASSERT(lambda_ >= 0,
93 "\t void lspi::set_lambda(lambda_)"
94 << "\n\t invalid inputs were given to this function"
95 << "\n\t lambda_: " << lambda_
96 );
97 lambda = lambda_;
98 }
99
100 double get_lambda (
101 ) const

Callers 8

test_lspi_prior1Function · 0.45
test_lspi_prior2Function · 0.45
test_lspi_noprior1Function · 0.45
test_lspi_noprior2Function · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 5

test_lspi_prior1Function · 0.36
test_lspi_prior2Function · 0.36
test_lspi_noprior1Function · 0.36
test_lspi_noprior2Function · 0.36