📄 linsolver.java
字号:
package org.jutil.math.matrix;/** * <p>A class of objects that solve linear systems of equations represented * as a matrix.</p> * * @path $Source: /cvsroot/org-jutil/jutil.org/src/org/jutil/math/matrix/LinSolver.java,v $ * @version $Revision: 1.4 $ * @date $Date: 2002/07/02 14:27:31 $ * @state $State: Exp $ * @author Marko van Dooren * @release $Name: $ */public interface LinSolver { /* The revision of this class */ public final static String CVS_REVISION ="$Revision: 1.4 $"; /** * Solve the system of linear equations as defined by * A * x = b * * @param A * The matrix containing the coefficients of the equation. * Each row represents an equation. The i-th element of a row * represents the coefficient of the i-th variable in the equation * represented by that row. * @param b * The column representing the right-hand sides of the equation. * The right-handig side of the i-th row is the i-th element of the * Column */ /*@ @ public behavior @ @ pre A != null; @ pre b != null; @ pre b.size() == A.getNbRows(); @ pre A.isSquare(); @ pre (* A is nonsingular *); @ @ // Aside from rounding errors, A * x = b @ post (* A.times(\result).equals(b) *); @*/ public Column solve(Matrix A, Column b);}/*<copyright>Copyright (C) 1997-2002. This software is copyrighted by the people and entities mentioned after the "@author" tags above, on behalf of the JUTIL.ORG Project. The copyright is dated by the dates after the "@date" tags above. All rights reserved.This software is published under the terms of the JUTIL.ORG SoftwareLicense version 1.1 or later, a copy of which has been included withthis distribution in the LICENSE file, which can also be found athttp://org-jutil.sourceforge.net/LICENSE. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the JUTIL.ORG Software License for more details.For more information, please see http://org-jutil.sourceforge.net/</copyright>*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -