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++; } }
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); }
public math_Crout(math_Matrix A) : base() { throw new NotImplementedException(); }
public math_GaussLeastSquare(math_Matrix A) : base() { throw new NotImplementedException(); }
public math_Matrix(math_Matrix Other) : base() { throw new NotImplementedException(); }
public void Multiply(math_Matrix Right) { throw new NotImplementedException(); }
public void Subtract(math_Matrix Left, math_Matrix Right) { throw new NotImplementedException(); }
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(); }
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(); }
public void TMultiply(Vector theLeft, math_Matrix theTRight) { Multiply(theLeft, theTRight); }
public void TMultiply(math_Matrix theTLeft, Vector theRight) { Multiply(theTLeft, theRight); }
public math_Uzawa(math_Matrix Cont, Vector Secont, Vector StartingPoint, int Nci, int Nce, double EpsLix, double EpsLic, int NbIterations) : base() { throw new NotImplementedException(); }
public math_Householder(math_Matrix A, math_Matrix B, int lowerArow, int upperArow, int lowerAcol, int upperAcol) : base() { throw new NotImplementedException(); }
public math_Uzawa(math_Matrix Cont, Vector Secont, Vector StartingPoint, int Nci, int Nce) : base() { throw new NotImplementedException(); }
public math_Householder(math_Matrix A, Vector B) : base() { throw new NotImplementedException(); }
public void Set(int I1, int I2, int J1, int J2, math_Matrix M) { throw new NotImplementedException(); }
public void Perform(math_Matrix A, math_Matrix B, double EPS) { throw new NotImplementedException(); }
public math_Matrix Initialized(math_Matrix Other) { throw new NotImplementedException(); }
public void Derivative(math_Matrix Der) { throw new NotImplementedException(); }
public math_Matrix Multiplied(math_Matrix Right) { throw new NotImplementedException(); }
public void PseudoInverse(math_Matrix Inv) { throw new NotImplementedException(); }
public math_Gauss(math_Matrix A, double MinPivot, Message_ProgressRange theProgress) : base() { throw new NotImplementedException(); }
public void Perform(math_Matrix Cont, Vector Secont, Vector StartingPoint, int Nci, int Nce, double EpsLix, double EpsLic, int NbIterations) { throw new NotImplementedException(); }
public math_Crout(math_Matrix A, double MinPivot) : base() { throw new NotImplementedException(); }
public void Perform(math_Matrix Cont, Vector Secont, Vector StartingPoint, int Nci, int Nce) { throw new NotImplementedException(); }
public void Invert(math_Matrix Inv) { throw new NotImplementedException(); }
public bool Values(Vector X, ref double F, Vector G, math_Matrix H) { throw new NotImplementedException(); }