Returns whether all pairs of corresponding values in two vector satisfy
the specified predicate.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static bool Any<T1, T2>(
Vector<T1> operand1,
Vector<T2> operand2,
Func<T1, T2, bool> predicate
)
Public Shared Function Any(Of T1, T2) (
operand1 As Vector(Of T1),
operand2 As Vector(Of T2),
predicate As Func(Of T1, T2, Boolean)
) As Boolean
public:
generic<typename T1, typename T2>
static bool Any(
Vector<T1>^ operand1,
Vector<T2>^ operand2,
Func<T1, T2, bool>^ predicate
)
static member Any :
operand1 : Vector<'T1> *
operand2 : Vector<'T2> *
predicate : Func<'T1, 'T2, bool> -> bool
Parameters
- operand1
- Type: Extreme.MathematicsVectorT1
A vector. - operand2
- Type: Extreme.MathematicsVectorT2
A vector. - predicate
- Type: SystemFuncT1, T2, Boolean
The predicate to test.
Type Parameters
- T1
- The element type of operand1.
- T2
- The element type of operand2.
Return Value
Type:
Boolean if
predicate
returns
for all elements of
operand1 and corresponding elements
of
operand2;
otherwise
.
Reference