Tensor<T> Class

Represents a multi-dimensional array of elements of the same type.

Definition

Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.0
C#
public abstract class Tensor<T> : ITensor, 
	IEnumerable<T>, IEnumerable, IEquatable<Tensor<T>>, IStructuralComparable, 
	IStructuralEquatable, IFormattable
Inheritance
Object  →  Tensor<T>
Implements
ITensor, IEnumerable<T>, IEnumerable, IStructuralComparable, IStructuralEquatable, IEquatable<Tensor<T>>, IFormattable

Type Parameters

T
The type of the elements.

Constructors

Tensor<T>() Constructs a new tensor.
Tensor<T>(SerializationInfo, StreamingContext) Constructs a new tensor from serialization data.

Properties

Attributes Gets attributes associated with the tensor.
BackEnd Gets the set of operators for tensors of this element type.
CompressedAxis Gets the axis or dimension along which elements are compressed.
ElementType Gets the type of the elements of the tensor.
FlattenedLength Gets the total number of elements in the tensor.
HasLinearAlgebra Gets whether the tensor's element type supports basic linear algebra operations.
IsCompressed Gets whether the elements of the tensor are compressed along a dimension.
IsContiguous Gets whether the elements of the tensor are stored contiguously.
IsCStyle Gets whether the elements of the tensor are stored in contiguous C-style order, with the last index changing fastest.
IsFortranStyle Gets whether the elements of the tensor are stored in contiguous Fortran-style order, with the first index changing fastest.
IsScalar Gets whether the tensor represents a scalar.
Item[AdvancedTensorIndex] Gets or sets the elements of a tensor specified by an 'advanced' tensor index.
Item[AdvancedTensorIndex[]] Gets or sets the elements of a tensor specified by a set of tensor indices.
Item[ReadOnlySpan<TensorIndex>] Gets or sets the elements of a tensor specified by a set of tensor indices.
Item[Tensor<Boolean>] Gets or sets the elements whose corresponding value in a boolean tensor is true.
Item[TensorIndex] Gets or sets the elements of a tensor specified by a tensor index.
Item[TensorIndex[]] Gets or sets the elements of a tensor specified by a set of tensor indices.
Item[AdvancedTensorIndex, AdvancedTensorIndex] Gets or sets the elements of a tensor specified by two 'advanced' tensor indices.
Item[TensorIndex, TensorIndex] Gets or sets the elements of a tensor specified by two tensor indices.
Item[AdvancedTensorIndex, AdvancedTensorIndex, AdvancedTensorIndex] Gets or sets the elements of a tensor specified by three 'advanced' tensor indices.
Item[TensorIndex, TensorIndex, TensorIndex] Gets or sets the elements of a tensor specified by three tensor indices.
Layout Gets the layout of the tensor in memory.
Precedence Infrastructure. This property supports the Numerics.NET infrastructure and is not intended to be used directly from your code.
Rank Gets the number of dimensions of the tensor.
Shape Gets the shape (dimensions) of the tensor.
Value Gets the value of the first element in the tensor.

Methods

