>
|
|
>
|
|
>
|
|
>
|
|
Using relation and Boolean functions to determine characteristics of a Vector:
Are all values less than 80?
>
|
|
Are any values less than 20?
>
|
|
Using relation and Boolean functions to determine characteristics of rows of a Matrix:
>
|
|
Which are all zero?
>
|
|
Which contain at least one zero?
>
|
|
Which contain at least one nonzero element?
>
|
|
The order of X and Y can be reversed to test columns:
Which are all zero?
>
|
|
Which contain at least one zero?
>
|
|
Which contain only values <= 13?
>
|
|
GeneralInnerProduct works with more than two dimensions.
>
|
|
>
|
|
>
|
|
The datatype option can be used if the default datatype would not be suitable for the result.
>
|
|
>
|
|
>
|
|
GeneralInnerProduct can perform operations on ImageTools images. This example converts an RGB image to gray scale, primarily based on the green channel:
>
|
|