CUDA
C/C++    Fortran   

Logical operations (.and., .or., .not.)

Relational operations. More...

Data Types

interface  operator
 Element wise addition. More...

type(array) array_and (A, B)
 and on two array matrices

type(array) array_or (A, B)
 or on two array matrices

type(array) array_not (A)
 Not an array.

Detailed Description

Relational operations.

 type(array) lhs, rhs, res
 real scalar
 scalar = 0.5
 lhs = randu(3, 3)
 rhs = randu(3, 3)
 res = lhs < rhs .and. lhs == 0.5
 res = rhs > 0.3 .or. rhs <= 0.25

Function/Subroutine Documentation

type(array) array_and ( type(array),intent(in)  A,
type(array),intent(in)  B 
) [inherited]

and on two array matrices

type(array) array_or ( type(array),intent(in)  A,
type(array),intent(in)  B 
) [inherited]

or on two array matrices

type(array) array_not ( type(array),intent(in)  A) [inherited]

Not an array.