Click or drag to resize

MatrixMathAny Method

Determines whether any element of the provided matrix a fulfills the given predicate.

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
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

Boolean
True 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