isInside

 

 

Overview

The isInside function determines whether or not the specified {obj} is a member of the {target} Vector. If the {obj} is found, true is returned. If the {obj} is not found, false is returned. The isInside function uses the isIdentical predicate.

Structure

The isInside function determines whether or not the specified {key} is a member of the {target} Structure. If the {key} is found, true is returned. If {key} is not found, false is returned. The isInside function uses the isIdentical predicate.

Dictionary

The isInside function determines whether or not the specified {key} is a member of the {target} Dictionary. If the {key} is found, true is returned. If {key} is not found, false is returned. The isInside function uses the isIdentical predicate.

Directory

The isInside function determines whether or not the specified {key} is a member of the {target} Directory. If the {key} is found, true is returned. If {key} is not found, false is returned. The isInside function uses the isIdentical predicate.

Matrix

The isInside function determines whether or not the specified {obj} is a member of the {target} Matrix. If the {obj} is found, true is returned. If the {obj} is not found, false is returned. The isInside function uses the isIdentical predicate.

NumMatrix

The isInside function determines whether or not the specified {obj} is a member of the {target} NumMatrix. If the {obj} is found, true is returned. If the {obj} is not found, false is returned. The isInside function uses the isIdentical predicate.

Pair

The isInside function determines whether or not the specified {obj} is a member of the {target} Pair or List. If the {obj} is found, true is returned. If the {obj} is not found, false is returned. The isInside function uses the isIdentical predicate.

Usage

The isInside function is used to determine if an object is in a specified Vector or any of its subtypes. It returns a Boolean value true if found in the Vector or false if not found. If the desired information is the index where the match was found, then the inside function should be used instead.

Structure

The isInside function is used to determine if a symbolic key is in a specified Structure. It returns a Boolean value true if found in the structure or false if not found. If the desired information is the index of the symbolic key, then the inside function should be used instead

Dictionary

The isInside function is used to determine if a symbolic key is in a specified Dictionary. It returns a Boolean value true if found in the structure or false if not found. If the desired information is the index of the symbolic key, then the inside function should be used instead

Directory

The isInside function is used to determine if a symbolic key is in a specified Directory. It returns a Boolean value true if found in the structure or false if not found. If the desired information is the index of the symbolic key, then the inside function should be used instead

Matrix

Note: Returns an error message if the Matrix is not of rank one.

The isInside function is used to determine if an object is in a specified Matrix. It returns a Boolean value true if found in the Matrix or false if not found. If the desired information is the index where the match was found, then the inside function should be used instead.

NumMatrix

Note: Returns an error message if the NumMatrix is not of rank one.

The isInside function is used to determine if an object is in a specified NumMatrix. It returns a Boolean value true if found in the Matrix or false if not found. If the desired information is the index where the match was found, then the inside function should be used instead.

Pair

The isInside function is used to determine if an object is in a specified Pair. It returns a Boolean value true if found in the Pair or List or false if not found. If the desired information is the index where the match was found, then the inside function should be used instead.

 

Syntax


Expression:

(isInside obj vector)


Arguments Name Type Description
Argument:objCharacter String Symbol Vector BitVector ByteVector IntVector FltVector ObjVector Structure Dictionary Directory Matrix NumMatrix Integer Float Number Complex The search object.
Argument:vectorVector ShortVector IntVector NumVector ObjVector BitVector The target Vector.

Returns:

Returns true if the object was found. Returns false if the object was not found.




Expression:

(isInside key obj)


Arguments Name Type Description
Argument:keySymbol The key to search for (it must be a symbol).
Argument:objStructure The target object.

Returns:

Returns true if the key was found. Returns false if the key was not found.




Expression:

(isInside key obj)


Arguments Name Type Description
Argument:keySymbol The key to search for (it must be a symbol).
Argument:objDictionary The target object.

Returns:

Returns true if the key was found. Returns false if the key was not found.




Expression:

(isInside key obj)


Arguments Name Type Description
Argument:keySymbol The key to search for (it must be a symbol).
Argument:obj Directory The target object.

Returns:

Returns true if the key was found. Returns false if the key was not found.




Expression:

(isInside obj matrix)


Arguments Name Type Description
Argument:objCharacter String Symbol Vector BitVector ByteVector IntVector FltVector ObjVector Structure Dictionary Directory Matrix NumMatrix Integer Float Number Complex The search object.
Argument:matrixMatrix The target Matrix.

Returns:

Returns true if the object was found. Returns false if the object was not found.




Expression:

(isInside obj nummatrix)


Arguments Name Type Description
Argument:objCharacter String Symbol Vector BitVector ByteVector IntVector FltVector ObjVector Structure Dictionary Directory Matrix NumMatrix Integer Float Number Complex The search object.
Argument:nummatrixNumMatrix The target NumMatrix.

Returns:

Returns true if the object was found. Returns false if the object was not found.




Expression:

(isInside obj pair)


Arguments Name Type Description
Argument:objCharacter String Symbol Vector BitVector ByteVector IntVector FltVector ObjVector Structure Dictionary Directory Matrix NumMatrix Integer Float Number Complex The search object.
Argument:pairPair The target Pair.

Returns:

Returns true if the object was found. Returns false if the object was not found.




Expression:

(isInside obj list)


Arguments Name Type Description
Argument:objCharacter String Symbol Vector BitVector ByteVector IntVector FltVector ObjVector Structure Dictionary Directory Matrix NumMatrix Integer Float Number Complex The search object.
Argument:list List The target List.

Returns:

Returns true if the object was found. Returns false if the object was not found.



 

