'Declaration
Public Overloads Shared Function ValidateDimensions( _ ByVal dimensions As Int32Collection _ ) As ValueTuple(Of Boolean,Integer)
'Usage
Dim dimensions As Int32Collection Dim value As ValueTuple(Of Boolean,Integer) value = Matrix.ValidateDimensions(dimensions)
public static ValueTuple<bool,int> ValidateDimensions( Int32Collection dimensions )
public: static ValueTuple<bool,int> ValidateDimensions( Int32Collection^ dimensions )
Parameters
- dimensions
- Collection of dimensions
Return Value
Tuple with validation result and the calculated length of the flattended matrix