Esempio 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++;
            }
        }
Esempio 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);
        }
Esempio n. 3
0
 public math_Crout(math_Matrix A)
     : base()
 {
     throw new NotImplementedException();
 }
Esempio n. 4
0
 public math_GaussLeastSquare(math_Matrix A)
     : base()
 {
     throw new NotImplementedException();
 }
Esempio n. 5
0
 public math_Matrix(math_Matrix Other)
     : base()
 {
     throw new NotImplementedException();
 }
Esempio n. 6
0
 public void Multiply(math_Matrix Right)
 {
     throw new NotImplementedException();
 }
Esempio n. 7
0
 public void Subtract(math_Matrix Left, math_Matrix Right)
 {
     throw new NotImplementedException();
 }
Esempio n. 8
0
 public math_Matrix Subtracted(math_Matrix Right)
 {
     throw new NotImplementedException();
 }
 public math_Householder(math_Matrix A, math_Matrix B, double EPS)
     : base()
 {
     throw new NotImplementedException();
 }
Esempio 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();
 }
Esempio n. 13
0
 public void TMultiply(Vector theLeft, math_Matrix theTRight)
 {
     Multiply(theLeft, theTRight);
 }
Esempio n. 14
0
 public void TMultiply(math_Matrix theTLeft, Vector theRight)
 {
     Multiply(theTLeft, theRight);
 }
Esempio 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();
 }
Esempio n. 16
0
 public math_Householder(math_Matrix A, math_Matrix B, int lowerArow, int upperArow, int lowerAcol,
                         int upperAcol)
     : base()
 {
     throw new NotImplementedException();
 }
Esempio n. 17
0
 public math_Uzawa(math_Matrix Cont, Vector Secont, Vector StartingPoint, int Nci, int Nce)
     : base()
 {
     throw new NotImplementedException();
 }
Esempio n. 18
0
 public math_Householder(math_Matrix A, Vector B)
     : base()
 {
     throw new NotImplementedException();
 }
Esempio n. 19
0
 public void Set(int I1, int I2, int J1, int J2, math_Matrix M)
 {
     throw new NotImplementedException();
 }
Esempio n. 20
0
 public void Perform(math_Matrix A, math_Matrix B, double EPS)
 {
     throw new NotImplementedException();
 }
Esempio n. 21
0
 public math_Matrix Initialized(math_Matrix Other)
 {
     throw new NotImplementedException();
 }
Esempio n. 22
0
 public void Derivative(math_Matrix Der)
 {
     throw new NotImplementedException();
 }
Esempio n. 23
0
 public math_Matrix Multiplied(math_Matrix Right)
 {
     throw new NotImplementedException();
 }
Esempio n. 24
0
 public void PseudoInverse(math_Matrix Inv)
 {
     throw new NotImplementedException();
 }
Esempio n. 25
0
 public math_Gauss(math_Matrix A, double MinPivot, Message_ProgressRange theProgress)
     : base()
 {
     throw new NotImplementedException();
 }
Esempio 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();
 }
Esempio n. 27
0
 public math_Crout(math_Matrix A, double MinPivot)
     : base()
 {
     throw new NotImplementedException();
 }
Esempio n. 28
0
 public void Perform(math_Matrix Cont, Vector Secont, Vector StartingPoint, int Nci, int Nce)
 {
     throw new NotImplementedException();
 }
Esempio n. 29
0
 public void Invert(math_Matrix Inv)
 {
     throw new NotImplementedException();
 }
Esempio n. 30
0
 public bool Values(Vector X, ref double F, Vector G, math_Matrix H)
 {
     throw new NotImplementedException();
 }