AbsInPlace Computes the absolute value of the elements of a tensor in place.
AcoshInPlace Computes the inverse hyperbolic cosine of the elements of a tensor in place.
AcosInPlace Computes the inverse cosine of the elements of a tensor in place.
AddInPlace(T, Tensor<Boolean>) Adds a tensor and a scalar in-place.
AddInPlace(Tensor<T>, Tensor<Boolean>) Adds two tensors in place.
All<TPredicate>(TPredicate, Tensor<Boolean>, Boolean) Computes whether all elements of the tensor satisfy the specified predicate.
All<TPredicate>(TPredicate, Axes, Tensor<Boolean>, Boolean, Tensor<Boolean>, Boolean, TensorElementOrder) Computes whether all elements of the tensor along the specified axis satisfy the specified predicate.
AndInPlace(T, Tensor<Boolean>) Computes the bitwise and of a tensor and a scalar in-place.
AndInPlace(Tensor<T>, Tensor<Boolean>) Computes the bitwise and of two tensors in place.
Any<TPredicate>(TPredicate, Tensor<Boolean>, Boolean) Computes whether any elements of the tensor satisfy the specified predicate.
Any<TPredicate>(TPredicate, Axes, Tensor<Boolean>, Boolean, Tensor<Boolean>, Boolean, TensorElementOrder) Computes whether any elements of the tensor along the specified axis satisfy the specified predicate.
As<U>() Casts the tensor as a tensor of the specified type.
As<U, TTransform>() Casts the tensor as a tensor of the specified type.
AsinhInPlace Computes the inverse hyperbolic sine of the elements of a tensor in place.
AsinInPlace Computes the inverse sine of the elements of a tensor in place.
AsMatrix Returns the tensor as a matrix.
AsVector Returns the tensor as a vector.
Atan2InPlace(T, Tensor<Boolean>) Computes the inverse tangent of the elements of a tensor and a scalar. in-place.
Atan2InPlace(Tensor<T>, Tensor<Boolean>) Computes the inverse tangent of the elements of two tensors in place.
AtanhInPlace Computes the inverse hyperbolic tangent of the elements of a tensor in place.
AtanInPlace Computes the inverse tangent of the elements of a tensor in place.
BroadcastTo Broadcasts the current tensor into the specified shape
CeilingInPlace Computes the smallest integer that is not greater than the elements of a tensor in place.
CloneEmpty(TensorElementOrder) Returns a tensor of the same shape and order of elements as this tensor.
CloneEmpty<U>(TensorElementOrder) Returns a tensor of the same shape and order of elements as this tensor.
Copy Returns a copy of the tensor.
CopyFrom Copies the contents of this tensor to another tensor.
CopyTo Copies the contents of this tensor to another tensor.
CoshInPlace Computes the hyperbolic cosine of the elements of a tensor in place.
CosInPlace Computes the cosine of the elements of a tensor in place.
CumulativeProductInPlace Computes the cumulative product of the elements of a tensor in place.
CumulativeSumInPlace Computes the cumulative sum of the elements of a tensor in place.
DivideInPlace(T, Tensor<Boolean>) Divides a tensor by a scalar in-place.
DivideInPlace(Tensor<T>, Tensor<Boolean>) Divides one tensor by another in place.
Equals(Object)Determines whether the specified object is equal to the current object.
(Overrides Object.Equals(Object))
Equals(Tensor<T>)Indicates whether the current object is equal to another object of the same type.
Equals(Tensor<T>, IEqualityComparer)Determines whether an object is structurally equal to the current instance.
Exp10InPlace Computes the exponential function (base 10) of the elements of a tensor in place.
Exp2InPlace Computes the exponential function (base 2) of the elements of a tensor in place.
ExpInPlace Computes the exponential function of the elements of a tensor in place.
ExpM1InPlace Computes the exponential function of the elements of a tensor in place.
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Find() Gets the linearized indexes of the elements of the tensor that are not zero.
Find(Func<T, Boolean>) Gets the linearized indexes where the elements of the tensor satisfy the specified predicate.
FloorInPlace Computes the largest integer that is not less than the elements of a tensor in place.
GetDiagonal Gets the elements on the diagonal of a 2-dimensional tensor.
GetEnumerator Gets an enumerator for the tensor.
GetHashCode Returns the hash code for this tensor.
(Overrides Object.GetHashCode())
GetLength(Index) Gets the length of the tensor along the specified axis.
GetLength(Int32) Gets the length of the tensor along the specified axis.
GetMatrices Gets a sequence of the matrices formed by the last two dimensions of the tensor.
GetTypeGets the Type of the current instance.
(Inherited from Object)
GetValue(Index) Gets the value at the specified position in a 1D tensor.
GetValue(Index[]) Gets the element at the specified position.
GetValue(Int32) Gets the value at the specified index in a 1D tensor.
GetValue(Int32[]) Gets the element at the specified position.
GetValue(ReadOnlySpan<Index>) Gets the element at the specified position.
GetValue(ReadOnlySpan<Int32>) Gets the element at the specified position.
GetValue(Index, Index) Gets the value at the specified position in a 2D tensor.
GetValue(Int32, Int32) Gets the value at the specified position in a 2D tensor.
GetValue(Index, Index, Index) Gets the value at the specified position in a 3D tensor.
GetValue(Int32, Int32, Int32) Gets the value at the specified position in a 2D tensor.
GetValue(Index, Index, Index, Index) Gets the value at the specified position in a 4D tensor.
GetValue(Int32, Int32, Int32, Int32) Gets the value at the specified position in a 4D tensor.
GetValueAt Gets the element at the specified position.
HypotInPlace(T, Tensor<Boolean>) Computes the square root of the sum of the squares of the elements of a tensor and a scalar. in-place.
HypotInPlace(Tensor<T>, Tensor<Boolean>) Computes the square root of the sum of the squares of the elements of two tensors in place.
InsertAxis(Index) Inserts a singleton dimension at the specified position.
InsertAxis(Int32) Inserts a singleton dimension at the specified position.
LeftShiftInPlace(Int32, Tensor<Boolean>) Shifts the elements of a tensor to the left. in-place.
LeftShiftInPlace(Tensor<Int32>, Tensor<Boolean>) Shifts the elements of a tensor to the left in place.
Log10InPlace Computes the base 10 logarithm of the elements of a tensor in place.
Log1pInPlace Computes the logarithm of the elements of a tensor in place.
Log2InPlace Computes the base 2 logarithm of the elements of a tensor in place.
LogInPlace Computes the logarithm of the elements of a tensor in place.
Map<TResult> Applies a function to the elements of the tensor and returns the result in a second tensor.
MapInPlace Applies a function to the elements of a tensor in-place.
MaxInPlace(T, Tensor<Boolean>) Computes the maximum of the elements of a tensor and a scalar. in-place.
MaxInPlace(Tensor<T>, Tensor<Boolean>) Computes the largest of corresponding elements of two tensors in place.
MaxNumberInPlace(T, Tensor<Boolean>) Computes the maximum of the elements of a tensor and a scalar. in-place.
MaxNumberInPlace(Tensor<T>, Tensor<Boolean>) Computes the largest of corresponding elements of two tensors without propagating NaN's (where applicable) in place.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
MinInPlace(T, Tensor<Boolean>) Computes the minimum of the elements of a tensor and a scalar. in-place.
MinInPlace(Tensor<T>, Tensor<Boolean>) Computes the smallest of corresponding elements of two tensors in place.
MinNumberInPlace(T, Tensor<Boolean>) Computes the minimum of the elements of a tensor and a scalar. in-place.
MinNumberInPlace(Tensor<T>, Tensor<Boolean>) Computes the smallest of corresponding elements of two tensors without propagating NaN's (where applicable) in place.
ModulusInPlace(T, Tensor<Boolean>) Computes the remainder after dividing a tensor by a scalar in-place.
ModulusInPlace(Tensor<T>, Tensor<Boolean>) Returns the remainder after dividing one tensor by another in place.
MoveAxes(Int32[]) Moves a set of axes to new positions in a tensor.
MoveAxes(ReadOnlySpan<Int32>) Moves a set of axes to new positions in a tensor.
MoveAxes(Int32[], Int32[]) Moves a set of axes to new positions in a tensor.
MoveAxes(ReadOnlySpan<Int32>, ReadOnlySpan<Int32>) Moves a set of axes to new positions in a tensor.
MoveAxis Moves an axis to a new position in a tensor.
MultiplyInPlace(T, Tensor<Boolean>) Multiplies a tensor and a scalar in-place.
MultiplyInPlace(Tensor<T>, Tensor<Boolean>) Multiplies two tensors in place.
NegateInPlace Negates a tensor in place.
NotInPlace Computes the bitwise complement of a tensor in place.
OrInPlace(T, Tensor<Boolean>) Computes the bitwise or of a tensor and a scalar in-place.
OrInPlace(Tensor<T>, Tensor<Boolean>) Computes the bitwise or of two tensors in place.
PowInPlace(Int32, Tensor<Boolean>) Raises the elements of a tensor to an integer power. in-place.
PowInPlace(T, Tensor<Boolean>) Raises the elements of a tensor to a power. in-place.
PowInPlace(Tensor<T>, Tensor<Boolean>) Raises the elements of a tensor to a power in place.
PowInPlace(Tensor<Int32>, Tensor<Boolean>) Raises the elements of a tensor to an integer power in place.
ReciprocalInPlace Computes the reciprocal of the elements of a tensor in place.
RemoveSingletonAxis(Index) Returns a tensor with the same values but with the specified unit dimension removed.
RemoveSingletonAxis(Int32) Returns a tensor with the same values but with the specified unit dimension removed.
Reshape(Int32[]) Reshapes the tensor to have the specified dimensions.
Reshape(TensorShape, TensorElementOrder) Reshapes the tensor to have the specified dimensions.
RightShiftInPlace(Int32, Tensor<Boolean>) Shifts the elements of a tensor to the right. in-place.
RightShiftInPlace(Tensor<Int32>, Tensor<Boolean>) Shifts the elements of a tensor to the right in place.
RoundInPlace(Int32, Tensor<Boolean>) Rounds the elements of a tensor to the specified number of digits. in-place.
RoundInPlace(Tensor<Int32>, Tensor<Boolean>) Rounds the elements of a tensor to the specified number of digits in place.
SetValue(T, Tensor<Boolean>) Sets all elements of the tensor to the specified value.
SetValue(T, Index) Sets the value at the specified index in a 1D tensor.
SetValue(T, Index[]) Sets the element at the specified position to the specified value.
SetValue(T, Int32) Sets the value at the specified index in a 1D tensor.
SetValue(T, Int32[]) Sets the element at the specified position to the specified value.
SetValue(T, ReadOnlySpan<Index>) Sets the element at the specified position to the specified value.
SetValue(T, ReadOnlySpan<Int32>) Sets the element at the specified position to the specified value.
SetValue(T, Index, Index) Sets the value at the specified position in a 2D tensor.
SetValue(T, Int32, Int32) Sets the value at the specified position in a 2D tensor.
SetValue(T, Index, Index, Index) Sets the value at the specified position in a 3D tensor.
SetValue(T, Int32, Int32, Int32) Sets the value at the specified position in a 3D tensor.
SetValue(T, Index, Index, Index, Index) Sets the value at the specified position in a 4D tensor.
SetValue(T, Int32, Int32, Int32, Int32) Sets the value at the specified position in a 4D tensor.
SetValueAt Sets the element at the specified linear position to the specified value.
SinhInPlace Computes the hyperbolic sine of the elements of a tensor in place.
SinInPlace Computes the sine of the elements of a tensor in place.
SortInPlace(Index, Tensor<Boolean>) Sorts the elements of a tensor in place.
SortInPlace(Index, IComparer<T>, Tensor<Boolean>) Sorts the elements of a tensor in place.
SqrtInPlace Computes the square root of the elements of a tensor in place.
SubtractInPlace(T, Tensor<Boolean>) Subtracts a scalar from a scalar in-place.
SubtractInPlace(Tensor<T>, Tensor<Boolean>) Subtracts one tensor from another in place.
SwapAxes(Index, Index) Interchanges two axes of the tensor.
SwapAxes(Int32, Int32) Interchanges two axes of the tensor.
TanhInPlace Computes the hyperbolic tangent of the elements of a tensor in place.
TanInPlace Computes the tangent of the elements of a tensor in place.
ToArray Gets the elements of the tensor as an array in the specified order.
ToString()Returns a string that represents the current object.
(Overrides Object.ToString())
ToString(String) Converts the numeric value of this tensor instance to its equivalent string representation, using the specified format.
ToString(String, IFormatProvider) Returns a String representation of this tensor.
Transform<TResult>(Func<T, TResult>) Returns a tensor that lazily applies the specified operation to each element of the current tensor.
Transform<TTransformation, TResult>(TTransformation) Returns a tensor that lazily applies the specified operation to each element of the current tensor.
Transpose Swaps the last two dimensions of the tensor and returns the result.
TruncateInPlace Truncates the elements of a tensor to the nearest integer in place.
XorInPlace(T, Tensor<Boolean>) Computes the bitwise xor of a tensor and a scalar in-place.
XorInPlace(Tensor<T>, Tensor<Boolean>) Computes the bitwise xor of two tensors in place.

