checkDouble

check if double is in valid range

Contents

Syntax

Opts = checkDouble(Opts,field,default)
Opts = checkDouble(Opts,field,default,lb)
Opts = checkDouble(Opts,field,default,lb,ub)

Description

Checks if the specified setting is double and takes values in the valid range.

Input Arguments

Opts

a structure containing the algorithm settings

field

string specifying the name of the setting that is checked

default

default value

lb

lower bound of the valid range

ub

upper bound of the valid range

Output Arguments

Opts

adapted structure of algorithm settings

See Also

checkOpts, checkInteger, checkString


© 2018-2023 I6 Technische Universität München Website License

logoAroc logoCora logoChair logoTum