Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ScalarSubtraction.cs
2{
6 public static partial class ArithmeticsOperations
7 {
13 public static void ScalarSubtraction(this Matrix<float> M, float Scalar)
14 {
15 M.ScalarAddition(-Scalar);
16 }
17
23 public static void ScalarSubtraction(this Matrix<int> M, int Scalar)
24 {
25 M.ScalarAddition(-Scalar);
26 }
27 }
28}
static void ScalarSubtraction(this Matrix< int > M, int Scalar)
Performs a scalar subtraction on each element in the matrix.
static void ScalarSubtraction(this Matrix< float > M, float Scalar)
Performs a scalar subtraction on each element in the matrix.
Implements a Matrix, basic component for computations in Image Processing and Computer Vision.
Definition: Matrix.cs:12