public interface IMatrix
| Modifier and Type | Method and Description |
|---|---|
void |
asolve(double[] b,
double[] x)
Solve Ad * x = b for the preconditioner matrix Ad.
|
void |
atx(double[] x,
double[] y)
y = A' * x
|
void |
atxpy(double[] x,
double[] y)
y = A' * x + y
|
void |
atxpy(double[] x,
double[] y,
double b)
y = A' * x + b * y
|
void |
ax(double[] x,
double[] y)
y = A * x
|
void |
axpy(double[] x,
double[] y)
y = A * x + y
|
void |
axpy(double[] x,
double[] y,
double b)
y = A * x + b * y
|
double |
get(int i,
int j)
Returns the entry value at row i and column j.
|
int |
ncols()
Returns the number of columns.
|
int |
nrows()
Returns the number of rows.
|
IMatrix |
set(int i,
int j,
double x)
Set the entry value at row i and column j.
|
int nrows()
int ncols()
double get(int i,
int j)
IMatrix set(int i, int j, double x)
void ax(double[] x,
double[] y)
void axpy(double[] x,
double[] y)
void axpy(double[] x,
double[] y,
double b)
void atx(double[] x,
double[] y)
void atxpy(double[] x,
double[] y)
void atxpy(double[] x,
double[] y,
double b)
void asolve(double[] b,
double[] x)
Copyright © 2015. All rights reserved.