Module ope

Module ope 

Source
Expand description

Definition and implementation of various operations on Units

Traitsยง

Abs
Trait to return absolute value
Arithmetic
Type indicating support for four arithmetic operations
Bias
Trait to calculate bias
Exp
Trait that returns the result of applying exp
Infinity
Trait that returns infinity defined on the type
InitialMaxValue
Trait to calculate the initial value defined for the type
IsNaN
NaN or not? Trait that returns the
Ln
Trait that returns the natural logarithm
Max
Trait to calculate max
MaxValue
Trait to calculate the maximum value defined for the type
Min
Trait to calculate min
Neginfinity
Trait that returns negative infinity defined on the type
One
Trait that returns 1 of that type
Product
Trait defining the operation of the product of matrices
Sqrt
Trait that returns the result of applying sqrt
Sum
Type that represents the sum of elements
Tanh
Trait that returns the result of applying tanh
UnitValue
Trait to consolidate traits that define various operations in the unit