Exemplo n.º 1
0
        public void Multiply(math_Matrix theLeft, Vector theRight)
        {
            if ((Length() != theLeft.RowNumber()) || (theLeft.ColNumber() != theRight.Length()))
            {
                throw new ArgumentOutOfRangeException(nameof(theLeft),
                                                      "Vector::Multiply() - input matrix and/or vector have wrong dimensions");
            }

            var Index = Lower();

            for (var I = theLeft.LowerRowIndex; I <= theLeft.UpperRowIndex; I++)
            {
                this[Index] = 0.0;
                var K = theRight.Lower();
                for (var J = theLeft.LowerColIndex; J <= theLeft.UpperColIndex; J++)
                {
                    this[Index] = this[Index] + theLeft.Array[I, J] * theRight[K];
                    K++;
                }
                Index++;
            }
        }
Exemplo n.º 2
0
        public Vector Multiplied(math_Matrix theRight)
        {
            if (Length() != theRight.RowNumber())
            {
                throw new ArgumentOutOfRangeException(nameof(theRight),
                                                      "Vector.Multiplied() - input matrix has wrong dimensions");
            }

            var Result = new Vector(theRight.LowerColIndex, theRight.UpperColIndex);

            for (var J2 = theRight.LowerColIndex; J2 <= theRight.UpperColIndex; J2++)
            {
                Result[J2] = 0.0;
                var theI2 = theRight.LowerRowIndex;
                for (var I = Lower(); I <= Upper(); I++)
                {
                    Result[J2] = Result[J2] + this[I] * theRight.Array[theI2, J2];
                    theI2++;
                }
            }
            return(Result);
        }
Exemplo n.º 3
0
 public math_Crout(math_Matrix A)
     : base()
 {
     throw new NotImplementedException();
 }
Exemplo n.º 4
0
 public math_GaussLeastSquare(math_Matrix A)
     : base()
 {
     throw new NotImplementedException();
 }
Exemplo n.º 5
0
 public math_Matrix(math_Matrix Other)
     : base()
 {
     throw new NotImplementedException();
 }
Exemplo n.º 6
0
 public void Multiply(math_Matrix Right)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 7
0
 public void Subtract(math_Matrix Left, math_Matrix Right)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 8
0
 public math_Matrix Subtracted(math_Matrix Right)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 9
0
 public math_Householder(math_Matrix A, math_Matrix B, double EPS)
     : base()
 {
     throw new NotImplementedException();
 }
Exemplo n.º 10
0
 public void Perform(math_MultipleVarFunction theFunction, Vector theStartingPoint,
                     math_Matrix theStartingDirections)
 {
     throw new NotImplementedException();
 }
 public bool Values(Vector X, Vector F, math_Matrix D)
 {
     throw new NotImplementedException();
 }
 public bool Derivatives(Vector X, math_Matrix D)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 13
0
 public void TMultiply(Vector theLeft, math_Matrix theTRight)
 {
     Multiply(theLeft, theTRight);
 }
Exemplo n.º 14
0
 public void TMultiply(math_Matrix theTLeft, Vector theRight)
 {
     Multiply(theTLeft, theRight);
 }
Exemplo n.º 15
0
 public math_Uzawa(math_Matrix Cont, Vector Secont, Vector StartingPoint, int Nci, int Nce,
                   double EpsLix, double EpsLic, int NbIterations)
     : base()
 {
     throw new NotImplementedException();
 }
Exemplo n.º 16
0
 public math_Householder(math_Matrix A, math_Matrix B, int lowerArow, int upperArow, int lowerAcol,
                         int upperAcol)
     : base()
 {
     throw new NotImplementedException();
 }
Exemplo n.º 17
0
 public math_Uzawa(math_Matrix Cont, Vector Secont, Vector StartingPoint, int Nci, int Nce)
     : base()
 {
     throw new NotImplementedException();
 }
Exemplo n.º 18
0
 public math_Householder(math_Matrix A, Vector B)
     : base()
 {
     throw new NotImplementedException();
 }
Exemplo n.º 19
0
 public void Set(int I1, int I2, int J1, int J2, math_Matrix M)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 20
0
 public void Perform(math_Matrix A, math_Matrix B, double EPS)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 21
0
 public math_Matrix Initialized(math_Matrix Other)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 22
0
 public void Derivative(math_Matrix Der)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 23
0
 public math_Matrix Multiplied(math_Matrix Right)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 24
0
 public void PseudoInverse(math_Matrix Inv)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 25
0
 public math_Gauss(math_Matrix A, double MinPivot, Message_ProgressRange theProgress)
     : base()
 {
     throw new NotImplementedException();
 }
Exemplo n.º 26
0
 public void Perform(math_Matrix Cont, Vector Secont, Vector StartingPoint, int Nci, int Nce,
                     double EpsLix, double EpsLic, int NbIterations)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 27
0
 public math_Crout(math_Matrix A, double MinPivot)
     : base()
 {
     throw new NotImplementedException();
 }
Exemplo n.º 28
0
 public void Perform(math_Matrix Cont, Vector Secont, Vector StartingPoint, int Nci, int Nce)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 29
0
 public void Invert(math_Matrix Inv)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 30
0
 public bool Values(Vector X, ref double F, Vector G, math_Matrix H)
 {
     throw new NotImplementedException();
 }