Vector.All<T>(Vector<T>, Func<T, Boolean>) Method
Returns whether all values in a vector satisfy the specified
predicate.
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
true if predicate returns true for all elements of operand; otherwise false.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static bool All<T>(
this Vector<T> operand,
Func<T, bool> predicate
)
Parameters
Type Parameters
- T
- The element type of operand.
Return Value
Booleantrue if predicate returns true for all elements of operand; otherwise false.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Vector<T>. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).Exceptions
Argument | operand is null -or- predicate is null |