Examples

Here are a number of links to Lambda coding examples which contain this instruction in various use cases.

 

Argument Types

Here are the links to the data types of the function arguments.

Structure Dictionary Directory Symbol
Boolean Structure Dictionary Directory
Symbol Boolean Structure Dictionary
Directory Symbol Boolean Character
String Symbol Vector BitVector
ByteVector IntVector FltVector ObjVector
Structure Dictionary Directory ShortVector
Matrix NumMatrix Integer Float
Number Complex Boolean

Here are also a number of links to functions having arguments with any of these data types.

++ += + /=
/ *= * --
-= - abortTransaction abs
acos add1 addMethod addi
appendWriteln append apply argument
arithmetic asin atan avg
badd balance bcompareEQ bcompareGE
bcompareGT bcompareLE bcompareLT bcompareNE
bdiv beginTransaction binaryInsert binaryNand
binaryNor binaryNot binaryNxor binarySearch
bitToIntegerVector bitToNumberVector bitwiseAnd bitwiseNand
bitwiseNor bitwiseNot bitwiseNxor bitwiseOr
bitwiseShiftLeft bitwiseShiftRight bitwiseXor bmod
bmul boolean cadd ccompareEQ
ccompareGE ccompareGT ccompareLE ccompareLT
ccompareNE cdiv cdr char
character checkPointTransaction class clean
clear closeLog cmod cmul
code commitTransaction compareEQ compareGE
compareGT compareLE compareLT compareNE
compare comparison compile complex
compress conjugate cons copy
cos cosh count csub
date day days360 debugBrowsableProcs
debugDetective debugEval debug decode
defchild defclass define(macro) defineStructure
define defmacro defmethod deforphan
defriend defstruct defun deg
deleteRows delete dimension disassemble
display divi downcase encode
evalInSyncLocalContext eval exit exp
exportCsv exportSbf exportTab expt
fact fdisplay fieldsOf fileClose
fileCopy fileDir fileDisplay fileEraseDir
fileErase fileExists fileMakeDir fileOpen
fileReadAll fileReadRecord fileRead fileResize
fileSeek fileSizeOf fileWriteAll fileWrite
filewriteln findBlock find floor
fraction freeBlock gc gcd
getGlobalValue getRecursionCount getSymbolTable getTickCount
globalBinding hashString hour iadd
icompareEQ icompareGE icompareGT icompareLE
icompareLT icompareNE idiv imaginary
imod importCsv importSbf importTab
imul insertRows insert inside
inspect integer isAtom isBitVector
isBoolean isBound isByteVector isCharAlphabetic
isCharAlphanumeric isCharLowercase isCharName isCharNumeric
isCharUppercase isCharWhitespace isChar isCharacter
isClass isComplex isDate isDictionary
isDirectory isEqual isError isEven
isExact isFloatVector isIdentical isImmediate
isInexact isInside isIntegerVector isInteger
isLambda isMatrix isMember isMoney
isNegative isNull isNumberMatrix isNumberVector
isNumber isObjectVector isObject isOdd
isPair isPcodeVector isPositive isString
isStructure isSymbol isText isTransaction
isType isVector isZero isub
julian kurtosis lcm left
length lisp list loadModule
loadObject loadRepository loadWorkspace lock
log10 log2 logConsole log
logbase macroReplace makeDictionary makeGaussianMatrix
makeGramMatrix makeQuotedList makeQuotedSymbol makeStructure
map mapc matrixGaussianEliminate matrixGaussianSubstitute
max median member methodsOf
mid min minute mod
modi money month morph
muli nadd ncompareEQ ncompareGE
ncompareGT ncompareLE ncompareLT ncompareNE
ndiv new nmod nmul
now nsub number objectToDictionary
objectToDirectory objectToList objectToMatrix objectToNumMatrix
objectToNumVector objectToStructure objectToVector offset
onError openLog pair parent
parse pi pointer preAllocateFixedMemoryBlocks
product proplist proprecord putprop
qt quit rad random
randomize range rank real
refAttributes refValues ref remProp
remove rename replace rept
reset resize reverse right
round run saveImmediate saveModule
saveObject saveRepository saveWorkspace second
send setAttributes setBlock setCar
setCdr setLastCdr set setf
setq sigmoid sign sin
sinh sizeof skew sleep
sort sql sqrt srandom
stdev stdevp stringCiEQ stringCiGE
stringCiGT stringCiLE stringCiLT stringCiNE
stringFill stringToBVector stringToVector string
sub1 subi submit substitute
substringCiEQ substringCiGE substringCiGT substringCiLE
substringCiLT substringCiNE substringEQ substringFill
substringGE substringGT substringLE substringLT
substringNE substring sum sumsqr
super svmRegression symbolToTypeCode symbol
systemCheck system tan tanh
text time trim type
uncompress uniqueInsert unlock upcase
var varp vectorBinaryInnerProduct vectorBipolarInnerProduct
vectorCosineInnerProduct vectorCubeInnerProduct vectorDelete vectorExpInnerProduct
vectorFill vectorInnerProduct vectorLogInnerProduct vectorQuartInnerProduct
vectorQuintInnerProduct vectorSigmoidInnerProduct vectorSineInnerProduct vectorSquareInnerProduct
vectorTanInnerProduct vectorTanhInnerProduct version writelg
writeln year

Analytic Information Server (AIS)

AIS Component Systems

  • Smartbase Engine
  • QT C++ Libraries
  • MySQL Relational Database
  • AIS Lisp Libraries
  • Rapid Analytic Demo IDE