Click or drag to resize

VectorTExists2TOther Method

Returns true if at least one element pairs of two vectors of the same size satisfies a predicate. Zero elements may be skipped on sparse data structures if allowed (default).

Namespace: Altaxo.Calc.LinearAlgebra
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public bool Exists2<TOther>(
	Func<T, TOther, bool> predicate,
	Vector<TOther> other,
	Zeros zeros = Zeros.AllowSkip
)
where TOther : struct, new(), IEquatable<TOther>, IFormattable

Parameters

predicate  FuncT, TOther, Boolean
The predicate to test element pairs.
other  VectorTOther
The other vector.
zeros  Zeros  (Optional)
Specifies whether zero values may be skipped.

Type Parameters

TOther
The element type of the other vector.

Return Value

Boolean
if at least one pair matches; otherwise, .
See Also