コード例 #1
0
ファイル: Vector.cs プロジェクト: Oblikovati/CascadeSharp
        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
ファイル: Vector.cs プロジェクト: Oblikovati/CascadeSharp
        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();
 }
コード例 #9
0
 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();
 }
コード例 #11
0
 public bool Values(Vector X, Vector F, math_Matrix D)
 {
     throw new NotImplementedException();
 }
コード例 #12
0
 public bool Derivatives(Vector X, math_Matrix D)
 {
     throw new NotImplementedException();
 }
コード例 #13
0
ファイル: Vector.cs プロジェクト: Oblikovati/CascadeSharp
 public void TMultiply(Vector theLeft, math_Matrix theTRight)
 {
     Multiply(theLeft, theTRight);
 }
コード例 #14
0
ファイル: Vector.cs プロジェクト: Oblikovati/CascadeSharp
 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
ファイル: math_SVD.cs プロジェクト: Oblikovati/CascadeSharp
 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();
 }