Operators

Addition(T, Tensor<T>) Adds a scalar and a tensor.
Addition(Tensor<T>, T) Adds a tensor and a scalar.
Addition(Tensor<T>, Tensor<T>) Adds two tensors.
BitwiseAnd(T, Tensor<T>) Computes the bitwise and of a scalar and a tensor.
BitwiseAnd(Tensor<T>, T) Computes the bitwise and of a tensor and a scalar.
BitwiseAnd(Tensor<T>, Tensor<T>) Computes the bitwise and of two tensors.
BitwiseOr(T, Tensor<T>) Computes the bitwise or of a scalar and a tensor.
BitwiseOr(Tensor<T>, T) Computes the bitwise or of a tensor and a scalar.
BitwiseOr(Tensor<T>, Tensor<T>) Computes the bitwise or of two tensors.
Division(T, Tensor<T>) Divides a scalar by a tensor.
Division(Tensor<T>, T) Divides a tensor by a scalar.
Division(Tensor<T>, Tensor<T>) Divides one tensor by another.
Equality(T, Tensor<T>) Compares a scalar and a tensor for equality..
Equality(Tensor<T>, T) Compares a tensor and a scalar for equality..
Equality(Tensor<T>, Tensor<T>) Determines whether two tensors are equal.
ExclusiveOr(T, Tensor<T>) Computes the bitwise xor of a scalar and a tensor.
ExclusiveOr(Tensor<T>, T) Computes the bitwise xor of a tensor and a scalar.
ExclusiveOr(Tensor<T>, Tensor<T>) Computes the bitwise xor of two tensors.
Explicit(T to Tensor<T>) Implicitly converts a scalar value to a 0-dimensional scalar tensor.
Explicit(T[] to Tensor<T>) Implicitly converts an array to a 1-dimensional scalar tensor.
Explicit(T[,,] to Tensor<T>) Implicitly converts an array to a 3-dimensional scalar tensor.
Explicit(T[,] to Tensor<T>) Implicitly converts an array to a 2-dimensional scalar tensor.
Explicit(Tensor<T> to T) Converts a scalar (0-dimensional) tensor to the corresponding scalar value.
GreaterThan(T, Tensor<T>) Returns whether a scalar are greater than the elements of a tensor..
GreaterThan(Tensor<T>, T) Returns whether the elements of a tensor are greater than a scalar..
GreaterThan(Tensor<T>, Tensor<T>) Returns whether the elements of one tensor are greater than the corresponding elements of another tensor..
GreaterThanOrEqual(T, Tensor<T>) Returns whether a scalar are greater than or equal to the elements of a tensor..
GreaterThanOrEqual(Tensor<T>, T) Returns whether the elements of a tensor are greater than or equal to a scalar..
GreaterThanOrEqual(Tensor<T>, Tensor<T>) Returns whether the elements of one tensor are less than or equal to the corresponding elements of another tensor..
Inequality(T, Tensor<T>) Compares a scalar and a tensor for inequality..
Inequality(Tensor<T>, T) Compares a tensor and a scalar for inequality..
Inequality(Tensor<T>, Tensor<T>) Determines whether two tensors are not equal.
LeftShift(Tensor<T>, Int32) Shifts the elements of a tensor to the left..
LessThan(T, Tensor<T>) Returns whether a scalar are less than the elements of a tensor..
LessThan(Tensor<T>, T) Returns whether the elements of a tensor are less than a scalar..
LessThan(Tensor<T>, Tensor<T>) Returns whether the elements of one tensor are less than the corresponding elements of another tensor..
LessThanOrEqual(T, Tensor<T>) Returns whether a scalar are less than or equal to the elements of a tensor..
LessThanOrEqual(Tensor<T>, T) Returns whether the elements of a tensor are less than or equal to a scalar..
LessThanOrEqual(Tensor<T>, Tensor<T>) Returns whether the elements of one tensor are less than or equal to the corresponding elements of another tensor..
Modulus(T, Tensor<T>) Computes the remainder after dividing a scalar by a tensor.
Modulus(Tensor<T>, T) Computes the remainder after dividing a tensor by a scalar.
Modulus(Tensor<T>, Tensor<T>) Returns the remainder after dividing one tensor by another.
Multiply(T, Tensor<T>) Multiplies a scalar and a tensor.
Multiply(Tensor<T>, T) Multiplies a tensor and a scalar.
Multiply(Tensor<T>, Tensor<T>) Multiplies two tensors.
OnesComplement(Tensor<T>) Computes the bitwise complement of a tensor.
RightShift(Tensor<T>, Int32) Shifts the elements of a tensor to the right..
Subtraction(T, Tensor<T>) Subtracts a tensor from a tensor.
Subtraction(Tensor<T>, T) Subtracts a scalar from a scalar.
Subtraction(Tensor<T>, Tensor<T>) Subtracts one tensor from another.
UnaryNegation(Tensor<T>) Negates a tensor.

