Determines whether any element of the provided matrix a fulfills the given predicate.
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static bool Any(
this IROMatrix<double> a,
Func<int, int, double, bool> predicate
)
Parameters
- a IROMatrixDouble
- The matrix.
- predicate FuncInt32, Int32, Double, Boolean
- The predicate to fulfill. 1st argument is the row number, 2nd arg is the column number, 3rd arg is the element value at row and column. The return value is the predicate.
Return Value
BooleanTrue if any element of the provided matrix
a fulfills the given predicate; otherwise false.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IROMatrixDouble. 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).
See Also