Returns a matrix whose elements are the maximum of the components of a matrix
and a real number.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static Matrix<T> MaxInto<T>(
this Matrix<T> matrix,
T value,
Matrix<T> result
)
<ExtensionAttribute>
Public Shared Function MaxInto(Of T) (
matrix As Matrix(Of T),
value As T,
result As Matrix(Of T)
) As Matrix(Of T)
public:
[ExtensionAttribute]
generic<typename T>
static Matrix<T>^ MaxInto(
Matrix<T>^ matrix,
T value,
Matrix<T>^ result
)
[<ExtensionAttribute>]
static member MaxInto :
matrix : Matrix<'T> *
value : 'T *
result : Matrix<'T> -> Matrix<'T>
Parameters
- matrix
- Type: Extreme.MathematicsMatrixT
A MatrixT. - value
- Type: T
A real number. - result
- Type: Extreme.MathematicsMatrixT
The matrix that is to hold the result. May be .
Type Parameters
- T
Return Value
Type:
MatrixTA matrix whose elements are the largest of the corresponding element
of
matrix and
value.
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
MatrixT. 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).
Reference