Fields

Empty Gets an empty (rank -1) tensor.
NaN A read-only scalar tensor that represents Not-a-Number.
NegativeInfinity A read-only scalar tensor that represents negative infinity.
One A read-only scalar tensor that represents the number one.
PositiveInfinity A read-only scalar tensor that represents positive infinity.
Zero A read-only scalar tensor that represents the number zero.

Extension Methods

AbsoluteMax<T> Computes the element with the largest absolute value of a tensor.
(Defined by Tensor)
AbsoluteMax<T> Computes the element with the largest absolute value of a tensor.
(Defined by Tensor)
AbsoluteMaxIndex<T> Computes the index of the elements of a tensor with the largest absolute value along the specified axis.
(Defined by Tensor)
AbsoluteMin<T> Computes the element with the smallest absolute value of a tensor.
(Defined by Tensor)
AbsoluteMin<T> Computes the element with the smallest absolute value of a tensor.
(Defined by Tensor)
AbsoluteMinIndex<T> Computes the index of the elements of a tensor with the smallest absolute value along the specified axis.
(Defined by Tensor)
Correlation<T> Computes the correlation of the corresponding elements of two tensors.
(Defined by Tensor)
CosineSimilarity<T> Computes the cosine similarity of the corresponding elements of two tensors.
(Defined by Tensor)
Covariance<T> Computes the covariance of the corresponding elements of two tensors.
(Defined by Tensor)
DotProduct<T> Computes the dot product of the corresponding elements of two tensors.
(Defined by Tensor)
EuclideanDistance<T> Computes the Euclidean distance of the corresponding elements of two tensors.
(Defined by Tensor)
Group<T> Returns a grouping by the unique elements in a sequence.
(Defined by Grouping)
Group<T> Returns a grouping by the unique elements in a sequence using the specified comparer to determine equality.
(Defined by Grouping)
Max<T> Computes the maxima of the elements of a tensor along the specified axis.
(Defined by Tensor)
MaxIndex<T> Computes the index of the largest elements of a tensor along the specified axis.
(Defined by Tensor)
MaxValue<T> Computes the largest element of a tensor.
(Defined by Tensor)
MaxValue<T> Computes the largest element of a tensor.
(Defined by Tensor)
Mean<T> Computes the mean of the elements of a tensor.
(Defined by Tensor)
Mean<T> Computes the mean of the elements of a tensor.
(Defined by Tensor)
Median<T> Computes the mean of the elements of a tensor.
(Defined by Tensor)
Median<T> Computes the mean of the elements of a tensor.
(Defined by Tensor)
Min<T> Computes the minima of the elements of a tensor along the specified axis.
(Defined by Tensor)
MinIndex<T> Computes the index of the smallest elements of a tensor along the specified axis.
(Defined by Tensor)
MinValue<T> Computes the smallest element of a tensor.
(Defined by Tensor)
MinValue<T> Computes the smallest element of a tensor.
(Defined by Tensor)
Norm<T> Computes the two-norm of the elements of a tensor.
(Defined by Tensor)
Norm<T> Computes the two-norm of the elements of a tensor.
(Defined by Tensor)
OneNorm<T> Computes the sum of the absolute values of the elements of a tensor.
(Defined by Tensor)
OneNorm<T> Computes the sum of the absolute values of the elements of a tensor.
(Defined by Tensor)
Product<T> Computes the product of the elements of a tensor.
(Defined by Tensor)
Product<T> Computes the product of the elements of a tensor.
(Defined by Tensor)
StandardDeviation<T> Returns the standard deviation of the elements of a sequence.
(Defined by Stats)
StandardDeviation<T> Computes the standard deviation of the elements of a tensor.
(Defined by Tensor)
StandardDeviation<T> Computes the standard deviation of the elements of a tensor.
(Defined by Tensor)
Sum<T> Computes the sum of the sequence of values.
(Defined by ArrayMath)
Sum<T> Computes the sum of the elements of a tensor.
(Defined by Tensor)
Sum<T> Computes the sum of the elements of a tensor.
(Defined by Tensor)
Sum<T, U> Computes the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence.
(Defined by ArrayMath)
Variance<T> Computes the variance of the elements of a tensor.
(Defined by Tensor)
Variance<T> Computes the variance of the elements of a tensor.
(Defined by Tensor)

See Also