checkMatrix

check if a matrix takes as valid value

Contents

Syntax

Opts = checkMatrix(Opts,field,default,dim)
Opts = checkMatrix(Opts,field,default,dim,posDef)

Description

Checks if the specified matrix is a string and takes a valid value.

Input Arguments

Opts

a structure containing the algorithm settings

field

string specifying the name of the setting that is checked

default

default value

dim

required dimension of the matrix

posDef

matrix has to be positive definite

Output Arguments

Opts

adapted structure of algorithm settings

See Also

checkOpts, checkInteger, checkDouble, checkBoolean


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

logoAroc logoCora logoChair logoTum