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