org.matheclipse.core.expression
Class Matrix
- java.lang.Object
-
- org.matheclipse.core.expression.ASTDelegate
-
- org.matheclipse.core.expression.Matrix
-
public class Matrix extends ASTDelegate
-
-
Constructor Summary
Constructors Constructor and Description Matrix(IAST ast, int columns)Matrix(int[][] values)Matrix(int rows, int columns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanequals(java.lang.Object obj)IExprgetAt(int row, int column)intgetColumns()Get the number of columns in this matrixinthashCode()Matrixminus(Matrix that)Matrixmultiply(Matrix that)Matrixplus(Matrix that)Matrixpower(java.lang.Integer n)IExprsetAt(int row, int column, IExpr value)Set the value atrow, columnposition.-
Methods inherited from class org.matheclipse.core.expression.ASTDelegate
getAST, getAt, getRows, size, toFullForm, toString
-
-
-
-
Constructor Detail
-
Matrix
public Matrix(IAST ast, int columns)
-
Matrix
public Matrix(int rows, int columns)
-
Matrix
public Matrix(int[][] values)
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
getAt
public IExpr getAt(int row, int column)
-
setAt
public IExpr setAt(int row, int column, IExpr value)
Set the value atrow, columnposition.- Parameters:
row-column-value-- Returns:
-
getColumns
public int getColumns()
Get the number of columns in this matrix- Returns:
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
power
public Matrix power(java.lang.Integer n)
-
-
DMelt 3.0 © DataMelt by jWork.ORG