ArrayFunctions<T>.Ceiling Method

Definition

Namespace: Numerics.NET.LinearAlgebra.Implementation
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3

Overload List

Ceiling(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>) Computes the smallest integer greater than or equal to each element of a span.
Ceiling(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32) Computes the smallest integer greater than or equal to each element of a span.
Ceiling<TStorage>(Int32, TStorage, TStorage) Computes the smallest integer greater than or equal to each element of an array.

Ceiling(Int32, ReadOnlySpanSlice<T>, SpanSlice<T>)

Computes the smallest integer greater than or equal to each element of a span.
C#
public void Ceiling(
	int length,
	ReadOnlySpanSlice<T> operand,
	SpanSlice<T> result
)

Parameters

length  Int32
The number of elements in the span.
operand  ReadOnlySpanSlice<T>
The span that holds the operands.
result  SpanSlice<T>
The span that holds the results.

Ceiling<TStorage>(Int32, TStorage, TStorage)

Computes the smallest integer greater than or equal to each element of an array.
C#
public void Ceiling<TStorage>(
	int length,
	TStorage operand,
	TStorage result
)
where TStorage : Object, IStorageSlice<T>

Parameters

length  Int32
The number of elements in the array.
operand  TStorage
The array that holds the operands.
result  TStorage
The array that holds the results.

Type Parameters

TStorage

Ceiling(Int32, ReadOnlySpan<T>, Int32, Span<T>, Int32)

Computes the smallest integer greater than or equal to each element of a span.
C#
public abstract void Ceiling(
	int length,
	ReadOnlySpan<T> operand,
	int stride,
	Span<T> result,
	int resultStride
)

Parameters

length  Int32
The number of elements in the span.
operand  ReadOnlySpan<T>
The span that holds the operands.
stride  Int32
The distance between elements in operand.
result  Span<T>
The span that holds the results.
resultStride  Int32
The distance between elements in result.

See Also