﻿ExtensionMethods.all Method (ConcreteArray(Int16, Array(Int16), InArray(Int16), OutArray(Int16), RetArray(Int16), Storage(Int16)), Boolean)

ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
[numpy API] Tests for all elements of A being non-zero.

[ILNumerics numpy Module]

Namespace:  ILNumerics
Assembly:  ILNumerics.numpy (in ILNumerics.numpy.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax

```public static RetLogical all(
this ConcreteArray<short, Array<short>, InArray<short>, OutArray<short>, RetArray<short>, Storage<short>> A,
bool keepdims = false
)```

#### Parameters

A
Type: ILNumerics.Core.ArraysConcreteArrayInt16, ArrayInt16, InArrayInt16, OutArrayInt16, RetArrayInt16, StorageInt16
The source array. This will not be altered.
keepdims (Optional)
Type: SystemBoolean
[Optional] accumulated dimensions remain in the resulting array. Default: (false) accumulated singleton dimensions are removed.

#### Return Value

Type: RetLogical
Logical scalar array with the result of testing for non-zero values.

#### Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ConcreteArrayInt16, ArrayInt16, InArrayInt16, OutArrayInt16, RetArrayInt16, StorageInt16. 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).
Remarks

Depending on the value of keepdims the array returned will have the same number of dimensions as A (keepdims = true) or with a number of dimensions according to MinNumberOfArrayDimensions.

Empty arrays A produce a scalar array with the default element value for the element data type (false).

[ILNumerics numpy Module]