ILNumerics - Technical Application Development
Assembly: ILNumerics.numpy (in ILNumerics.numpy.dll) Version: 5.5.0.0 (5.5.7503.3146)
[numpy API] Overwrites all elements of A with the same value scalar.
[ILNumerics numpy Module]
Namespace: ILNumerics
Assembly: ILNumerics.numpy (in ILNumerics.numpy.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
public static void fill<T1, LocalT, InT, OutT, RetT, StorageT>( this Mutable<T1, LocalT, InT, OutT, RetT, StorageT> A, T1 scalar ) where LocalT : Mutable<T1, LocalT, InT, OutT, RetT, StorageT> where InT : Immutable<T1, LocalT, InT, OutT, RetT, StorageT> where OutT : Mutable<T1, LocalT, InT, OutT, RetT, StorageT> where RetT : ConcreteRetArray<T1, LocalT, InT, OutT, RetT, StorageT> where StorageT : new(), BaseStorage<T1, LocalT, InT, OutT, RetT, StorageT>
Parameters
- A
- Type: ILNumerics.Core.Arrays.Mutable<T1, LocalT, InT, OutT, RetT, StorageT>
The array. - scalar
- Type: T1
The new value as scalar.
Type Parameters
- T1
- LocalT
- InT
- OutT
- RetT
- StorageT
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type Mutable<T1, LocalT, InT, OutT, RetT, StorageT>. 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
This function alters the source array and is only available for mutable array types.
[ILNumerics numpy Module]
See Also