DigComT

DCT_and

DirectoryDOS NameType
DataFnc dct_and m-function

Purpose

Logical AND function

Calling Sequence

y = DCT_and(x, w) or y = DCT_and(x, w, Nbyte)

INPUTS

Input Description
1 x
first datum
2 w
second datum

Optional INPUTS

Input Description Default Value
3 Nbyte
if Nbyte == 0 then logical on word
if Nbyte > 0, then result is obtained bit wise on the Nbyte bits
0

OUTPUTS

Output Description
1 y
result

Notes

In the first case, y is 1 where x and w are
not equal to 0, 0 elsewhere
In the second case, y is equal to the
AND of least significant Nbyte bits of x and w
DigComT Manual Table of Contents DigComT Manual Native Intelligence Home

DigComT Licensee: Chris Heegard 
Native Intelligence
Last modified: Tuesday, January 11, 2000
Date created: Tuesday, January 11, 2000

Copyright © 1997-2000, Native Intelligence, All rights reserved.