Returns true if all elements satisfy a predicate.
Zero elements may be skipped on sparse data structures if allowed (default).
Namespace: Altaxo.Calc.LinearAlgebraAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic bool ForAll(
Func<T, bool> predicate,
Zeros zeros = Zeros.AllowSkip
)
Parameters
- predicate FuncT, Boolean
- The predicate used to test each value.
- zeros Zeros (Optional)
- Controls whether zero values may be skipped.
Return Value
Boolean if all elements satisfy the predicate; otherwise,
.
See Also